Skip to content

Commit

Permalink
arreglo errores
Browse files Browse the repository at this point in the history
  • Loading branch information
uo285427 committed Apr 30, 2024
1 parent 8f41293 commit 3a672d7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webapp/e2e/steps/login-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ defineFeature(feature, test => {
});

when('I fill the data in the form and press submit', async () => {
await expect(page).toFill('input[name="username"]', username);
await expect(page).toFill('input[name="password"]', password);
await expect(page).toFill('input[label="Username"]', username);
await expect(page).toFill('input[label="Password"]', password);
await expect(page).toClick('button', { text: 'Iniciar sesión' })
});

Expand Down
1 change: 0 additions & 1 deletion webapp/e2e/steps/play-game.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const puppeteer = require('puppeteer');
const { defineFeature, loadFeature }=require('jest-cucumber');
const setDefaultOptions = require('expect-puppeteer').setDefaultOptions
const feature = loadFeature('./features/play-game.feature');
const {textVerifyByXpath}=require('../steps_testUtils');

let page;
let browser;
Expand Down
1 change: 0 additions & 1 deletion webapp/e2e/steps/settings.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const puppeteer = require('puppeteer');
const { defineFeature, loadFeature }=require('jest-cucumber');
const setDefaultOptions = require('expect-puppeteer').setDefaultOptions
const feature = loadFeature('./features/settings.feature');
const {textVerifyByXpath}=require('../steps_testUtils');

let page;
let browser;
Expand Down

0 comments on commit 3a672d7

Please sign in to comment.