Skip to content

Commit

Permalink
Merge pull request #200 from Arquisoft/Develop
Browse files Browse the repository at this point in the history
e2e test updated
  • Loading branch information
UO287687 authored Apr 27, 2024
2 parents c7ddf7d + d24ea4c commit 2b887ae
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 2b887ae

Please sign in to comment.