|
|
|
@ -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") |
|
|
|
|