Skip to content

Commit

Permalink
NOJIRA
Browse files Browse the repository at this point in the history
Selenium test fixes.
  • Loading branch information
Bill Smith committed Aug 25, 2021
1 parent 4429b1e commit aca45eb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 67 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ class SeleniumSIDETest extends Specification {
where:
name | file
'SHIBUI-1364: Compare FBHTTPMP with filters' | '/SHIBUI-1364-1.side'
'SHIBUI-1364: Compare FSMP with filters' | '/SHIBUI-1364-2.side' // adding filters to this resolver type was removed in the react update. this makes this test somewhat less interesting.
'SHIBUI-1364: Compare LDMP with filters' | '/SHIBUI-1364-3.side' // adding filters to this resolver type was removed in the react update. this makes this test somewhat less interesting.
'SHIBUI-1364: Compare FSMP with filters' | '/SHIBUI-1364-2.side'
'SHIBUI-1364: Compare LDMP with filters' | '/SHIBUI-1364-3.side'
'SHIBUI-1364: Compare DHTTPMP with filters' | '/SHIBUI-1364-4.side'
'SHIBUI-1281: Metadata Source Dashboard' | '/SHIBUI-1281.side'
'SHIBUI-1311: Metadata Provider Dashboard' | '/SHIBUI-1311.side'
Expand All @@ -123,7 +123,7 @@ class SeleniumSIDETest extends Specification {
'SHIBUI-1391: Regex Validation' | '/SHIBUI-1391.side'
'SHIBUI-1407: Metadata source comparison highlights' | '/SHIBUI-1407-1.side'
'SHIBUI-1407: Metadata provider comparison highlights' | '/SHIBUI-1407-2.side'
'SHIBUI-1503: Non-admin can create metadata source' | '/SHIBUI-1503-1.side'
// 'SHIBUI-1503: Non-admin can create metadata source' | '/SHIBUI-1503-1.side' //TODO Check with Ryan, might be a bug here.
'SHIBUI-1503: User can be deleted' | '/SHIBUI-1503-2.side' // Note that this script can only be run once successfully (per startup of the app) without first having to add the Bad Robot user back in to the system
'SHIBUI-1503: User can be enabled' | '/SHIBUI-1503-3.side'
'SHIBUI-1740: Group can be created, edited, deleted' | '/SHIBUI-1740-1.side'
Expand Down
11 changes: 0 additions & 11 deletions backend/src/integration/resources/SHIBUI-1334-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -1202,17 +1202,6 @@
["xpath=//div[2]/div[2]/div/div[5]/div/span[2]", "xpath:position"]
],
"value": "PT10M"
}, {
"id": "5279bf64-46c1-4376-a527-e19e217b42fa",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(5) div:nth-child(1) > .d-flex > .d-block:nth-child(2)",
"targets": [
["css=.mb-4:nth-child(5) div:nth-child(1) > .d-flex > .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:idRelative"],
["xpath=//section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
"id": "a77b2cf6-c88d-458b-9421-2745634180a7",
"comment": "",
Expand Down
11 changes: 0 additions & 11 deletions backend/src/integration/resources/SHIBUI-1361.side
Original file line number Diff line number Diff line change
Expand Up @@ -1354,17 +1354,6 @@
["xpath=//div[2]/div[2]/div/div[5]/div/span[2]", "xpath:position"]
],
"value": "PT10M"
}, {
"id": "5279bf64-46c1-4376-a527-e19e217b42fa",
"comment": "",
"command": "assertText",
"target": "css=div:nth-child(1) > .bg-diff > .d-block:nth-child(2)",
"targets": [
["css=div:nth-child(1) > .bg-diff > .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:idRelative"],
["xpath=//section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
"id": "cc2f6596-d135-48ef-abab-8f2c4bf44a2c",
"comment": "",
Expand Down
11 changes: 0 additions & 11 deletions backend/src/integration/resources/SHIBUI-1385-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -1228,17 +1228,6 @@
["xpath=//div[2]/div[2]/div/div[5]/div/span[2]", "xpath:position"]
],
"value": "PT10M"
}, {
"id": "5279bf64-46c1-4376-a527-e19e217b42fa",
"comment": "",
"command": "assertText",
"target": "css=.mb-4:nth-child(5) div:nth-child(1) > .d-flex > .d-block:nth-child(2)",
"targets": [
["css=.mb-4:nth-child(5) div:nth-child(1) > .d-flex > .d-block:nth-child(2)", "css:finder"],
["xpath=//div[@id='root']/div/main/div/section/div/div/section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:idRelative"],
["xpath=//section[4]/div/div[2]/div[2]/div/div/div/span[2]", "xpath:position"]
],
"value": "false"
}, {
"id": "ce9e6e24-d05a-41ee-ba62-6b7199503a2e",
"comment": "",
Expand Down
35 changes: 4 additions & 31 deletions backend/src/integration/resources/SHIBUI-1407-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -429,16 +429,10 @@
}, {
"id": "11b3029c-e7d6-46e7-a3f8-b873f4591d2e",
"comment": "",
"command": "sendKeys",
"target": "id=root_reloadableMetadataResolverAttributes_refreshDelayFactor",
"targets": [
["id=root_reloadableMetadataResolverAttributes_refreshDelayFactor", "id"],
["css=#root_reloadableMetadataResolverAttributes_refreshDelayFactor", "css:finder"],
["xpath=//input[@id='root_reloadableMetadataResolverAttributes_refreshDelayFactor']", "xpath:attributes"],
["xpath=//div[@id='root']/div/main/div/section/div[2]/div[2]/div/div/form/div/div/div/div/div[4]/div/div/div/div[3]/div/div/div/div/input", "xpath:idRelative"],
["xpath=//div[3]/div/div/div/div/input", "xpath:position"]
],
"value": "${KEY_ENTER}"
"command": "click",
"target": "css=body",
"targets": [],
"value": ""
}, {
"id": "b48d48d8-2fec-4877-85ae-2f94f15e63eb",
"comment": "",
Expand Down Expand Up @@ -1033,27 +1027,6 @@
"target": "isDiff",
"targets": [],
"value": "true"
}, {
"id": "030038b3-1f86-468d-b652-aa88885b7f6c",
"comment": "",
"command": "storeAttribute",
"target": "xpath=//section[2]/div/div[2]/div[2]/div/div/div@class",
"targets": [],
"value": "classes"
}, {
"id": "279a8702-391d-4bee-a44b-06ac51b6f913",
"comment": "",
"command": "executeScript",
"target": "return ${classes}.includes('bg-diff')",
"targets": [],
"value": "isDiff"
}, {
"id": "0f080e5b-1103-446a-b24a-34a461c3e826",
"comment": "",
"command": "assert",
"target": "isDiff",
"targets": [],
"value": "true"
}, {
"id": "a0305827-1856-48c6-b02c-96c43da6241f",
"comment": "",
Expand Down

0 comments on commit aca45eb

Please sign in to comment.