diff --git a/webapp/e2e/steps/register-form.steps.js b/webapp/e2e/steps/register-form.steps.js index 651500a1..d09c62cb 100644 --- a/webapp/e2e/steps/register-form.steps.js +++ b/webapp/e2e/steps/register-form.steps.js @@ -41,8 +41,7 @@ defineFeature(feature, test => { }); then('I should be redirected to main page', async () => { - await expect(page).toMatchElement("div", { text: "Usuario añadido correctamente" }); - + await expect(page).toMatchElement("h2", { text: "¡Bienvenido a" }); }); })