From 0a7a6461c59fc585355ed9d2a39f04785eb9de5e Mon Sep 17 00:00:00 2001 From: baraganio Date: Mon, 29 Apr 2024 08:59:36 +0200 Subject: [PATCH] Arreglando fallos --- webapp/e2e/features/historial-form.feature | 4 ++-- webapp/e2e/steps/historial-form.steps.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/webapp/e2e/features/historial-form.feature b/webapp/e2e/features/historial-form.feature index abcf4554..d890daff 100644 --- a/webapp/e2e/features/historial-form.feature +++ b/webapp/e2e/features/historial-form.feature @@ -1,7 +1,7 @@ Feature: Visible user logged history -Scenario: The user is not loged in the site - Given A not loged user +Scenario: The user is not logged in the site + Given A not logged user When Press history Then Redirected to login diff --git a/webapp/e2e/steps/historial-form.steps.js b/webapp/e2e/steps/historial-form.steps.js index 2f8d1f3d..0240a271 100644 --- a/webapp/e2e/steps/historial-form.steps.js +++ b/webapp/e2e/steps/historial-form.steps.js @@ -45,7 +45,7 @@ defineFeature(feature, test => { },300000); - test('The user is not registered in the site', ({given,when,then}) => { + test('The user register in the site so he can see history', ({given,when,then}) => { given('A unregistered user, fill the register', async () => { @@ -61,7 +61,7 @@ defineFeature(feature, test => { }); }); - when('I fill the data in the form and press submit', async () => { + when('I press history', async () => { await page.waitForSelector('[data-testid="historial-user"]', { visible: true, });