20. Edit
To test in: Web, Insight
Purpose of the test is to check that the entities are editable smoothly and that the edited/changed texts are being respected
Edit project [Edit001], dataset [Edit002], image [Edit003], screen [Edit004], plate [Edit005], plate run [Edit006].
Edit name (right panel, use pencil icon) [Edit008]
Edit description
Check in Web, that the text you put in is escaped properly, this means for example enter special html signs (e.g. <>), or scripts (e.g. ‘<script>alert(‘hello’)</script>’). The Web application should not interpret them but take them as entered
Edit channels.
Edit channels of an Image
Go to a dataset with images which have different number of channels (e.g. some images in the dataset will have 3 channels, some 5 channels). Select an image)
Edit a channel [Edit001N, Web client, Edit002N, Web Client, 002Nb]
Check that when you try to paste very long string into the name box, the string is truncated at 255 characters.
Click Save
Check that when doing this in Full Viewer in Insight, the channel name in the boxes to the left of the image [Edit001NN] are displayed in full when <7 characters. When >7 characters, the front of the name is truncated (the end is visible only in the box.)
In the same image, edit channels again, this time click “Apply to All”
Check that the warning message is displayed [Edit003N Web Client].
Click Save (or “Continue” in Insight) and Check that the changes were made only on images with the same number of channels, but NOT on images with different number of channels (e.g. only 3 channel images channel names are changed when a 3 channel image was selected, NO changes on 5 channel images in ANY of the channels)
Edit channels again, click “Apply to All”, then click Cancel and Check that the original channel names are reset
Open an image in Full Viewer, edit channels, make changes, click Save (Full Viewer is still open) [Edit004N, Web client] and Check that the changes are immediately displayed also in Full Viewer [Edit005N, Web client]
Edit channels of a Plate
Choose a plate, click on a well sample, edit the channels, make changes and click “Apply to All” [006N, Web Client, 006Nb, Web Client b]
Edit share (Web only) [Edit009][Edit010],