Skip to content

Commit

Permalink
✨ Cambios finales - arreglado problemas de e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
coral2742 committed May 7, 2024
1 parent 60ce61b commit 3d58928
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ defineFeature(feature, test => {
let password;

given('An unregistered user', async () => {
username = "pablo"
password = "pabloasw"
username = "user_de_prueba"
password = "asw_user"
await expect(page).toClick("button", { text: "¿No tienes una cuenta? Regístrate aquí." });
});

Expand All @@ -41,7 +41,7 @@ defineFeature(feature, test => {
});

then('A confirmation message should be shown in the screen', async () => {
await expect(page).toMatchElement("div", { text: "User added successfully" });
expect(page).toMatchElement("div", { text: "Usuario añadido correctamente" });
});
})

Expand Down

0 comments on commit 3d58928

Please sign in to comment.