Skip to content

Commit

Permalink
e2e test updated
Browse files Browse the repository at this point in the history
  • Loading branch information
UO287687 committed Apr 27, 2024
1 parent 48b1795 commit d24ea4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions webapp/e2e/steps/i18n-steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ defineFeature(feature, test => {
then('A Classic Game message should be shown in different languages', async () => {
await expect(page).toMatchElement("span", { text: "Juego Clásico" });

await page.waitForSelector('button.menuLeft', { text: '' });
await expect(page).toClick('button.menuLeft', { text: '' });

await page.waitForSelector('div.languageButton', { text: '' });
await expect(page).toClick('div.languageButton', { text: '' });
await page.waitForSelector('li', { text: 'Italiano' });
Expand Down

0 comments on commit d24ea4c

Please sign in to comment.