testNotificationService
The first 7 steps are just to be sure that no-reply@eea.europa.eu is not subscribed.
open /subscription
type email no-reply@eea.europa.eu
clickAndWait submit
open /subscriber_settings
type email no-reply@eea.europa.eu
clickAndWait submit
clickAndWait Unsubscribe
open /subscription
verifyTextPresent Sign up now!
type email BAD EMAIL ADDRESS
clickAndWait submit
verifyTextPresent This is not a valid mail address
open /subscription
type email no-reply@eea.europa.eu
clickAndWait submit
verifyTextPresent You will receive soon a mail that provides an URL for activating
open /subscription
type email no-reply@eea.europa.eu
clickAndWait submit
verifyTextPresent There is already a subscriber with this address
open /login_form
verifyTextPresent Please log in
Human tester must enter "Login Name", "Password" and (if case) "Verification code".
waitForPageToLoad 60000
clickAndWait //input[@type='submit' and @value='Log in']
open /subscriber_settings
type email no-reply@eea.europa.eu
clickAndWait submit
verifyTextPresent Your account
click active
clickAndWait form.button.Save
verifyTextPresent Your newsletter subscription is activated.
clickAndWait link=Log out
open /unsubscribe
type email no-reply@eea.europa.eu
clickAndWait submit
verifyTextPresent You will receive soon an email for confirmation.
open /subscriber_settings
type email no-reply@eea.europa.eu
clickAndWait submit
clickAndWait Unsubscribe
verifyTextPresent You have been successfully unsubscribed from this newsletter.