예제 #1
0
        public void ThenUserReceivedEmailSuccessfully(int numberOfEmails)
        {
            inboxPage = inboxPage.OpenInbox();
            bool isMessageInTheInbox = (inboxPage.FindElementsByTextInMessagesPanel(ComposePage.SentMessagesSubjects).Count == numberOfEmails);

            Assert.IsTrue(isMessageInTheInbox);
        }
예제 #2
0
        public void ThenEmailsHasBeenDeleted()
        {
            inboxPage = inboxPage.OpenInbox();
            bool isMessageNotInTheInbox = (inboxPage.FindElementsByTextInMessagesPanel(ComposePage.SentMessagesSubjects).Count == 0);

            Assert.IsTrue(isMessageNotInTheInbox);
        }