From 73efa71d0b46fd23802b0dfd757b06076b62e708 Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 11 Dec 2024 00:29:01 -0400 Subject: [PATCH] Update vocabularies functions --- pages/process.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/process.js b/pages/process.js index 0e85a85..4995a15 100644 --- a/pages/process.js +++ b/pages/process.js @@ -843,6 +843,8 @@ export class Process { this.clickOnSave(); //cy.xpath(selectors.saveBtnInPopUp).should('be.visible').click(); //cy.get(selectors.alertSaveProcess).should('be.visible'); + cy.xpath('[id="name"]').should('be.visible'); + cy.wait(3000); cy.xpath('//button[@data-test="btn-save-publish"]').click(); cy.get('[class="alert d-none d-lg-block alertBox alert-dismissible alert-success"]').should('be.visible'); } @@ -2030,6 +2032,7 @@ export class Process { .and('equal', vocabularyName+". "); cy.xpath('//div[@aria-label="Select Vocabulary"]//input').type('{enter}'); cy.xpath('//div[@class="card"]//button[@class="d-block float-right ml-2 btn btn-secondary btn-vocabulary-action btn-sm"]').click(); + cy.wait(2000); this.saveProcessWithoutVersion(); }