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); }
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); }