AutorÃa | Ultima modificación | Ver Log |
@behat_test @behat_emailFeature: Testing Email FunctionalityBackground:Given an email catcher server is configuredScenario: Verifying email content to userWhen the following emails have been sent:| to | subject | message || student1@example.com | A testing subject | This is a test message |Then the email to "student1@example.com" with subject containing "A testing subject" should contain "This is a test message"Scenario: Test emptying the email inboxWhen the following emails have been sent:| to | subject || student1@example.com | Apple || student1@example.com | Banana || student1@example.com | Chocolate |Then user "student1@example.com" should have 3 emailsAnd I empty the email inboxAnd user "student1@example.com" should have 0 emails