Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for wells #5055

Merged
merged 4 commits into from
Mar 2, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions components/tests/ui/testcases/web/search.txt
Original file line number Diff line number Diff line change
@@ -22,6 +22,8 @@ ${XpathPlate} xpath=//table[@id='dataTable']//img[@alt='plate']
${XpathPlateThumb} xpath=//table[@id='dataTable']//img[contains(@src,'folder_plate16.png')]
${XpathScreen} xpath=//table[@id='dataTable']//img[@alt='screen']
${XpathScreenThumb} xpath=//table[@id='dataTable']//img[contains(@src,'folder_screen16.png')]
${XpathWell} xpath=//table[@id='dataTable']//img[@alt='well']
${XpathWellThumb} xpath=//table[@id='dataTable']//img[contains(@src,'well16.png')]
${XpathTable} xpath=//table[@id='dataTable']
${XpathTableColumn} xpath=//table[@id='dataTable']//tr/td[position()=3]
${XPathAlertText} xpath=//div[contains(@class,'ui-dialog')][contains(@style,'display: block')]//p
@@ -67,6 +69,7 @@ Unselect All Checkboxes
Unselect Checkbox projects
Unselect Checkbox plates
Unselect Checkbox screens
Unselect Checkbox wells

Select All Checkboxes

@@ -78,6 +81,7 @@ Select All Checkboxes
Select Checkbox projects
Select Checkbox plates
Select Checkbox screens
Select Checkbox wells

Omero Default Search

@@ -189,6 +193,8 @@ Test Check Search Results
Run Keyword If '${status3}' == 'True' Page Should Contain Element ${XpathProjectThumb}
${status4} Run Keyword And Return status Page Should Contain Element ${XpathImage}
Run Keyword If '${status4}' == 'True' Page Should Contain Element ${XpathImageThumb}
${status5} Run Keyword And Return status Page Should Contain Element ${XpathWell}
Run Keyword If '${status5}' == 'True' Page Should Contain Element ${XpathWellThumb}


Test Default Search Selections
@@ -199,6 +205,7 @@ Test Default Search Selections
Checkbox Should Be Selected projects
Checkbox Should Be Selected plates
Checkbox Should Be Selected screens
Checkbox Should Be Selected wells
Checkbox Should Not Be Selected name
Checkbox Should Not Be Selected description
Checkbox Should Not Be Selected annotation
@@ -253,7 +260,8 @@ Test Object Types and Fields
Page Should Not Contain Element ${XpathProject}
Page Should Not Contain Element ${XpathPlate}
Page Should Not Contain Element ${XpathScreen}

Page Should Not Contain Element ${XpathWell}

# Select Dataset Alone
Unselect All Checkboxes
Select Checkbox datasets
@@ -264,7 +272,8 @@ Test Object Types and Fields
Page Should Not Contain Element ${XpathProject}
Page Should Not Contain Element ${XpathPlate}
Page Should Not Contain Element ${XpathScreen}

Page Should Not Contain Element ${XpathWell}

# Select Project Alone
Unselect All Checkboxes
Select Checkbox projects
@@ -275,7 +284,8 @@ Test Object Types and Fields
Page Should Not Contain Element ${XpathImage}
Page Should Not Contain Element ${XpathPlate}
Page Should Not Contain Element ${XpathScreen}

Page Should Not Contain Element ${XpathWell}

# Select Plate Alone
Unselect All Checkboxes
Select Checkbox plates
@@ -284,7 +294,8 @@ Test Object Types and Fields
Page Should Not Contain Element ${XpathProject}
Page Should Not Contain Element ${XpathDataset}
Page Should Not Contain Element ${XpathImage}

Page Should Not Contain Element ${XpathWell}

# Select Screen Alone
Unselect All Checkboxes
Select Checkbox screens
@@ -293,6 +304,17 @@ Test Object Types and Fields
Page Should Not Contain Element ${XpathProject}
Page Should Not Contain Element ${XpathDataset}
Page Should Not Contain Element ${XpathImage}
Page Should Not Contain Element ${XpathWell}

# Select Well Alone
Unselect All Checkboxes
Select Checkbox wells
Click Button id=search_button
sleep ${ImplicitDELAY}
Page Should Contain Element ${XpathWell}
Page Should Not Contain Element ${XpathProject}
Page Should Not Contain Element ${XpathDataset}
Page Should Not Contain Element ${XpathImage}


Test Date Range
@@ -349,7 +371,7 @@ Test Date Range
Select All Checkboxes
Click Button id=search_button
Click Element ${AlertWindow}


Test Key Word Search