Skip to content

Commit

Permalink
AO3-5075 Add 1-second delay between posting a work and deleting your …
Browse files Browse the repository at this point in the history
…account to ensure cache expiration and fix intermittent test failure (#2969)
  • Loading branch information
sarken committed Jul 23, 2017
1 parent 213fc80 commit ddcaec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/users/user_delete.feature
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,14 @@ Scenario: Delete a user who has coauthored a work
| otheruser | password |
And I am logged in as "testuser"
And I coauthored the work "Shared" as "testuser" with "otheruser"
And I wait 1 second
When I try to delete my account
Then I should see "What do you want to do with your works?"
When I choose "Remove me completely as co-author"
And I press "Save"
Then I should see "You have successfully deleted your account"
And a user account should not exist for "testuser"
And I should be logged out
# TODO - make this confirmation step better
When I go to the works page
Then I should see "otheruser"
And I should not see "testuser"

0 comments on commit ddcaec7

Please sign in to comment.