Skip to content

Instantly share code, notes, and snippets.

@martinschneider
Last active May 22, 2019 07:03
Show Gist options
  • Save martinschneider/c5623f341c522f58ddc85d1cf52701b7 to your computer and use it in GitHub Desktop.
Save martinschneider/c5623f341c522f58ddc85d1cf52701b7 to your computer and use it in GitHub Desktop.
@TestInstance(Lifecycle.PER_CLASS)
public class LoginTest05 extends CarousellBaseTest {
@Test
public void testLogin() {
WelcomePage welcome = new WelcomePage(driver);
welcome.goToLogin();
LoginPage login = new LoginPage(driver);
login.login(username, password);
HomePage home = new HomePage(driver);
assertThat(home.canISell()).as("sell button visible").isEqualTo(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment