public override void TestSetup() { base.TestSetup(); WelcomePage.EnterPlayer1Name("First Player"); WelcomePage.EnterPlayer2Name("Second Player"); WelcomePage.TapStartGameButton(); FaceOffPage.WaitForPicturePageToLoad(); }
public void TapSubmitButton_BothPlayerNamesEntered() { //Arrange var player1Name = "First Player"; var player2Name = "Second Player"; //Act WelcomePage.EnterPlayer1Name(player1Name); WelcomePage.EnterPlayer2Name(player2Name); WelcomePage.TapStartGameButton(); //Assert FaceOffPage.WaitForPicturePageToLoad(); }