Example #1
0
        public override void TestSetup()
        {
            base.TestSetup();

            WelcomePage.EnterPlayer1Name("First Player");
            WelcomePage.EnterPlayer2Name("Second Player");
            WelcomePage.TapStartGameButton();

            PicturePage.WaitForPicturePageToLoad();
        }
Example #2
0
        public void TapSubmitButton_BothPlayerNamesEntered()
        {
            //Arrange
            var player1Name = "First Player";
            var player2Name = "Second Player";

            //Act
            WelcomePage.EnterPlayer1Name(player1Name);
            WelcomePage.EnterPlayer2Name(player2Name);
            WelcomePage.TapStartGameButton();

            //Assert
            PicturePage.WaitForPicturePageToLoad();
        }