From 7d021d4cd9ec5071aef68ad2f6aaa509fb733a47 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Mon, 29 Jul 2019 21:28:49 -0700 Subject: [PATCH] SHIBUI-950 Minor updates to selenium scripts based on id changes in the UI. --- .../src/integration/resources/SHIBUI-950.side | 25 +++++++------------ 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-950.side b/backend/src/integration/resources/SHIBUI-950.side index 9e9eee1a2..0410a5155 100644 --- a/backend/src/integration/resources/SHIBUI-950.side +++ b/backend/src/integration/resources/SHIBUI-950.side @@ -127,29 +127,22 @@ "id": "67ad4a51-7c15-41e1-bc34-62a9f3e83b46", "comment": "", "command": "click", - "target": "css=.direction", + "target": "css=.next", "targets": [ - ["css=.direction", "css:finder"], - ["xpath=//span[2]", "xpath:position"] - ], - "value": "" - }, { - "id": "6b05d265-a392-4fe4-ad3f-9b4da12ca2d2", - "comment": "", - "command": "click", - "target": "css=td:nth-child(2)", - "targets": [ - ["css=td:nth-child(2)", "css:finder"], - ["xpath=//td[2]", "xpath:position"], - ["xpath=//td[contains(.,'https://wiki.shibboleth.net/shibboleth')]", "xpath:innerText"] + ["css=.next", "css:finder"], + ["xpath=//li[2]/button", "xpath:position"] ], "value": "" }, { "id": "cf4285d3-6f70-499e-ad3a-85278e27dbf0", "comment": "", "command": "waitForElementVisible", - "target": "css=.badge", - "targets": [], + "target": "css=tr > .text-right", + "targets": [ + ["css=tr > .text-right", "css:finder"], + ["xpath=//td[5]", "xpath:position"], + ["xpath=//td[contains(.,'Disabled')]", "xpath:innerText"] + ], "value": "10000" }, { "id": "185696df-a872-419e-81aa-7c9cfa1e2b90",