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); }
public void TakePictureTwo() { //Arrange //Act PicturePage.TapTakePhoto2Button(); PicturePage.TapOK(); if (platform == Platform.Android) { return; } CameraPage.TapPhotoCaptureButton(); CameraPage.TapUsePhotoButton(); //Assert Assert.IsTrue(PicturePage.IsScoreButton2Visible); }