diff options
Diffstat (limited to 'src/main/java/com/mavlushechka/a1qa/pages/GamePage.java')
-rw-r--r-- | src/main/java/com/mavlushechka/a1qa/pages/GamePage.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/mavlushechka/a1qa/pages/GamePage.java b/src/main/java/com/mavlushechka/a1qa/pages/GamePage.java index 2e80d32..468b134 100644 --- a/src/main/java/com/mavlushechka/a1qa/pages/GamePage.java +++ b/src/main/java/com/mavlushechka/a1qa/pages/GamePage.java @@ -8,7 +8,7 @@ import org.openqa.selenium.By; public class GamePage extends BaseForm { private final FirstCardForm firstCardForm = new FirstCardForm(); - private final SecondCardForm secondCardForm = new SecondCardForm(); + private final InterestsCardForm interestsCardForm = new InterestsCardForm(); private final HelpForm helpForm = new HelpForm(); private final CookiesForm cookiesForm = new CookiesForm(); private final Label timer = new Label(By.xpath("//*[contains(@class, 'timer')]"), "Timer"); @@ -27,15 +27,15 @@ public class GamePage extends BaseForm { } public boolean isSecondCardOpened() { - return secondCardForm.isOpened(); + return interestsCardForm.isOpened(); } public void select(Interest interest) { - secondCardForm.select(interest); + interestsCardForm.select(interest); } public void clickDownloadImageButton() { - secondCardForm.clickDownloadImageButton(); + interestsCardForm.clickDownloadImageButton(); } public void hideHelpForm() { |