diff --git a/client/app/src/pages/admin/settings/tab1/tab1.component.html b/client/app/src/pages/admin/settings/tab1/tab1.component.html index b753326e86..b95046a889 100644 --- a/client/app/src/pages/admin/settings/tab1/tab1.component.html +++ b/client/app/src/pages/admin/settings/tab1/tab1.component.html @@ -17,7 +17,7 @@
- +
diff --git a/client/cypress/e2e/11-test-admin-configure-languages.cy.ts b/client/cypress/e2e/11-test-admin-configure-languages.cy.ts index 550b74f380..b7d69cb8d2 100644 --- a/client/cypress/e2e/11-test-admin-configure-languages.cy.ts +++ b/client/cypress/e2e/11-test-admin-configure-languages.cy.ts @@ -30,7 +30,7 @@ describe("admin configure languages", () => { cy.waitForUrl("/#/admin/settings"); cy.get('#LanguagePickerBox').should('be.visible').find('ng-select').last().click().get('ng-dropdown-panel').contains('Italiano').click(); - cy.get('[data-cy="header_title_homepage"]').clear().type("TEXT1_IT"); + cy.get('[name="node.dataModel.header_title_homepage"]').clear().type("TEXT1_IT"); cy.get('[name="node.dataModel.presentation"]').clear().type("TEXT2_IT"); cy.get('button.btn.btn-primary').eq(0).get("#save_settings").click(); @@ -60,8 +60,7 @@ describe("admin configure languages", () => { cy.visit("/#/admin/settings"); cy.waitForUrl("/#/admin/settings"); cy.get('#LanguagePickerBox').should('be.visible', { timeout: 10000 }).find('ng-select').last().click().get('ng-dropdown-panel').contains('Italian').click(); - cy.get('[data-cy="header_title_homepage"]').clear(); - + cy.get('[name="node.dataModel.header_title_homepage"]').clear(); cy.get('[name="node.dataModel.presentation"]').clear(); cy.get('button.btn.btn-primary').eq(0).get("#save_settings").click();