|
|
@ -47,7 +47,9 @@ export const genTest = (apiType, dbType) => { |
|
|
|
|
|
|
|
|
|
|
|
// Configure Default Number
|
|
|
|
// Configure Default Number
|
|
|
|
fetchParentFromLabel("Default Number (%)"); |
|
|
|
fetchParentFromLabel("Default Number (%)"); |
|
|
|
|
|
|
|
if (defaultNumber) { |
|
|
|
cy.getActiveMenu().contains(defaultNumber).click(); |
|
|
|
cy.getActiveMenu().contains(defaultNumber).click(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Configure Negative
|
|
|
|
// Configure Negative
|
|
|
|
if (negative) { |
|
|
|
if (negative) { |
|
|
@ -134,7 +136,7 @@ export const genTest = (apiType, dbType) => { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
mainPage.getRow(index).find(".nc-row-expand-icon").click({ force: true }); |
|
|
|
mainPage.getRow(index).find(".nc-row-expand-icon").click({ force: true }); |
|
|
|
} |
|
|
|
} |
|
|
|
cy.get(".duration-cell-wrapper > input").first().should('exist').type(cellValue); |
|
|
|
cy.get(".percent-cell-wrapper > input").first().should('exist').type(cellValue); |
|
|
|
cy.getActiveModal().find("button").contains("Save row").click({ force: true }); |
|
|
|
cy.getActiveModal().find("button").contains("Save row").click({ force: true }); |
|
|
|
cy.toastWait("Row updated successfully"); |
|
|
|
cy.toastWait("Row updated successfully"); |
|
|
|
mainPage.getCell(colName, index).find('input').then(($e) => { |
|
|
|
mainPage.getCell(colName, index).find('input').then(($e) => { |
|
|
|