From c3f7d1fc507aa341644bd6c7634776ffa9189268 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Tue, 13 Sep 2022 12:23:43 -0400 Subject: [PATCH] NOJIRA Fixed a text compare and what looked to be a race condition --- .../integration/resources/SHIBUI-2268.side | 22 +++++++------------ .../integration/resources/SHIBUI-2270-2.side | 7 ++++++ 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-2268.side b/backend/src/integration/resources/SHIBUI-2268.side index a9533b8c8..0dc9a83dd 100644 --- a/backend/src/integration/resources/SHIBUI-2268.side +++ b/backend/src/integration/resources/SHIBUI-2268.side @@ -948,24 +948,18 @@ ["xpath=//div[4]/div/div/div[3]/button", "xpath:position"] ], "value": "" - }, { - "id": "6cd2789b-4ec1-4153-8d4e-fb896a1b0e5e", - "comment": "", - "command": "click", - "target": "css=.align-items-end", - "targets": [ - ["css=.align-items-end", "css:finder"], - ["xpath=//div[@id='root']/div/footer/div/div[2]/div", "xpath:idRelative"], - ["xpath=//footer/div/div[2]/div", "xpath:position"] - ], - "value": "" }, { "id": "b9432398-233d-4872-8b56-9aa8fd48ca85", "comment": "", "command": "assertText", - "target": "css=.alert", - "targets": [], - "value": "No FiltersNo filters have been added to this Metadata Provider" + "target": "css=.alert > p", + "targets": [ + ["css=.alert > p", "css:finder"], + ["xpath=//div[@id='filters']/div[2]/p", "xpath:idRelative"], + ["xpath=//section/div/div/div[3]/div[2]/p", "xpath:position"], + ["xpath=//p[contains(.,'No filters have been added to this Metadata Provider')]", "xpath:innerText"] + ], + "value": "No filters have been added to this Metadata Provider" }, { "id": "3543733a-3e14-4f07-9aaa-e29a26fe36b1", "comment": "", diff --git a/backend/src/integration/resources/SHIBUI-2270-2.side b/backend/src/integration/resources/SHIBUI-2270-2.side index 2872ad331..9f1c37d7a 100644 --- a/backend/src/integration/resources/SHIBUI-2270-2.side +++ b/backend/src/integration/resources/SHIBUI-2270-2.side @@ -2114,6 +2114,13 @@ ["xpath=//div[4]/div/div/div[3]/button", "xpath:position"] ], "value": "" + }, { + "id": "d7643f3c-f387-4404-8f8b-e73ebfeb0754", + "comment": "", + "command": "pause", + "target": "5000", + "targets": [], + "value": "" }, { "id": "efc6da0e-490c-4c8b-b4d2-07b71059d0ef", "comment": "",