Skip to content

Commit

Permalink
✨ Cambios en e2e - redirección a main page
Browse files Browse the repository at this point in the history
  • Loading branch information
coral2742 committed May 8, 2024
1 parent 8bfa56e commit da10432
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" });

});
})
Expand Down

0 comments on commit da10432

Please sign in to comment.