diff --git a/webapp/e2e/steps/i18n-steps.js b/webapp/e2e/steps/i18n-steps.js index 6d79e950..cefaadfa 100644 --- a/webapp/e2e/steps/i18n-steps.js +++ b/webapp/e2e/steps/i18n-steps.js @@ -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' });