diff --git a/scripts/cypress/integration/common/1b_table_column_operations.js b/scripts/cypress/integration/common/1b_table_column_operations.js index 8935fbe05d..948f8ff06e 100644 --- a/scripts/cypress/integration/common/1b_table_column_operations.js +++ b/scripts/cypress/integration/common/1b_table_column_operations.js @@ -14,7 +14,7 @@ export const genTest = (apiType, dbType) => { cy.snipActiveModal("Modal_AddNewRow"); cy.getActiveModal() .find("button") - .contains("Save Row") + .contains("Save row") .click({ force: true }); cy.toastWait("updated successfully"); @@ -120,7 +120,7 @@ export const genTest = (apiType, dbType) => { .type(updatedRandVal); cy.getActiveModal() .find("button") - .contains("Save Row") + .contains("Save row") .click({ force: true }); cy.toastWait("updated successfully"); diff --git a/scripts/cypress/integration/common/2b_table_with_m2m_column.js b/scripts/cypress/integration/common/2b_table_with_m2m_column.js index 0debb3c78d..e6f34b589c 100644 --- a/scripts/cypress/integration/common/2b_table_with_m2m_column.js +++ b/scripts/cypress/integration/common/2b_table_with_m2m_column.js @@ -79,7 +79,7 @@ export const genTest = (apiType, dbType) => { .contains("ACADEMY DINOSAUR") .should("exist"); cy.getActiveModal() - .find('button:contains("Save Row")') + .find('button:contains("Save row")') .should("exist"); cy.getActiveModal() .find('button:contains("Cancel")') diff --git a/scripts/cypress/integration/common/3a_filter_sort_fields_operations.js b/scripts/cypress/integration/common/3a_filter_sort_fields_operations.js index fb566a9b33..8568735c10 100644 --- a/scripts/cypress/integration/common/3a_filter_sort_fields_operations.js +++ b/scripts/cypress/integration/common/3a_filter_sort_fields_operations.js @@ -42,7 +42,7 @@ export const genTest = (apiType, dbType) => { cy.get("#data-table-form-Country > input") .first() .type("Test Country"); - cy.contains("Save Row").filter("button").click(); + cy.contains("Save row").filter("button").click(); cy.toastWait("updated successfully"); diff --git a/scripts/cypress/integration/common/4f_grid_view_share.js b/scripts/cypress/integration/common/4f_grid_view_share.js index bbc033d1b4..4ba936eacd 100644 --- a/scripts/cypress/integration/common/4f_grid_view_share.js +++ b/scripts/cypress/integration/common/4f_grid_view_share.js @@ -419,7 +419,7 @@ export const genTest = (apiType, dbType) => { .first() .click() .type("a"); - cy.contains("Save Row").filter("button").click({ force: true }); + cy.contains("Save row").filter("button").click({ force: true }); cy.toastWait("updated successfully"); // add column diff --git a/scripts/cypress/integration/common/4f_pg_grid_view_share.js b/scripts/cypress/integration/common/4f_pg_grid_view_share.js index d78d11280c..892f871eec 100644 --- a/scripts/cypress/integration/common/4f_pg_grid_view_share.js +++ b/scripts/cypress/integration/common/4f_pg_grid_view_share.js @@ -415,7 +415,7 @@ export const genTest = (apiType, dbType) => { .first() .click() .type("a"); - cy.contains("Save Row").filter("button").click({ force: true }); + cy.contains("Save row").filter("button").click({ force: true }); cy.toastWait("updated successfully"); // add column diff --git a/scripts/cypress/integration/spec/roleValidation.spec.js b/scripts/cypress/integration/spec/roleValidation.spec.js index 7221d7cf15..696243c714 100644 --- a/scripts/cypress/integration/spec/roleValidation.spec.js +++ b/scripts/cypress/integration/spec/roleValidation.spec.js @@ -95,7 +95,7 @@ export function _editData(roleType, previewMode) { // //cy.get('.nc-row-expand-icon').eq(4).click({ force: true }) cy.get(".v-input.row-checkbox").eq(4).next().next().click({ force: true }); - cy.getActiveModal().find("button").contains("Save Row").should("exist"); + cy.getActiveModal().find("button").contains("Save row").should("exist"); cy.get("body").type("{esc}"); } else { // update cell contents option using row expander should be disabled @@ -104,7 +104,7 @@ export function _editData(roleType, previewMode) { cy.get(".v-input.row-checkbox").eq(4).next().next().click({ force: true }); cy.getActiveModal() .find("button:disabled") - .contains("Save Row") + .contains("Save row") .should("exist"); cy.getActiveModal().find("button").contains("Cancel").click(); cy.get("body").type("{esc}");