Skip to content

Instantly share code, notes, and snippets.

@qagoose

qagoose/WorkflowExample.java Secret

Created Mar 23, 2019
Embed
What would you like to do?
public void registerUserAndGetToDashboard(String username) {
// Register user
portal.pages.registrationPage.register(username);
// Accept terms and conditions
portal.pages.registrationPage.acceptTermsAndConditions();
// Get through welcome pages
portal.pages.tutorialPage.exitTutorial();
// Check dashboard page loaded
assertTrue(pages.dashboardPage.hasLoaded());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.