Skip to content

Commit

Permalink
Merge pull request #201 from Arquisoft/develop
Browse files Browse the repository at this point in the history
Arreglando fallos
  • Loading branch information
baraganio authored Apr 29, 2024
2 parents a52f88c + 0a7a646 commit 25a3d26
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 25a3d26

Please sign in to comment.