예제 #1
0
        public void CheckSquareLeftFieldIsClickable()
        {
            var playInPage = new PlayInPage(_webDriver);

            playInPage.GoToPlayInPage();
            playInPage.ClickLeft();
            Thread.Sleep(500);

            var actualResult = playInPage.GetLeft();

            Assert.AreEqual("x", actualResult);
        }
예제 #2
0
        public void CheckUpdateScoreForAppear()
        {
            var playInPage = new PlayInPage(_webDriver);

            playInPage.GoToPlayInPage();
            playInPage.ClickPlayer2();
            playInPage.ClickRight();
            playInPage.ClickLeft();
            playInPage.ClickTopRight();
            playInPage.ClickBottomLeft();
            playInPage.ClickCenter();
            playInPage.ClickTopLeft();
            Thread.Sleep(3000);

            var actualResult = playInPage.GetScoreAppear();

            Assert.AreEqual("1", actualResult);
        }