Skip to content

Commit

Permalink
Intento de que funcione test:e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Verzidee committed Apr 8, 2024
1 parent d8fc35b commit c591926
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions webapp/e2e/steps/history.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let browser;

defineFeature(feature, test => {

let username = "yago20"
let username = "yago24"
let password = "yago1"

beforeAll(async () => {
Expand Down Expand Up @@ -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 () => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/jugar-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let page;
let browser;

defineFeature(feature, (test) => {
let username = "zohaib20";
let username = "zohaib24";
let password = "zohaib1";

beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let browser;

defineFeature(feature, test => {

let username = "santiago20"
let username = "santiago24"
let password = "santiago1"

beforeAll(async () => {
Expand Down
2 changes: 1 addition & 1 deletion webapp/e2e/steps/register-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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í." });
});
Expand Down

0 comments on commit c591926

Please sign in to comment.