Skip to content

Commit

Permalink
Arreglando fallos
Browse files Browse the repository at this point in the history
  • Loading branch information
baraganio committed Apr 29, 2024
1 parent 3a9aa91 commit 0a7a646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions webapp/e2e/features/historial-form.feature
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions webapp/e2e/steps/historial-form.steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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,
});
Expand Down

0 comments on commit 0a7a646

Please sign in to comment.