Ejemplo n.º 1
0
        public void VerifyResetButton()
        {
            //Arrange
            string firstEmotion = PicturePage.Emotion;
            string secondEmotion;

            //Act
            if (platform == Platform.Android)
            {
                return;
            }

            PicturePage.TapTakePhoto1Button();
            PicturePage.TapOK();

            CameraPage.TapPhotoCaptureButton();
            CameraPage.TapUsePhotoButton();

            PicturePage.WaitForPhotoImage1();
            PicturePage.TapResetButton();

            //Assert
            secondEmotion = PicturePage.Emotion;
            Assert.AreNotEqual(firstEmotion, secondEmotion);
        }
Ejemplo n.º 2
0
        public void TakePictureOne()
        {
            //Arrange

            //Act
            PicturePage.TapTakePhoto1Button();
            PicturePage.TapOK();

            if (platform == Platform.Android)
            {
                return;
            }

            CameraPage.TapPhotoCaptureButton();
            CameraPage.TapUsePhotoButton();

            //Assert
            Assert.IsTrue(PicturePage.IsScoreButton1Visible);
        }