Skip to content

Commit

Permalink
#8346 Reset language settings after test
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Apr 24, 2023
1 parent 5d67bfb commit 8d8bd18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/tests/integration/Multilingual.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,12 @@ describe('Multilingual configurations', function() {
cy.get('#titleAbstract-title-control-fr_CA').type("L'influence de la lactation sur la quantité et la qualité de la production de cachemire", {force: true});
cy.get('#titleAbstract button').contains('Save').click();
cy.get('#titleAbstract [role="status"]').contains('Saved');

// Re-enable French in UI
cy.visit('index.php/publicknowledge/management/settings/website');
cy.get('button').contains('Setup').eq(0).click();
cy.get('button').contains('Languages').click();
cy.get('input[id^="select-cell-fr_CA-uiLocale').check();
cy.contains('Locale settings saved.');
});
});

0 comments on commit 8d8bd18

Please sign in to comment.