示例#1
0
        public void SentimentPage_SubmitNeutralText_ResultShouldBeNeutralFaceEmoji()
        {
            //Arrange
            const string neutralText = "Mitigations in Seattle";

            //Act
            SentimentPage.EnterText(neutralText);
            SentimentPage.TapSubmitButton();
            SentimentPage.WaitForNoActivityIndicator();

            //Assert
            Assert.AreEqual(EmojiConstants.NeutralFaceEmoji, SentimentPage.EmojiResultsText);
        }
示例#2
0
        public void SentimentPage_SubmitSadText_ResultShouldBeSadFaceEmoji()
        {
            //Arrange
            const string sadText = "Sad";

            //Act
            SentimentPage.EnterText(sadText);
            SentimentPage.TapSubmitButton();
            SentimentPage.WaitForNoActivityIndicator();

            //Assert
            Assert.AreEqual(EmojiConstants.SadFaceEmoji, SentimentPage.EmojiResultsText);
        }