29. Import (UI)

To test in: Insight

Purpose of the test is to check all the features of Importer UI as started from Insight

Find suitable images here [TestingSet] or here [TestingTemplate]

NB: Data Manager == The main window of Insight UI

  1. Select single image files

    • Add them to the queue by pressing the “>” control.

    • Select “New From Folder” option [ImportUI001] when choosing where to import the images.

    • Check that a new Dataset will be created with the name of the folder.

    • Check that the icon of the Dataset (right-hand side of the Import window) is light blue, not plum color as for Project [ImportUI002]

    • Click import.

    • Go to the Data Manager (=Main Insight UI window).

      • Check that the wheel in the toolbar is spinning when import in progress [ImportUI004b]

      • Check that the number next to green tick is incremented when an import is finished successfully.

    • Still in the Data Manager (left-hand side), hit the refresh button - Check that only one dataset is created. [ImportUI003]

  2. After any finished import in this scenario, in the Importer Window (perform these checks briefly for each import but for one import of your choice thoroughly):

    • Check that thumbnail(s) is(are) created.

    • Check that clicking on the thumbnail(s) opens the image in Viewer. In case of a multi-image file [ImportUI013b], click on every thumbnail in the row.

    • Check the View menu: [ImportUI013c].

      • Check that the In Full Viewer item opens the image in viewer

      • Check that the In Data Browser item brings you to the image in data tree in Data Manager

      • Check that the View Import Log item shows the Log file [ImportUI013f]

        • Check that the Log file is not truncated, i.e. it ends with line like 2014-05-05 08:55:07,349 INFO o.s.blitz.repo.ManagedImportRequestI Finalizing log file.

      • Check that the Checksum item opens the checksum popup [ImportUI013d, ImportUI013e]

  3. Import the folder data_repo/test_images_broken/broken_images_scenario/ into a non- default group (you have to switch the group actively) and after it failed, go Failed > View Exception. Check that the exception window appears.

  4. Repeat step 1 this time selecting a whole folder to import. [ImportUI004].

    • Check that the counter in the toolbar of Data Manager (right-hand side) counts the imported files correctly [ImportUI004b].

    • Check that only one dataset was created for the imported folder.

    • Import another folder and again check that just one dataset was created and no duplicate imports or re-imports of the previous folder occurred.

  5. Repeat step 1 this time not selecting “New From Folder” but creating a new Project and Dataset at the import stage [ImportUI004c, ImportUI004d].

  6. Import more than 2000 files (for example a whole folder containing 2001 files).

    • Check that the import does not proceed.

    • Check that you get a dialog [ImportUI004e]

  7. Start several parallel image imports, then randomly switch between the import tabs.

    • Check that imports proceed smoothly to the end.

  8. De-duplication of import: Make sure you can import in two different groups. Select any file, put it to the queue.

    • Check that if you select the same file again, and add it to the queue (in the same group), the new addition will be ignored

    • Check that when you select the same file again and select another target group in the Import Location window, the file will be added to the queue.

  9. De-duplication of import in case of a Companion File: Select a dv image like data_repo/test_images_good/dv/CFPNEAT01_R3D.dv and its log file, (data_repo/test_images_good/dv/CFPNEAT01_R3D.dv.log).

    • add both files to the import queue

    • click import

    • Check that you get a message indicating that the log file is a duplicate, meaning that this file has been already imported in this transaction

    • Check that the import of the duplicate does not proceed (in this transaction)

    • Check that the counter in the Toolbar of the Data Manager is not counting the skipped files as Imported

    • Check the Companion File:

      • Go to the Data Manager, right-hand pane, Acquisition tab

      • Check that the first harmonica tab is Companion files (NOT Original Metadata)

      • Expand the Companion file harmonica tab and check the file is there

  10. Upload.

    • import several images in one transaction, making sure you have images with long processing times, for example data_repo/test_images_good/leica-lif/free edge 6.lif or other .lif files

    • Check that the import of the files in the queue starts immediately after the upload of the previous file is finished

    • Check that the size in the header of the importer window changes after each import

  11. Cancelling:

    • Cancel a single running import using the Cancel button.

    • Check that only this particular import has been cancelled

    • Cancel all imports using the Cancel All button

    • Check that all the imports where the upload did not start yet are cancelled

    • Check that after everything is imported or cancelled the spinners stop both in Importer and Data Manager.

  12. Cancelling during scanning phase & large MIF import

    • Check that after you Cancel and Cancel All successfully during scanning phase when importing a whole folder (for example data_repo/public/HCS/INCELL2000/) spinners have stopped & Insight can Quit normally.

    • Check that when importing multi-images-fileset (MIF) test_images_good/lei/leica-original/050118.lei you can Cancel both during scanning and preparing upload phases

  13. Tag at import (for permissions testing, tag with tags belonging to other users)

    • One new tag addition:

      • Select at least two images.

      • Go to the “options” tab. The second tab when selecting the import location.[ImportUI005]

      • Create one new tag and add it

      • Import images.

    • One existing tag addition

      • Select at least two images.

      • Go to the “options” tab.

      • Add one existing tag.[ImportUI009]

      • Import images.

    • Two new tags addition:

      • Select at least two images.

      • Go to the “options” tab.

      • Create two or more tags and add them

      • Import images.

    • Two existing tags addition:

      • Select at least two images.

      • Go to the “options” tab.

      • Add two or more existing tags.

      • Import all the images you tagged.

    • Go to the DataManager (left-hand side). Refresh

    • Check that the images are tagged and the tag is shown on thumbnails [ImportUI006][ImportUI007]

    • Check and the tag is created once. [ImportUI008]

    • Check that no new tag is created with the name of an existing tag.

  14. In the Location dialog, press the Screen button [ImportUI011]

  15. Import a Plate e.g. test_images_good/bd-pathway/2009-05-01_000/

    • not creating new Screen at import stage [ImportUI011b]

    • creating a new Screen to import the plate to at import stage [ImportUI011c]

  16. Error reporting in all import stages.

    • Failure at scanning stage: Import test_images_bad/Mike.dv and

      • Check that

        • you can submit the failure. There will be no log, but you should be able to submit the files (as .zip) and exceptions. The exception can also be viewed in a separate item under “Failed” menu.

        • you can Retry All (button at the bottom of the Importer)

    • Failure of checksums: Test on a dedicated server (e.g. a server with recompiled server code in a way which causes checksum failure).

      • Check that

        • you can submit the failure. There will be no log, but you should be able to submit the files (as .zip) and exceptions.

    • Failure at processing stage: Import test_images_broken/volocity/3 Colour.acff and data_repo/test_images_broken/broken_images_scenario/

      • Check that

        • you can submit the .zip, consisting of the file AND log

        • you can submit the exceptions

      • Import the folder data_repo/test_images_broken/broken_images_scenario/ into a non-default group (you have to switch the group actively) and after it failed, go Failed > View Exception

        • Check that the Exception appears.

  17. Error submission process: Import an image that will fail to import e.g. data_repo/test_images_bad/mike1_R3D.dv [ImportUI014]

    • Check that you can view the error.[ImportUI015]

    • Submit the error to the QA system using “Submit Failures” button in the right bottom corner [ImportUI015b].

    • Enter a valid e-mail address [ImportUI016]

    • Check that you received a notification e-mail.

    • Check that your email address, error message, and file links are all included on the QA webpage.

    • Send a reply comment to the QA webpage, include your email address and a message.

    • Log into the QA system as an administrator and confirm the comment was received.

    • Reply to the QA message, the message should appear in your email.

    • Finally, set the QA message status to “Closed” and save.

      ../_images/0019.png

      ImportUI001





























      ../_images/0028.png

      ImportUI002





























      ../_images/0038.png

      ImportUI003





























      ../_images/0048.png

      ImportUI004
























      ../_images/004b1.png

      ImportUI004b



























      ../_images/004c.png

      ImportUI004c
























      ../_images/004d.png

      ImportUI004d
























      ../_images/004e.png

      ImportUI004e

















      ../_images/0056.png

      ImportUI005





























      ../_images/0065.png

      ImportUI006





























      ../_images/0074.png

      ImportUI007





























      ../_images/0082.png

      ImportUI008





























      ../_images/0094.png

      ImportUI009



















































      ../_images/0113.png

      ImportUI011




































      ../_images/011b.png

      ImportUI011b




































      ../_images/011c.png

      ImportUI011c





























      ../_images/0123.png

      Tickbox for thumbs



























      ../_images/012b.png

      ImportUI012b



























      ../_images/0133.png

      ImportUI013


























      ../_images/013b1.png

      ImportUI013b


























      ../_images/013c1.png

      ImportUI013c



























      ../_images/0143.png

      ImportUI014





























      ../_images/0153.png

      ImportUI015

































      ../_images/015b.png

      ImportUI015b


























      ../_images/0163.png

      ImportUI016








































      ../_images/013d1.png

      ImportUI013d



























      ../_images/013e1.png

      ImportUI013e




















      ../_images/013f1.png

      ImportUI013f