Browse Source

test: kludge for name highlight render on column modal

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3845/head
Raju Udava 2 years ago
parent
commit
5bcbe6bd50
  1. 9
      scripts/cypress/integration/common/3e_duration_column.js

9
scripts/cypress/integration/common/3e_duration_column.js

@ -57,6 +57,10 @@ export const genTest = (apiType, dbType) => {
.contains("Duration") .contains("Duration")
.click(); .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 // Configure Duration format
fetchParentFromLabel("Duration Format"); fetchParentFromLabel("Duration Format");
cy.getActiveSelection(".nc-dropdown-duration-option") cy.getActiveSelection(".nc-dropdown-duration-option")
@ -96,6 +100,11 @@ export const genTest = (apiType, dbType) => {
.should("exist") .should("exist")
.clear() .clear()
.type(newName); .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 // Configure Duration format
fetchParentFromLabel("Duration Format"); fetchParentFromLabel("Duration Format");
cy.getActiveSelection(".nc-dropdown-duration-option") cy.getActiveSelection(".nc-dropdown-duration-option")

Loading…
Cancel
Save