From 2721f1f7e15358a3681b004b7115b74c3300a074 Mon Sep 17 00:00:00 2001 From: WendyFPM Date: Wed, 29 May 2024 00:11:21 -0400 Subject: [PATCH] updateMethodsToAB --- pages/abTesting.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/abTesting.js b/pages/abTesting.js index 1d1ac5e..10d5715 100644 --- a/pages/abTesting.js +++ b/pages/abTesting.js @@ -78,7 +78,7 @@ export class ABTesting { clickOnInspectorBtn(iframeOption = 'a') { let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB - cy.iframe(iframeSelector).find(selectors.menuInspectorBtn).click(); + cy.iframe(iframeSelector).find(selectors.menuInspectorBtn).click({ force:true }); } //Publish New Version @@ -99,6 +99,7 @@ export class ABTesting { default: break; } + this.load(); this.clickOnSaveAndPublish(iframeOption); } @@ -337,7 +338,6 @@ export class ABTesting { renameStartEventName(nameElement,newName,iframeOption = 'a'){ let iframeSelector = iframeOption === 'a' ? selectors.iframeA : selectors.iframeB - this.clickOnInspectorBtn(iframeOption); this.clickOnStartEvent(nameElement, iframeOption); cy.iframe(iframeSelector).xpath('//div[@id="collapse-inspector-accordion-start-event"]//input[@name="name"]').clear().type(newName); }