From 3fa935ab42beca1b37aaf83605bdbbe83b93e43b Mon Sep 17 00:00:00 2001 From: WendyFPM Date: Mon, 10 Jun 2024 08:53:18 -0400 Subject: [PATCH] UpdMethodInRequestTitle --- pages/requestTitle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/requestTitle.js b/pages/requestTitle.js index 15f22be..b099d02 100644 --- a/pages/requestTitle.js +++ b/pages/requestTitle.js @@ -13,7 +13,7 @@ export class RequestTitle { cy.get(selectors.caseTitleField).should('be.visible').click().clear(); cy.get(selectors.caseTitleField).type(caseTitle); cy.xpath('//div[@aria-label="Category"]//span[text()="Uncategorized"]').should('be.visible'); - cy.xpath('//div[@id="nav-config"]//button[text()="Save"]').should('be.visible').click({force: true}); + cy.xpath('//div[@id="nav-config"]//button[text()="Save and publish"]').should('be.visible').click({force: true}); cy.get('[class="alert d-none d-lg-block alertBox alert-dismissible alert-success"]').should('be.visible'); }