Skip to content

Commit

Permalink
SHIBUI-1461
Browse files Browse the repository at this point in the history
Another attempt at stabilizing some of the intermittently failing tests.

Also, added another parameter so that the tests can be run headless from
a development environment easily. Simply add `-Dwebdriver.headless=true`
to the execution command.
  • Loading branch information
Bill Smith committed Sep 10, 2019
1 parent f17ba67 commit 27338ac
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ class SeleniumSIDETest extends Specification {
} else {
it.baseurl = "http://localhost:${this.randomPort}"
}
if (System.properties.getProperty('webdriver.headless')) {
it.addCliArgs('--headless')
}
it
}
def runner = new Runner()
Expand Down
15 changes: 11 additions & 4 deletions backend/src/integration/resources/SHIBUI-1334-1.side
Original file line number Diff line number Diff line change
Expand Up @@ -2198,10 +2198,10 @@
}, {
"id": "e23ad673-a84c-4c28-a927-8baf21fe1f12",
"comment": "",
"command": "waitForElementEditable",
"target": "id=/mdui/displayName",
"command": "pause",
"target": "5000",
"targets": [],
"value": "10000"
"value": ""
}, {
"id": "6f422a9d-6c2f-4200-bdd3-411ed44773a3",
"comment": "",
Expand All @@ -2215,6 +2215,13 @@
["xpath=//input", "xpath:position"]
],
"value": "Display Name v3"
}, {
"id": "77bfef92-d0e6-41eb-9cd1-c2ede0cb9144",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "c2d29077-30c4-45cf-81c9-b5790294e11e",
"comment": "",
Expand Down Expand Up @@ -2310,4 +2317,4 @@
}],
"urls": ["http://localhost:10101/"],
"plugins": []
}
}
23 changes: 22 additions & 1 deletion backend/src/integration/resources/SHIBUI-1335-2.side
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,13 @@
["xpath=//input", "xpath:position"]
],
"value": "Entity Attributes"
}, {
"id": "36dac228-9203-4f2e-a623-db41ef8c019f",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "f2c07797-07f6-4325-8c5f-57a676dc982c",
"comment": "",
Expand All @@ -385,6 +392,13 @@
["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "1c424cfa-8201-40df-b8ed-ddec065dfd66",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "bca61e15-7c13-4007-8c90-1a667bbef67d",
"comment": "",
Expand All @@ -399,6 +413,13 @@
["xpath=//a[contains(.,'Regex')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "98f6eea0-36ff-449c-b042-98b87f0d3a70",
"comment": "",
"command": "pause",
"target": "5000",
"targets": [],
"value": ""
}, {
"id": "e0c65de5-d74a-4d87-aca0-9e9f4b37fb36",
"comment": "",
Expand Down Expand Up @@ -746,4 +767,4 @@
}],
"urls": ["http://localhost:10101/"],
"plugins": []
}
}
23 changes: 22 additions & 1 deletion backend/src/integration/resources/SHIBUI-1392.side
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,13 @@
["xpath=//input", "xpath:position"]
],
"value": "Filter with Script"
}, {
"id": "493b9b4a-3e87-4cc5-be70-1a93d6d0d8b7",
"comment": "",
"command": "pause",
"target": "3000",
"targets": [],
"value": ""
}, {
"id": "c92e936c-d516-472f-9f28-36de89117e14",
"comment": "",
Expand All @@ -335,6 +342,13 @@
["xpath=//button[contains(.,'Entity ID')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "cf3440dc-09b5-4b14-91e6-b7f038b07a97",
"comment": "",
"command": "pause",
"target": "3000",
"targets": [],
"value": ""
}, {
"id": "5699a5a2-d3df-4f99-b95d-f340f9156ffe",
"comment": "",
Expand All @@ -349,6 +363,13 @@
["xpath=//a[contains(.,'Script')]", "xpath:innerText"]
],
"value": ""
}, {
"id": "4de0d8ce-74d5-4413-a9e8-73237a906bbd",
"comment": "",
"command": "pause",
"target": "3000",
"targets": [],
"value": ""
}, {
"id": "786cd3cb-46b2-4361-b449-8f679ff97135",
"comment": "",
Expand Down Expand Up @@ -476,4 +497,4 @@
}],
"urls": ["http://localhost:10101/"],
"plugins": []
}
}

0 comments on commit 27338ac

Please sign in to comment.