Skip to content

Commit

Permalink
SHIBUI-2393
Browse files Browse the repository at this point in the history
Test fixes.
  • Loading branch information
Bill Smith committed Nov 28, 2022
1 parent 7f7de3d commit 6c3872b
Show file tree
Hide file tree
Showing 2 changed files with 161 additions and 28 deletions.
113 changes: 102 additions & 11 deletions backend/src/integration/resources/SHIBUI-1333.side
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,13 @@
["xpath=//a[contains(.,'somethingElse')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "61f50a61-e457-4e65-a957-4f9fd4ab44ce",
"comment": "",
"command": "pause",
"target": "500",
"targets": [],
"value": ""
}, {
"id": "c8bb3bee-3d61-4324-a3aa-38b78232b969",
"comment": "",
Expand All @@ -1703,14 +1710,76 @@
"id": "667d1702-7451-4200-ae40-3024717c4506",
"comment": "",
"command": "pause",
"target": "500",
"target": "2000",
"targets": [],
"value": ""
}, {
"id": "25069827-2fd4-42ca-8c4b-7dd6f466b52c",
"comment": "",
"command": "click",
"target": "id=array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0",
"targets": [
["id=array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0", "id"],
["css=#array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0", "css:finder"],
["xpath=//button[@id='array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0']", "xpath:attributes"],
["xpath=//div[@id='root_relyingPartyOverrides_authenticationMethods-group']/div/div/div/div[2]/div/div/div[2]/div/button", "xpath:idRelative"],
["xpath=//div[2]/div/button", "xpath:position"],
["xpath=//button[contains(.,'Delete')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "7b71c071-795e-4238-925f-ed03f82dbc51",
"comment": "",
"command": "pause",
"target": "2000",
"targets": [],
"value": ""
}, {
"id": "2d26cc3d-6295-4f68-bdf4-e7e31ea2494f",
"comment": "",
"command": "click",
"target": "id=array-field-addbtn-root_relyingPartyOverrides_authenticationMethods",
"targets": [
["id=array-field-addbtn-root_relyingPartyOverrides_authenticationMethods", "id"],
["css=#array-field-addbtn-root_relyingPartyOverrides_authenticationMethods", "css:finder"],
["xpath=//button[@id='array-field-addbtn-root_relyingPartyOverrides_authenticationMethods']", "xpath:attributes"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[8]/div/div/div/div[3]/div/div/div/div/div/div/button", "xpath:idRelative"],
["xpath=//div/div/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Add ')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "f4e05cb9-9516-4b9b-9038-ffab09d20c0c",
"comment": "",
"command": "pause",
"target": "2000",
"targets": [],
"value": ""
}, {
"id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1",
"comment": "",
"command": "click",
"target": "id=option-selector-root_relyingPartyOverrides_authenticationMethods_0",
"targets": [
["id=option-selector-root_relyingPartyOverrides_authenticationMethods_0", "id"],
["css=#option-selector-root_relyingPartyOverrides_authenticationMethods_0", "css:finder"],
["xpath=//input[@id='option-selector-root_relyingPartyOverrides_authenticationMethods_0']", "xpath:attributes"],
["xpath=//div[@id='root_relyingPartyOverrides_authenticationMethods_0-group']/div/div/div/div/input", "xpath:idRelative"],
["xpath=//div[2]/div/div/div/div/div/div/div/div/input", "xpath:position"]
],
"value": ""
}, {
"id": "7857a429-6945-4e31-94b0-f11d78733a43",
"comment": "",
"command": "click",
"target": "css=body",
"targets": [],
"value": ""
}, {
"id": "984faf64-66af-44c1-9490-4c7dc48b9a07",
"comment": "",
"command": "click",
"target": "id=option-selector-root_relyingPartyOverrides_authenticationMethods_0",
"targets": [
["id=option-selector-root_relyingPartyOverrides_authenticationMethods_0", "id"],
["css=#option-selector-root_relyingPartyOverrides_authenticationMethods_0", "css:finder"],
Expand Down Expand Up @@ -1769,11 +1838,11 @@
"command": "click",
"target": "id=option-selector-root_relyingPartyOverrides_authenticationMethods_1",
"targets": [
["id=option-selector-root_relyingPartyOverrides_authenticationMethods_1", "id"],
["css=#option-selector-root_relyingPartyOverrides_authenticationMethods_1", "css:finder"],
["xpath=//input[@id='option-selector-root_relyingPartyOverrides_authenticationMethods_1']", "xpath:attributes"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[8]/div/div/div/div[4]/div/div/div/div/div/div[2]/div[2]/div/div/div/div/div/div/div/input", "xpath:idRelative"],
["xpath=//div[4]/div/div/div/div/div/div[2]/div[2]/div/div/div/div/div/div/div/input", "xpath:position"]
["id=option-selector-root_relyingPartyOverrides_authenticationMethods_0", "id"],
["css=#option-selector-root_relyingPartyOverrides_authenticationMethods_0", "css:finder"],
["xpath=//input[@id='option-selector-root_relyingPartyOverrides_authenticationMethods_0']", "xpath:attributes"],
["xpath=//div[@id='root_relyingPartyOverrides_authenticationMethods_0-group']/div/div/div/div/input", "xpath:idRelative"],
["xpath=//div[2]/div/div/div/div/div/div/div/div/input", "xpath:position"]
],
"value": ""
}, {
Expand Down Expand Up @@ -1935,15 +2004,37 @@
["xpath=//li[3]/button", "xpath:position"]
],
"value": ""
}, {
"id": "ab5d26bb-1372-4088-b7cc-bd061448e0d2",
"comment": "",
"command": "waitForElementVisible",
"target": "css=.fa-check",
"targets": [
["css=.fa-check > path", "css:finder"]
],
"value": "30000"
}, {
"id": "553dd570-b1bb-43bb-a469-63ee08a09794",
"comment": "",
"command": "click",
"target": "css=.fa-check",
"target": "css=#attributeRelease\\.checkAll",
"targets": [
["css=.fa-check", "css:finder"]
],
"value": ""
}, {
"id": "efb04977-a7d3-4373-969a-828f1be0514b",
"comment": "",
"command": "assertChecked",
"target": "id=root_attributeRelease_8",
"targets": [
["id=root_attributeRelease_8", "id"],
["css=#root_attributeRelease_8", "css:finder"],
["xpath=//input[@id='root_attributeRelease_8']", "xpath:attributes"],
["xpath=//div[@id='root_attributeRelease-group']/div/fieldset/table/tbody/tr[9]/td[2]/fieldset/div/div/input", "xpath:idRelative"],
["xpath=//tr[9]/td[2]/fieldset/div/div/input", "xpath:position"]
],
"value": ""
}, {
"id": "4adb7283-b1ad-4553-a934-afc54fa8b04f",
"comment": "",
Expand Down Expand Up @@ -2290,11 +2381,11 @@
"id": "951a21c9-4cd3-4989-8dc0-77760ca0dc95",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)",
"target": "css=div:nth-child(8) .text-truncate",
"targets": [
["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"],
["css=div:nth-child(8) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[8]/div/span[2]", "xpath:idRelative"],
["xpath=//div[8]/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'responder-id-123')]", "xpath:innerText"]
],
"value": "responder-id-123"
Expand Down
76 changes: 59 additions & 17 deletions backend/src/integration/resources/SHIBUI-1334-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -1703,6 +1703,48 @@
"target": "500",
"targets": [],
"value": ""
}, {
"id": "bf36e226-da6a-4e64-b1a6-bea0e8f8b340",
"comment": "",
"command": "click",
"target": "id=array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0",
"targets": [
["id=array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0", "id"],
["css=#array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0", "css:finder"],
["xpath=//button[@id='array-field-deletebtn-root_relyingPartyOverrides_authenticationMethods-0']", "xpath:attributes"],
["xpath=//div[@id='root_relyingPartyOverrides_authenticationMethods-group']/div/div/div/div[2]/div/div/div[2]/div/button", "xpath:idRelative"],
["xpath=//div[2]/div/button", "xpath:position"],
["xpath=//button[contains(.,'Delete')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "6852174b-1c29-4fbd-8134-519744fcd8ee",
"comment": "",
"command": "pause",
"target": "500",
"targets": [],
"value": ""
}, {
"id": "59d47cff-9785-48ad-a875-d89f6af4e456",
"comment": "",
"command": "click",
"target": "id=array-field-addbtn-root_relyingPartyOverrides_authenticationMethods",
"targets": [
["id=array-field-addbtn-root_relyingPartyOverrides_authenticationMethods", "id"],
["css=#array-field-addbtn-root_relyingPartyOverrides_authenticationMethods", "css:finder"],
["xpath=//button[@id='array-field-addbtn-root_relyingPartyOverrides_authenticationMethods']", "xpath:attributes"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[8]/div/div/div/div[3]/div/div/div/div/div/div/button", "xpath:idRelative"],
["xpath=//div/div/div/div/button", "xpath:position"],
["xpath=//button[contains(.,'Add ')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "a451b482-7f04-4b91-ac5a-d36f5ac8bd40",
"comment": "",
"command": "pause",
"target": "500",
"targets": [],
"value": ""
}, {
"id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1",
"comment": "",
Expand Down Expand Up @@ -1943,7 +1985,7 @@
"id": "553dd570-b1bb-43bb-a469-63ee08a09794",
"comment": "",
"command": "click",
"target": "css=.fa-check",
"target": "css=#attributeRelease\\.checkAll",
"targets": [
["css=.fa-check", "css:finder"],
["xpath=//button[@id='/attributeRelease.checkall']/i", "xpath:idRelative"],
Expand Down Expand Up @@ -2011,22 +2053,22 @@
"id": "a1050ebe-55c5-4eac-8d12-615f3ff1cd72",
"comment": "",
"command": "assertText",
"target": "css=div:nth-child(9) .text-truncate",
"target": "css=div:nth-child(10) .text-truncate",
"targets": [
["css=div:nth-child(9) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[9]/div/span[2]", "xpath:idRelative"],
["xpath=//div[9]/div/span[2]", "xpath:position"]
["css=div:nth-child(10) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[10]/div/span[2]", "xpath:idRelative"],
["xpath=//div[10]/div/span[2]", "xpath:position"]
],
"value": "true"
}, {
"id": "43b130ff-e8a5-493d-a418-f1f8623f1de3",
"comment": "",
"command": "assertText",
"target": "css=div:nth-child(8) .text-truncate",
"target": "css=div:nth-child(9) .text-truncate",
"targets": [
["css=div:nth-child(8) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[8]/div/span[2]", "xpath:idRelative"],
["xpath=//div[8]/div/span[2]", "xpath:position"]
["css=div:nth-child(9) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[9]/div/span[2]", "xpath:idRelative"],
["xpath=//div[9]/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
Expand Down Expand Up @@ -2312,23 +2354,23 @@
"id": "951a21c9-4cd3-4989-8dc0-77760ca0dc95",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)",
"target": "css=div:nth-child(8) .text-truncate",
"targets": [
["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"],
["css=div:nth-child(8) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[8]/div/span[2]", "xpath:idRelative"],
["xpath=//div[8]/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'responder-id-123')]", "xpath:innerText"]
],
"value": "responder-id-123"
}, {
"id": "e8b794fc-20e2-4317-8bdd-73eee8e94951",
"comment": "",
"command": "assertText",
"target": "css=.d-flex:nth-child(3) > .py-2 > span",
"target": "css=div:nth-child(10) .text-truncate",
"targets": [
["css=.d-flex:nth-child(3) > .py-2 > span", "css:finder"],
["xpath=//metadata-configuration[@id='configuration']/div/section[8]/div/div[2]/object-property/array-property/div/div/div[3]/div/span", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/object-property/array-property/div/div/div[3]/div/span", "xpath:position"]
["css=div:nth-child(10) .text-truncate", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[10]/div/span[2]", "xpath:idRelative"],
["xpath=//div[10]/div/span[2]", "xpath:position"]
],
"value": "true"
}, {
Expand Down

0 comments on commit 6c3872b

Please sign in to comment.