diff --git a/src/test/java/com/uniovi/steps/SignUpStep.java b/src/test/java/com/uniovi/steps/SignUpStep.java index 8fcf86e9..d5cedca5 100644 --- a/src/test/java/com/uniovi/steps/SignUpStep.java +++ b/src/test/java/com/uniovi/steps/SignUpStep.java @@ -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}") diff --git a/src/test/resources/features/Game.feature b/src/test/resources/features/Game.feature index 6c7fb2f7..b3120c41 100644 --- a/src/test/resources/features/Game.feature +++ b/src/test/resources/features/Game.feature @@ -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: "userGame@gmail.com" 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