diff --git a/webapp/e2e/steps/history.steps.js b/webapp/e2e/steps/history.steps.js index 5c0501f..288ff4e 100644 --- a/webapp/e2e/steps/history.steps.js +++ b/webapp/e2e/steps/history.steps.js @@ -8,7 +8,7 @@ let browser; defineFeature(feature, test => { - let username = "yago20" + let username = "yago24" let password = "yago1" beforeAll(async () => { @@ -55,10 +55,10 @@ defineFeature(feature, test => { }); when('I press history', async () => { - await page.waitForSelector('a[data-testid="historial-link"]', { + await page.waitForSelector('a[id="historial-link"]', { visible: true, }); - await page.click('a[data-testid="historial-link"]'); + await page.click('a[id="historial-link"]'); }); then('I see my history', async () => { diff --git a/webapp/e2e/steps/jugar-form.steps.js b/webapp/e2e/steps/jugar-form.steps.js index 426a5de..44e7e86 100644 --- a/webapp/e2e/steps/jugar-form.steps.js +++ b/webapp/e2e/steps/jugar-form.steps.js @@ -7,7 +7,7 @@ let page; let browser; defineFeature(feature, (test) => { - let username = "zohaib20"; + let username = "zohaib24"; let password = "zohaib1"; beforeAll(async () => { diff --git a/webapp/e2e/steps/login-form.steps.js b/webapp/e2e/steps/login-form.steps.js index 333f254..678ef78 100644 --- a/webapp/e2e/steps/login-form.steps.js +++ b/webapp/e2e/steps/login-form.steps.js @@ -8,7 +8,7 @@ let browser; defineFeature(feature, test => { - let username = "santiago20" + let username = "santiago24" let password = "santiago1" beforeAll(async () => { diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index c2351bc..0069bb2 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -25,7 +25,7 @@ defineFeature(feature, test => { let password; given('An unregistered user', async () => { - username = "abdulla20" + username = "abdulla24" password = "abdulla20" await expect(page).toClick("a", { text: "¿No tienes una cuenta? Registrate aquí." }); });