Logo: Relish

  1. Sign in

Project: Contactme

Admin manages emails

Background Email list
Given
the following email_contacts exist:
Name Email Subject Message
Dave [email protected] foo bar
Mike [email protected] bar foo
Scenarios
Creating a new account
Given
I am not authenticated
When
I go to the admin's sign_in page #
Then
I should see "Forgot your password?"
Admin logs on
Given
I am on the admin's sign_in page
When
I fill in "Email" with "[email protected]"
And
I fill in "Password" with "frobnosticate"
When
I press "Sign in"
Then
I should land on the "Send me an email!" page
  • @delete
Admin deletes an email
Given
I am an authenticated admin
And
I am on the email contacts page
When
I click on the email "Delete" link
Then
the email is deleted
  • @v0.2
Admin resends email
Given
I open the email
And
I click on the resend link
Then
the email is resent
  • @v0.2
Admin forwards email
Given
I open the email
And
I click on the forward link
And
I fill in the forwarding email address
Then
the email is forwarded

Last published about 5 years ago by doolin.