diff --git a/scripts/cypress/integration/common/3e_duration_column.js b/scripts/cypress/integration/common/3e_duration_column.js index c0f9f466df..ce7691d5ca 100644 --- a/scripts/cypress/integration/common/3e_duration_column.js +++ b/scripts/cypress/integration/common/3e_duration_column.js @@ -57,6 +57,10 @@ export const genTest = (apiType, dbType) => { .contains("Duration") .click(); + // fix me! wait till the modal rendering (input highlight) is completed + // focus shifts back to the input field to select text after the dropdown is rendered + cy.wait(500); + // Configure Duration format fetchParentFromLabel("Duration Format"); cy.getActiveSelection(".nc-dropdown-duration-option") @@ -96,6 +100,11 @@ export const genTest = (apiType, dbType) => { .should("exist") .clear() .type(newName); + + // fix me! wait till the modal rendering (input highlight) is completed + // focus shifts back to the input field to select text after the dropdown is rendered + cy.wait(500); + // Configure Duration format fetchParentFromLabel("Duration Format"); cy.getActiveSelection(".nc-dropdown-duration-option")