Skip to content

Commit

Permalink
SHIBUI-1408
Browse files Browse the repository at this point in the history
Updates for metadata source comparison.
  • Loading branch information
Bill Smith committed Oct 3, 2019
1 parent 8f1e2e5 commit 6b94295
Showing 1 changed file with 16 additions and 54 deletions.
70 changes: 16 additions & 54 deletions backend/src/integration/resources/SHIBUI-1407-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -1775,43 +1775,45 @@
"id": "3baa7bd3-55c0-4d10-8aa3-c0daa63ec4d4",
"comment": "",
"command": "assertText",
"target": "css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)",
"target": "css=.d-block > primitive-property:nth-child(1) .text-truncate",
"targets": [
["css=.px-3 > summary-property:nth-child(2) > .mb-3 > .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property/div/span", "xpath:position"],
["css=.d-block > primitive-property:nth-child(1) .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section/div/div[2]/object-property/primitive-property/div/div/span[2]", "xpath:idRelative"],
["xpath=//div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'test-1234')]", "xpath:innerText"]
],
"value": "test-1234"
}, {
"id": "0d355ff0-0449-49a7-ae75-14d7c405b97c",
"comment": "",
"command": "assertText",
"target": "css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)",
"target": "css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate",
"targets": [
["css=.px-3:nth-child(2) > summary-property:nth-child(2) tr:nth-child(2) > td:nth-child(1)", "css:finder"],
["xpath=//div[2]/section[2]/summary-property/div/table/tbody/tr[2]/td", "xpath:position"],
["xpath=//td[contains(.,'http://test.org/assert2')]", "xpath:innerText"]
["css=.mb-4:nth-child(7) .py-2:nth-child(3) > .d-flex:nth-child(1) > .text-truncate", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/object-property/array-property/div/div[3]/div/div[2]", "xpath:position"]
],
"value": "http://test.org/assert2"
}, {
"id": "e53030b6-f344-4361-981d-b8303a721c5d",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)",
"target": "css=array-property:nth-child(8) .border-0",
"targets": [
["css=summary-property:nth-child(2) > .mb-3 > .list-unstyled > li:nth-child(5)", "css:finder"],
["xpath=//li[5]", "xpath:position"],
["xpath=//li[contains(.,'somethingElse')]", "xpath:innerText"]
["css=array-property:nth-child(8) .border-0", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/object-property/object-property/array-property/div/ul/li[5]", "xpath:position"]
],
"value": "somethingElse"
}, {
"id": "18636780-2feb-458f-97be-cf4a625b22e1",
"comment": "",
"command": "assertText",
"target": "css=summary-property:nth-child(10) .d-block:nth-child(2)",
"target": "css=.d-flex:nth-child(2) > .py-2 > span",
"targets": [
["css=summary-property:nth-child(10) .d-block:nth-child(2)", "css:finder"],
["xpath=//summary-property[10]/div/span", "xpath:position"]
["css=.d-flex:nth-child(2) > .py-2 > span", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[9]/div/div[2]/object-property/array-property/div/div[2]/div/span", "xpath:idRelative"],
["xpath=//array-property/div/div[2]/div/span", "xpath:position"]
],
"value": "true"
}, {
Expand Down Expand Up @@ -1871,18 +1873,6 @@
["xpath=//td[contains(.,'root')]", "xpath:innerText"]
],
"value": "admin"
}, {
"id": "87281e0a-322f-4d3a-9703-3e6966f26759",
"comment": "",
"command": "click",
"target": "id=search",
"targets": [
["id=search", "id"],
["css=#search", "css:finder"],
["xpath=//input[@id='search']", "xpath:attributes"],
["xpath=//input", "xpath:position"]
],
"value": ""
}, {
"id": "fbcf1587-cb27-4deb-80c6-78b4d4aa2478",
"comment": "",
Expand Down Expand Up @@ -2438,34 +2428,6 @@
"target": "isPresent",
"targets": [],
"value": "true"
}, {
"id": "1d80e2ba-e14d-460e-b575-0314025bcf42",
"comment": "",
"command": "assertText",
"target": "xpath=//metadata-comparison/div/metadata-configuration/div/section[2]/div/div[2]/div",
"targets": [],
"value": "No Changes"
}, {
"id": "4dc0b20f-380a-43a0-b79a-8ba7b7a24ecd",
"comment": "",
"command": "storeAttribute",
"target": "xpath=//metadata-comparison/div/metadata-configuration/div/section[2]/div/div[2]/div@class",
"targets": [],
"value": "classes"
}, {
"id": "a604f1d3-af29-4800-aded-5cd70c4cd81e",
"comment": "",
"command": "executeScript",
"target": "return ${classes}.includes('bg-diff')",
"targets": [],
"value": "isPresent"
}, {
"id": "6ba6e7e2-9037-4260-8131-5fb98774b602",
"comment": "",
"command": "assert",
"target": "isPresent",
"targets": [],
"value": "false"
}]
}],
"suites": [{
Expand Down

0 comments on commit 6b94295

Please sign in to comment.