public void GivenThatIHaveAnAccountWithTheFollowingDetails(Table table) { SiteNavigator.go_to_registration_page(); RegistrationPage.set_email_to = table.Rows[0]["Email"]; RegistrationPage.set_password_to = table.Rows[0]["Password"]; RegistrationPage.set_name_to = table.Rows[0]["Name"]; RegistrationPage.register(); SiteNavigator.sign_out(); }
public void GivenThatIHaveAnAccountWithTheFollowingDetails(Table table) { SiteNavigator.go_to_registration_page(); RegistrationPage.set_email_to = table.Rows[0]["Email"]; RegistrationPage.set_password_to = table.Rows[0]["Password"]; RegistrationPage.set_name_to = table.Rows[0]["Name"]; RegistrationPage.register(); // find the user id PlayerToken.player_id = DataBaseHelper.get_user_id_from_membership_table_by(table.Rows[0]["Email"]); }
public void GivenIHaveRegisteredThesePeople(Table table) { foreach (var row in table.Rows) { SiteNavigator.go_to_registration_page(); RegistrationPage.set_email_to = row["Email"]; RegistrationPage.set_password_to = row["Password"]; RegistrationPage.set_name_to = row["Name"]; RegistrationPage.register(); SiteNavigator.sign_out(); } }
public void BeforeScenario() { WebBrowser.InitializeBrowser(); SiteNavigator.sign_out(); DataBaseHelper.clear_db(); }
public void WhenINavigateToTheGamePlayScreen() { SiteNavigator.go_to_bet_page(); }
public void WhenINavigateToTheAccountPage() { SiteNavigator.go_to_account_home(); }
public void GivenINavigateToTheLoginPage() { SiteNavigator.go_to_login(); }
public void GivenIHaveNavigatedToTheRegistrationPage() { SiteNavigator.go_to_registration_page(); }
public void GivenIHaveNavigatedToTheGamePlayScreen() { SiteNavigator.go_to_bet_page(); }
public void GivenIAmOnTheGamePlayScreen() { SiteNavigator.go_to_bet_page(); }