Skip to content

Commit

Permalink
Trying to fix error while passing tests on actions
Browse files Browse the repository at this point in the history
  • Loading branch information
uo287545 committed Apr 7, 2024
1 parent e46612d commit f20497f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/com/uniovi/steps/SignUpStep.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void iPressTheRegisterButton() {

@Then("I should see the profile page")
public void iShouldSeeTheProfilePage() {
SeleniumUtils.waitLoadElementsBy(driver, "span", p.getString("home.authenticated_as", PropertiesExtractor.getSPANISH()), 5);
SeleniumUtils.waitLoadElementsBy(driver, "span", p.getString("home.authenticated_as", PropertiesExtractor.getSPANISH()), 10);
}

@Then("I should see the error message {string}")
Expand Down
1 change: 0 additions & 1 deletion src/test/resources/features/Game.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ Feature: I try to play a normal game
Given I am not registered or logged in
And I am on the register page
When I fill in the form with valid data username: "userGame" email: "[email protected]" password: "password" password_confirmation: "password"
Then I should see the profile page
And I press the register button
And I go to the home page
When I press Play
Expand Down

0 comments on commit f20497f

Please sign in to comment.