Skip to content

Commit

Permalink
NOJIRA
Browse files Browse the repository at this point in the history
Added fixes various various tests to update them for the latest hotness.
  • Loading branch information
Bill Smith committed Jul 29, 2021
1 parent 35940ce commit ef29b25
Show file tree
Hide file tree
Showing 12 changed files with 511 additions and 288 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,3 @@ class SeleniumSIDETest extends Specification {
'SHIBUI-1503: User can be enabled' | '/SHIBUI-1503-3.side'
}
}

68 changes: 34 additions & 34 deletions backend/src/integration/resources/SHIBUI-1281.side
Original file line number Diff line number Diff line change
Expand Up @@ -778,10 +778,10 @@
}, {
"id": "3cfbc4e0-f120-43ca-8a59-8727f91b5a1c",
"comment": "",
"command": "sendKeys",
"target": "css=div.p-0.m-0.container-fluid > div:nth-child(5) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"command": "click",
"target": "css=body",
"targets": [],
"value": "${KEY_ENTER}"
"value": ""
}, {
"id": "4f61120b-7c6b-4f8e-8543-898298451a56",
"comment": "",
Expand Down Expand Up @@ -1388,7 +1388,7 @@
"id": "ba74d18d-0996-485f-8a9f-01a39428eb0c",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(8) .array-add-button",
"target": "css=.row:nth-child(2) .array-add-button",
"targets": [
["css=.row:nth-child(8) .array-add-button", "css:finder"],
["xpath=(//button[@type='button'])[13]", "xpath:attributes"],
Expand Down Expand Up @@ -1443,7 +1443,7 @@
"id": "ec3afb37-30b4-4d07-93a6-dcf022605532",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(8) .array-add-button",
"target": "css=.row:nth-child(2) .array-add-button",
"targets": [
["css=div:nth-child(8) .d-flex > .btn", "css:finder"],
["xpath=//div/button", "xpath:position"],
Expand Down Expand Up @@ -1496,7 +1496,7 @@
"id": "8b340d1f-4944-4d10-a4cd-5e79be6804ef",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(8) .array-add-button",
"target": "css=.row:nth-child(2) .array-add-button",
"targets": [
["css=div:nth-child(8) .d-flex > .btn", "css:finder"],
["xpath=//div/button", "xpath:position"],
Expand Down Expand Up @@ -1549,7 +1549,7 @@
"id": "d6e7a640-a578-415b-9c1b-b2313b62ad46",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(8) .array-add-button",
"target": "css=.row:nth-child(2) .array-add-button",
"targets": [
["css=div:nth-child(8) .d-flex > .btn", "css:finder"],
["xpath=//div/button", "xpath:position"],
Expand Down Expand Up @@ -1602,7 +1602,7 @@
"id": "4c15be93-75be-4673-b703-07a705300d0f",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(8) .array-add-button",
"target": "css=.row:nth-child(2) .array-add-button",
"targets": [
["css=div:nth-child(8) .btn > translate-i18n", "css:finder"],
["xpath=//div/button/translate-i18n", "xpath:position"]
Expand All @@ -1612,19 +1612,19 @@
"id": "1a1b509e-1768-4291-820d-26f4b73a9d71",
"comment": "",
"command": "click",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(8) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(5) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[2]/div/div/div[1]/div/div/div[2]/div[5]/div/div[1]/div/div[1]/div/div/div[1]/input[1]",
"targets": [
["css=.focus", "css:finder"],
["xpath=(//input[@value=''])[7]", "xpath:attributes"],
["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/div/div[2]/div[5]/div/div/div/div/div/div/div/input", "xpath:idRelative"],
["xpath=(//input[@value=''])[5]", "xpath:attributes"],
["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[2]/div/div/div/div/div/div[2]/div[5]/div/div/div/div/div/div/div/input", "xpath:idRelative"],
["xpath=//div[5]/div/div/div/div/div/div/div/input", "xpath:position"]
],
"value": ""
}, {
"id": "433d6e9d-9d03-4042-9ee0-6284570f8a3c",
"comment": "",
"command": "type",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(8) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(5) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[2]/div/div/div[1]/div/div/div[2]/div[5]/div/div[1]/div/div[1]/div/div/div[1]/input[1]",
"targets": [
["id=field83", "id"],
["css=#field83", "css:finder"],
Expand All @@ -1636,15 +1636,15 @@
}, {
"id": "b505f2f8-396a-47b3-adb9-c3edb083cafb",
"comment": "",
"command": "sendKeys",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(8) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(5) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"command": "click",
"target": "css=body",
"targets": [],
"value": "${KEY_ENTER}"
"value": ""
}, {
"id": "c8bb3bee-3d61-4324-a3aa-38b78232b969",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(9) .array-add-button",
"target": "css=.row:nth-child(4) .array-add-button",
"targets": [
["css=.row:nth-child(9) .array-add-button", "css:finder"],
["xpath=(//button[@type='button'])[25]", "xpath:attributes"],
Expand All @@ -1663,12 +1663,12 @@
"id": "cbf15c4c-35d9-4f80-ba3d-bfe960048cd1",
"comment": "",
"command": "click",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > button",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[4]/div/div/div[1]/div/div/div[2]/div/div/div[1]/div/div[1]/div/div/button",
"targets": [
["css=.is-invalid > .toggle-button", "css:finder"],
["xpath=(//button[@type='button'])[27]", "xpath:attributes"],
["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[9]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:idRelative"],
["xpath=//div[9]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:position"]
["xpath=(//button[@type='button'])[22]", "xpath:attributes"],
["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[4]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:idRelative"],
["xpath=//div[4]/div/div/div/div/div/div[2]/div/div/div/div/div/div/div/button", "xpath:position"]
],
"value": ""
}, {
Expand Down Expand Up @@ -1698,7 +1698,7 @@
"id": "ed769470-9c3f-4c23-bbed-85513dcea800",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(9) .array-add-button",
"target": "css=.row:nth-child(4) .array-add-button",
"targets": [
["css=div:nth-child(9) .d-flex > .btn", "css:finder"],
["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"]
Expand All @@ -1715,7 +1715,7 @@
"id": "2b063eb8-f2d6-4a59-85bb-b04c467d9874",
"comment": "",
"command": "click",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(2) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > button",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[4]/div/div/div[1]/div/div/div[2]/div[2]/div/div[1]/div/div[1]/div/div/button",
"targets": [
["css=.is-invalid > .toggle-button", "css:finder"],
["xpath=(//button[@type='button'])[29]", "xpath:attributes"],
Expand Down Expand Up @@ -1750,7 +1750,7 @@
"id": "892ddc96-970b-4dde-9189-0dc9ed197dab",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(9) .array-add-button",
"target": "css=.row:nth-child(4) .array-add-button",
"targets": [
["css=div:nth-child(9) .d-flex > .btn", "css:finder"],
["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button", "xpath:position"]
Expand All @@ -1767,7 +1767,7 @@
"id": "64e215d9-6e46-422f-882c-13b6fb102622",
"comment": "",
"command": "click",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(3) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > button",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[4]/div/div/div[1]/div/div/div[2]/div[3]/div/div[1]/div/div[1]/div/div/button",
"targets": [
["css=#\\/relyingPartyOverrides\\/authenticationMethods\\/2-container .btn", "css:finder"],
["xpath=(//button[@type='button'])[9]", "xpath:attributes"],
Expand Down Expand Up @@ -1802,7 +1802,7 @@
"id": "f0dd4b79-eab5-4d4b-af2e-07ca661f8288",
"comment": "",
"command": "click",
"target": "css=.row:nth-child(9) .array-add-button",
"target": "css=.row:nth-child(4) .array-add-button",
"targets": [
["css=div:nth-child(9) .btn > translate-i18n", "css:finder"],
["xpath=//div[9]/sf-form-element/div/sf-widget-chooser/array-component/div/div/button/translate-i18n", "xpath:position"]
Expand All @@ -1812,7 +1812,7 @@
"id": "dacd34b0-9e48-4838-b137-bf22dd027ed0",
"comment": "",
"command": "click",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(4) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[4]/div/div/div[1]/div/div/div[2]/div[4]/div/div[1]/div/div[1]/div/div/div[1]/input[1]",
"targets": [
["css=.focus", "css:finder"],
["xpath=(//input[@value=''])[10]", "xpath:attributes"],
Expand All @@ -1824,7 +1824,7 @@
"id": "cc9dd18b-ee87-4aa7-91f2-59f02834759b",
"comment": "",
"command": "type",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(4) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"target": "xpath=//section/div[2]/div[2]/div/div/form/div/div[1]/div/div/div[9]/div/div[1]/div/div[4]/div/div/div[1]/div/div/div[2]/div[4]/div/div[1]/div/div[1]/div/div/div[1]/input[1]",
"targets": [
["id=field87", "id"],
["css=#field87", "css:finder"],
Expand All @@ -1836,10 +1836,10 @@
}, {
"id": "5b836abc-eb72-417f-acdc-8b3ec267cd96",
"comment": "",
"command": "sendKeys",
"target": "css=div.section-body.p-4.border.border-top-0.border-info > div:nth-child(3) > div > div > form > div > div:nth-child(1) > div > div > div:nth-child(9) > div > div:nth-child(1) > div > div:nth-child(9) > div > div > div:nth-child(1) > div > div > div.p-0.m-0.container-fluid > div:nth-child(4) > div > div.mr-2.flex-grow-1.undefined > div > div:nth-child(1) > div > div > div:nth-child(1) > input.rbt-input-main.form-control.rbt-input",
"command": "click",
"target": "css=body",
"targets": [],
"value": "${KEY_ENTER}"
"value": ""
}, {
"id": "7c85fe59-dc95-4328-a010-33d1a06a5ce5",
"comment": "",
Expand Down Expand Up @@ -1923,11 +1923,11 @@
"id": "e53030b6-f344-4361-981d-b8303a721c5d",
"comment": "",
"command": "assertText",
"target": "css=.d-flex:nth-child(8) .d-flex:nth-child(5) > .d-block",
"target": "css=.mb-4:nth-child(8) .d-flex:nth-child(5) > .d-block",
"targets": [
["css=.d-flex:nth-child(8) .d-flex:nth-child(5) > .d-block", "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]/ul/li[5]/span", "xpath:idRelative"],
["xpath=//div[8]/ul/li[5]/span", "xpath:position"]
["css=.mb-4:nth-child(8) .d-flex:nth-child(5) > .d-block", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[3]/div/section[8]/div/div[2]/div[2]/div/div[2]/ul/li[5]/span", "xpath:idRelative"],
["xpath=//section[8]/div/div[2]/div[2]/div/div[2]/ul/li[5]/span", "xpath:position"]
],
"value": "somethingElse"
}, {
Expand Down
Loading

0 comments on commit ef29b25

Please sign in to comment.