diff --git a/webapp/e2e/steps/login-form.steps.js b/webapp/e2e/steps/login-form.steps.js index 35605052..4839d3e6 100644 --- a/webapp/e2e/steps/login-form.steps.js +++ b/webapp/e2e/steps/login-form.steps.js @@ -35,8 +35,8 @@ defineFeature(feature, test => { await expect(page).toFill('input[name="password"]', password); await expect(page).toFill('input[name="passwordRepeat"]', password); await expect(page).toClick("button", { text: "Registrarse" }); - await page.waitForSelector('a.nav__link', { text: 'Login', visible: true }); - await expect(page).toClick('a.nav__link', { text: 'Login' }); + await page.waitForSelector('a.nav__link', { text: 'Logout', visible: true }); + await expect(page).toClick('a.nav__link', { text: 'Logout' }); }); test('The user is registered in the site', ({ given, when, then }) => {