Skip to content

Commit

Permalink
SHIBUI-2267
Browse files Browse the repository at this point in the history
Added test for new relying party override. Various other fixes and
enhancements in an effort to help stabilize the tests.


Former-commit-id: 7302d11ed02841c3531b2a41e2f1134c3240dc9a
  • Loading branch information
Bill Smith committed Aug 16, 2022
1 parent 9a823d4 commit 4f5759c
Show file tree
Hide file tree
Showing 12 changed files with 848 additions and 351 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class SeleniumSIDETest extends Specification {
'SHIBUI-1744: Verify attribute bundles in entity attribute filters' | '/SHIBUI-1744-3.side'
'SHIBUI-2052: Logged in user & role appear on dashboard' | '/SHIBUI-2052.side'
'SHIBUI-2116: Verify entity attribute bundle highlights' | '/SHIBUI-2116.side' // Note that this script WILL NOT PASS in the Selenium IDE due to ${driver} not being set (it is provided by this groovy script).
'SHIBUI-2267: Verify new RPO CRUD' | '/SHIBUI-2267.side'
'SHIBUI-2269: Verify XML generation of external filters' | '/SHIBUI-2269.side'
}
}
35 changes: 21 additions & 14 deletions backend/src/integration/resources/SHIBUI-1334-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -2695,6 +2695,13 @@
["xpath=//span[contains(.,'Display Name v3')]", "xpath:innerText"]
],
"value": "30000"
}, {
"id": "bde2bbbb-df66-4e07-a770-ec9125fe3e81",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "5a976e2c-dc5f-4021-9cc6-3cad12e771ea",
"comment": "",
Expand All @@ -2718,20 +2725,20 @@
],
"value": "Display Name"
}, {
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}],
"suites": [{
"id": "d2caeac4-7520-4e3c-96b1-840610b6983c",
Expand Down
14 changes: 14 additions & 0 deletions backend/src/integration/resources/SHIBUI-1364-4.side
Original file line number Diff line number Diff line change
Expand Up @@ -1417,6 +1417,20 @@
["xpath=//input", "xpath:position"]
],
"value": ""
}, {
"id": "a9bd983c-7743-4bec-87ad-7484e60cff99",
"comment": "",
"command": "waitForElementVisible",
"target": "css=.d-flex:nth-child(3) > .border-primary:nth-child(2) .mb-0:nth-child(1)",
"targets": [],
"value": "30000"
}, {
"id": "0d53853f-597f-4c2a-8f6b-ef4e1109bf3c",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "c2102a31-6e18-4d6c-8146-e23459403b65",
"comment": "",
Expand Down
69 changes: 31 additions & 38 deletions backend/src/integration/resources/SHIBUI-1385-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -2629,45 +2629,38 @@
],
"value": ""
}, {
"id": "56094f6e-45b7-42f6-9102-e4e19673240d",
"id": "85af384a-77b1-4d88-8915-9430afae4845",
"comment": "",
"command": "waitForElementVisible",
"target": "css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(2)",
"targets": [
["css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[2]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"]
],
"target": "css=div:nth-child(1) > div > .bg-diff > .d-block:nth-child(2)",
"targets": [],
"value": "30000"
}, {
"id": "eb302999-153d-492c-869c-8bf26e8134a0",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "5a976e2c-dc5f-4021-9cc6-3cad12e771ea",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(2)",
"target": "css=div:nth-child(1) > div > .bg-diff > .d-block:nth-child(2)",
"targets": [
["css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(2)", "css:finder"],
["css=div:nth-child(1) > div > .bg-diff > .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[2]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"]
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'Display Name v3')]", "xpath:innerText"]
],
"value": "Display Name v3"
}, {
"id": "c2ebc46c-e443-47b9-b17b-0ac6d23b882c",
"comment": "",
"command": "waitForElementVisible",
"target": "css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(3)",
"targets": [
["css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(3)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[2]/div/div[2]/div[2]/div/div/div/span[3]", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[3]", "xpath:position"]
],
"value": "30000"
}, {
"id": "72328587-fe8d-4dc8-bc3d-a163f91a1ad6",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(3)",
"target": "css=div:nth-child(1) > div > .bg-diff > .d-block:nth-child(3)",
"targets": [
["css=.mb-4:nth-child(3) div:nth-child(1) > .d-flex > .d-block:nth-child(3)", "css:finder"],
["css=div:nth-child(1) > div > .bg-diff > .d-block:nth-child(3)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[2]/div/div[2]/div[2]/div/div/div/span[3]", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[3]", "xpath:position"]
],
Expand Down Expand Up @@ -2878,21 +2871,21 @@
["xpath=//section[2]/div/div[2]/div[2]/div/div/div/span[3]", "xpath:position"]
],
"value": "Display Name"
},{
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}, {
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}],
"suites": [{
"id": "d2caeac4-7520-4e3c-96b1-840610b6983c",
Expand Down
37 changes: 22 additions & 15 deletions backend/src/integration/resources/SHIBUI-1407-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -2459,6 +2459,13 @@
["xpath=//span[3]", "xpath:position"]
],
"value": "Test Provider"
}, {
"id": "39637add-5eb4-40d0-b840-8eb1972ede0f",
"comment": "",
"command": "pause",
"target": "1000",
"targets": [],
"value": ""
}, {
"id": "138ad58b-f0a2-436b-a8b0-43484f4180e6",
"comment": "",
Expand Down Expand Up @@ -2608,21 +2615,21 @@
"target": "isPresent",
"targets": [],
"value": "true"
},{
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}, {
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}],
"suites": [{
"id": "d2caeac4-7520-4e3c-96b1-840610b6983c",
Expand Down
96 changes: 48 additions & 48 deletions backend/src/integration/resources/SHIBUI-1732-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -400,11 +400,11 @@
"id": "002e853c-ed14-430a-ba32-a3c59da26305",
"comment": "",
"command": "assertText",
"target": "css=.row:nth-child(7) span",
"target": "css=.row:nth-child(8) .form-label > span",
"targets": [
["css=.row:nth-child(7) span", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"],
["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"],
["css=.row:nth-child(8) .form-label > span", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[9]/div/div/div/div[8]/div/div/div/div/label/span", "xpath:idRelative"],
["xpath=//div[8]/div/div/div/div/label/span", "xpath:position"],
["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"]
],
"value": "Custom String Display"
Expand Down Expand Up @@ -475,23 +475,23 @@
"id": "220200b4-4b3f-4c1b-9d89-e17a136fb4c1",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)",
"target": "css=div:nth-child(8) .d-block:nth-child(1)",
"targets": [
["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(1)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"],
["css=div:nth-child(8) .d-block:nth-child(1)", "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", "xpath:idRelative"],
["xpath=//div[8]/div/span", "xpath:position"],
["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"]
],
"value": "Custom String Display"
}, {
"id": "33312edd-a161-428c-9e5a-63d1d245b1c7",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)",
"target": "css=div:nth-child(8) .text-truncate",
"targets": [
["css=.mb-4:nth-child(8) div:nth-child(7) .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"],
["xpath=//section[8]/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[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"],
["xpath=//span[contains(.,'Custom String Default Edited')]", "xpath:innerText"]
],
"value": "Custom String Default Edited"
Expand Down Expand Up @@ -533,23 +533,23 @@
"id": "77768da6-c87e-49c6-a2d1-322218196038",
"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(.,'Custom String Default Edited')]", "xpath:innerText"]
],
"value": "Custom String Default Edited"
}, {
"id": "edb8ae5b-b1d6-4078-b3d2-d41ece0bbd28",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)",
"target": "css=div:nth-child(8) .d-block:nth-child(1)",
"targets": [
["css=.mb-4:nth-child(9) div:nth-child(7) .d-block:nth-child(1)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"],
["xpath=//section[7]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:position"],
["css=div:nth-child(8) .d-block:nth-child(1)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[7]/div/div[2]/div[2]/div/div[8]/div/span", "xpath:idRelative"],
["xpath=//div[8]/div/span", "xpath:position"],
["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"]
],
"value": "Custom String Display"
Expand Down Expand Up @@ -862,11 +862,11 @@
"id": "62aae077-0f97-48ec-97cb-2111ea9e3400",
"comment": "",
"command": "assertText",
"target": "css=.row:nth-child(7) > .col-12 > .mb-3 > div > div > .form-label > span",
"target": "css=.row:nth-child(8) .form-label > span",
"targets": [
["css=.row:nth-child(7) > .col-12 > .mb-3 > div > div > .form-label > span", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[7]/div/div/div/div/label/span", "xpath:idRelative"],
["xpath=//div[7]/div/div/div/div/label/span", "xpath:position"],
["css=.row:nth-child(8) .form-label > span", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div/div[2]/div[2]/div[2]/div/form/div/div/div/div[7]/div/div/div/div/div[8]/div/div/div/div/label/span", "xpath:idRelative"],
["xpath=//div[8]/div/div/div/div/label/span", "xpath:position"],
["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"]
],
"value": "Custom String Display"
Expand Down Expand Up @@ -939,24 +939,24 @@
"id": "848c273e-a5b1-4ff8-90e2-ee0ecbadff2d",
"comment": "",
"command": "assertText",
"target": "css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)",
"target": "css=.mb-4:nth-child(4) div:nth-child(8) .d-block:nth-child(1)",
"targets": [
["css=div:nth-child(1) > div:nth-child(7) .d-block:nth-child(1)", "css:finder"],
["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span", "xpath:idRelative"],
["xpath=//div[2]/div[2]/div/div[7]/div/span", "xpath:position"],
["css=.mb-4:nth-child(4) div:nth-child(8) .d-block:nth-child(1)", "css:finder"],
["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[8]/div/span", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div[8]/div/span", "xpath:position"],
["xpath=//span[contains(.,'Custom String Display')]", "xpath:innerText"]
],
"value": "Custom String Display"
}, {
"id": "4524e88f-bbfc-4f4f-b72d-30cce97564da",
"comment": "",
"command": "assertText",
"target": "css=div:nth-child(1) > div:nth-child(7) .text-truncate",
"target": "css=.mb-4:nth-child(4) div:nth-child(8) .d-block:nth-child(2)",
"targets": [
["css=div:nth-child(1) > div:nth-child(7) .text-truncate", "css:finder"],
["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[7]/div/span[2]", "xpath:idRelative"],
["xpath=//div[2]/div[2]/div/div[7]/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'Custom String Default')]", "xpath:innerText"]
["css=.mb-4:nth-child(4) div:nth-child(8) .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='filters']/ul/li/div[2]/section[2]/div/div[2]/div[2]/div/div[8]/div/span[2]", "xpath:idRelative"],
["xpath=//section[2]/div/div[2]/div[2]/div/div[8]/div/span[2]", "xpath:position"],
["xpath=//span[contains(.,'Custom String Default Edited')]", "xpath:innerText"]
],
"value": "Custom String Default Edited"
}, {
Expand Down Expand Up @@ -1031,21 +1031,21 @@
"target": "css=table > tbody > tr",
"targets": [],
"value": ""
},{
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}, {
"id": "4ec2c493-85e4-403b-9b09-031c5728f498",
"comment": "",
"command": "open",
"target": "/api/heheheheheheheWipeout",
"targets": [],
"value": ""
}, {
"id": "e074980a-8f21-4c22-8412-c4b6fcdcd1a4",
"comment": "",
"command": "assertText",
"target": "css=body",
"targets": [],
"value": "yes, you did it"
}]
}],
"suites": [{
"id": "a9b788f1-5f67-4d2c-82a5-30dc53eb75e9",
Expand Down
Loading

0 comments on commit 4f5759c

Please sign in to comment.