Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions src/test/java/pages/AutomationExercise.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,52 @@ public AutomationExercise(){
}
@FindBy(xpath="//i[@class='fa fa-lock']")
public WebElement signup;

@FindBy(xpath="//div[@class='signup-form']")
public WebElement newusertitle;

@FindBy(xpath="//*[@data-qa='signup-name']")
public WebElement name;

@FindBy(xpath="//input[@data-qa='signup-email']")
public WebElement email;

@FindBy(xpath="//*[@data-qa='signup-button']")
public WebElement signUpButton;

@FindBy(xpath="//div[@class='radio-inline'][2]")
public WebElement accountVisible;

@FindBy(xpath="//input[@type='checkbox'])[1]")
public WebElement signupNewsletterCheckbox;

@FindBy(xpath="//input[@id='optin']")
public WebElement receiveCheckbox;

@FindBy(id="first_name")
public WebElement firstName;

@FindBy(xpath="//select[@id='country']")
public WebElement country;

@FindBy(xpath="//button[@class='btn btn-default'])[1]")
public WebElement createAccount;

@FindBy(xpath="//h2[@class='title text-center']")
public WebElement createAccountIsVisible;

@FindBy(xpath="//a[@class='btn btn-primary']")
public WebElement continueButton;

@FindBy(xpath="//i[@class='fa fa-user']")
public WebElement loggedUsername;

@FindBy(xpath="//i[@class='fa fa-trash-o']")
public WebElement deleteAccountButton;

@FindBy(xpath="//a[@class='btn btn-primary']")
public WebElement deleteAccountButtonvisible;

@FindBy(xpath="//div[@class='radio-inline'][2]")
public WebElement webElementTitle1;

Expand Down