diff --git a/packages/nc-gui/components/project/spreadsheet/views/formView.vue b/packages/nc-gui/components/project/spreadsheet/views/formView.vue index ff8cffedcc..9b83783976 100644 --- a/packages/nc-gui/components/project/spreadsheet/views/formView.vue +++ b/packages/nc-gui/components/project/spreadsheet/views/formView.vue @@ -33,7 +33,7 @@ style="border-bottom: 2px solid rgb(218,218,218)" @click="addAllColumns()" > - + {{ $t('general.addAll') }} - + {{ $t('general.removeAll') }} diff --git a/scripts/cypress/integration/common/4c_form_view_detailed.js b/scripts/cypress/integration/common/4c_form_view_detailed.js index 0304ab79f0..2c8ed55119 100644 --- a/scripts/cypress/integration/common/4c_form_view_detailed.js +++ b/scripts/cypress/integration/common/4c_form_view_detailed.js @@ -87,7 +87,7 @@ export const genTest = (apiType, dbType) => { it(`Validate ${viewType} view: Inverted order field member addition from menu`, () => { cy.get(".col-md-4") .find(".pointer.caption") - .contains("remove all") + .contains("Remove all") .click(); // click fields in inverted order: LastUpdate, Country => City @@ -138,17 +138,17 @@ export const genTest = (apiType, dbType) => { // ensure buttons exist on left hand menu cy.get(".col-md-4") .find(".pointer.caption") - .contains("add all") + .contains("Add all") .should("not.exist"); cy.get(".col-md-4") .find(".pointer.caption") - .contains("remove all") + .contains("Remove all") .should("exist"); // click: remove-all cy.get(".col-md-4") .find(".pointer.caption") - .contains("remove all") + .contains("Remove all") .click(); // form should not contain any "field remove icons" -- except for mandatory field (Country) cy.get(".nc-form") @@ -158,15 +158,15 @@ export const genTest = (apiType, dbType) => { // menu bar should contain 3 .pointer.item (LastUpdate, County->City) cy.get(".col-md-4").find(".pointer.item").its("length").should("eq", 2); - // click: add all - // cy.get('.col-md-4').find('.pointer.caption').contains('remove all').should('not.exist') + // click: Add all + // cy.get('.col-md-4').find('.pointer.caption').contains('Remove all').should('not.exist') cy.get(".col-md-4") .find(".pointer.caption") - .contains("add all") + .contains("Add all") .click(); cy.get(".col-md-4") .find(".pointer.caption") - .contains("remove all") + .contains("Remove all") .should("exist"); // form should contain "field remove icons" cy.get(".nc-form").find(".nc-field-remove-icon").should("exist");