Skip to content

Commit

Permalink
attempt to stabilize
Browse files Browse the repository at this point in the history
  • Loading branch information
Zasa-san committed Jan 13, 2025
1 parent 0545a47 commit 638e4b2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypress/e2e/settings/languages.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ const addLanguages = (languages: string[]) => {
cy.clearAndType('input[type=text]', lang);
cy.contains('button', lang).click();
});
cy.contains('button', 'Install').click();
cy.get('[data-testid=modal]').should('not.exist');
});
};

Expand All @@ -35,10 +37,6 @@ describe('Languages', () => {
cy.intercept('POST', 'api/translations/languages').as('addLanguage');

addLanguages(['Spanish', 'French']);
cy.get('[data-testid=modal]').within(() => {
cy.contains('button', 'Install').click();
});
cy.get('[data-testid=modal]').should('not.exist');

cy.wait('@addLanguage');
cy.contains('Dismiss').click();
Expand Down

0 comments on commit 638e4b2

Please sign in to comment.