Skip to content

Commit

Permalink
Minor edit to fix merge conflict with PR ome#4924
Browse files Browse the repository at this point in the history
  • Loading branch information
will-moore committed Dec 15, 2016
1 parent b846568 commit 22139a7
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions components/tests/ui/resources/web/tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,16 @@ Click Next Thumbnail
Click Next Well
Click Element xpath=//td[contains(@class, 'well')][contains(@class, 'ui-selected')]/following-sibling::td/img


Thumbnail Should Be Selected
[Arguments] ${imageId} ${expected}=${true}
Run Keyword If ${expected} Wait Until Page Contains Element xpath=//li[@id='image_icon-${imageId}' and contains(@class, 'ui-selected')]
... ELSE Wait Until Page Contains Element xpath=//li[@id='image_icon-${imageId}' and not(contains(@class, 'ui-selected'))]

Thumbnail Should Not Be Selected
[Arguments] ${imageId}
Thumbnail Should Be Selected ${imageId} ${false}

Get Id From Selected Item In Tree
# Wait Until Element Is Visible xpath=//li::a[contains(@class, 'jstree-clicked')]
${dataId}= Get Element Attribute xpath=//li[contains(@class,'jstree-leaf')][descendant::a[contains(@class, 'jstree-clicked')]]@data-id
Expand All @@ -553,15 +563,6 @@ Get Id From Right Panel
${dataId}= Get Text css=tr.data_heading_id strong
[return] ${dataId}

Thumbnail Should Be Selected
[Arguments] ${imageId} ${expected}=${true}
Run Keyword If ${expected} Wait Until Page Contains Element xpath=//li[@id='image_icon-${imageId}' and contains(@class, 'ui-selected')]
... ELSE Wait Until Page Contains Element xpath=//li[@id='image_icon-${imageId}' and not(contains(@class, 'ui-selected'))]

Thumbnail Should Not Be Selected
[Arguments] ${imageId}
Thumbnail Should Be Selected ${imageId} ${false}

Shift Click Node
[Arguments] ${nodeId}
Shift Click Element "#${nodeId}>a"
Expand Down

0 comments on commit 22139a7

Please sign in to comment.