Skip to content

Commit

Permalink
prueba para ver si pasan ahora los test e2e en la release
Browse files Browse the repository at this point in the history
  • Loading branch information
uo282189 committed Apr 24, 2024
1 parent 6d2655a commit f7f25cd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ defineFeature(feature, test => {

await expect(page).toClick('#addRegister');

await page.waitForTimeout(2000);
await page.goto("http://localhost:3000/login", {
waitUntil: "networkidle0",
});

//nos logeamos con ese usuario
await expect(page).toFill('input[name="username"]', username);
Expand All @@ -67,7 +69,6 @@ defineFeature(feature, test => {
});

then('A confirmation message should be shown in the screen', async () => {
//await expect(page).toMatchElement("#loginMessage", { text: "Inicio de sesión correcto" });
await expect(page).toMatchElement("#iconoUsuario");

//cerramos la sesion
Expand Down

0 comments on commit f7f25cd

Please sign in to comment.