I'm trying to test "remember me" functionality and to test it
manually I would login and tick 'remeber me', then close the
browser, reopen the browser and return to the site which would
treat me as logged in.
Ideally I'd be able to do something like:
Scenario Outline: Checking 'Remember Me' should persist login across browser sessions.
Given I am on the home page
And a user exists with username "<username>" and password "<username>" and email "<email>"
And the user "<username>" has been activated
When I fill in "authentication_email" with "<email>"
And I fill in "authentication_password" with "<password>"
And I check "authentication[remember_me]"
And I press "Login"
And I restart the browser
And I visit the home page
Then I should see "Welcome, <username>!"
And I should see "You are logged in."
Examples:
| username | password | email |
| george | george | george-test123@example.com |
This was raised in ticket #80 but it seems that since the ticket was
already marked wontfix the followup examples of where this feature
would be valid were not seen or responded to.