From ea526aea14d1583b7630d28e120b43c25eec2887 Mon Sep 17 00:00:00 2001 From: PaolaPellegrini <51709910+PaolaPellegrini@users.noreply.github.com> Date: Fri, 3 May 2024 09:14:59 -0400 Subject: [PATCH] add selectors --- selectors/idp.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selectors/idp.js b/selectors/idp.js index 4ffb2a8..41b0be5 100644 --- a/selectors/idp.js +++ b/selectors/idp.js @@ -9,7 +9,8 @@ export default { overview:'//*[@id="overview-tab"]', documentTypeXpath:'(//input[@placeholder="Type to search"])[1]', destinationXpath:'(//input[@placeholder="Type to search"])[2]', - publishNewVerionButton:'//*[@class="btn btn-secondary"]', + publishNewVersionButton:'[data-test="btn-save-publish"]', + saveLaunchPadButton: '[data-test="launchpad-modal-btn-ok"]', useRequestVariableDocumentType:'//div[text()[normalize-space()=""]]/parent::div//input[@name="document-type-request-variable"]', userRequestVariableSelectDestination:'[name="destination-request-variable"]', inputDocumentType:'//input[@name="documentType"]',