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
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]
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
Viewmenu: [ImportUI013c].Check that the
In Full Vieweritem opens the image in viewerCheck that the
In Data Browseritem brings you to the image in data tree in Data ManagerCheck that the
View Import Logitem 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
Checksumitem opens the checksum popup [ImportUI013d, ImportUI013e]
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.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.
Repeat step 1 this time not selecting “New From Folder” but creating a new Project and Dataset at the import stage [ImportUI004c, ImportUI004d].
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]
Start several parallel image imports, then randomly switch between the import tabs.
Check that imports proceed smoothly to the end.
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.
De-duplication of import in case of a Companion File: Select a dv image like
data_repo/test_images_good/dv/CFPNEAT01_R3D.dvand 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
ImportedCheck the Companion File:
Go to the Data Manager, right-hand pane, Acquisition tab
Check that the first harmonica tab is
Companion files(NOTOriginal Metadata)Expand the
Companion fileharmonica tab and check the file is there
Upload.
import several images in one transaction, making sure you have images with long
processingtimes, for exampledata_repo/test_images_good/leica-lif/free edge 6.lifor other.liffilesCheck 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
Cancelling:
Cancel a single running import using the
Cancelbutton.Check that only this particular import has been cancelled
Cancel all imports using the
Cancel AllbuttonCheck 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.
Cancelling during scanning phase & large MIF import
Check that after you Cancel and Cancel All successfully during
scanningphase when importing a whole folder (for exampledata_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.leiyou can Cancel both duringscanningandpreparing uploadphases
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.
In the Location dialog, press the Screen button [ImportUI011]
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]
Error reporting in all import stages.
Failure at scanning stage: Import
test_images_bad/Mike.dvandCheck 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.acffanddata_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 ExceptionCheck that the Exception appears.
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.
ImportUI001
ImportUI002
ImportUI003
ImportUI004
ImportUI004b
ImportUI004c
ImportUI004d
ImportUI004e
ImportUI005
ImportUI006
ImportUI007
ImportUI008
ImportUI009
ImportUI011
ImportUI011b
ImportUI011c
Tickbox for thumbs
ImportUI012b
ImportUI013
ImportUI013b
ImportUI013c
ImportUI014
ImportUI015
ImportUI015b
ImportUI016
ImportUI013d
ImportUI013e
ImportUI013f