Skip to content

Commit

Permalink
Clean up spec background
Browse files Browse the repository at this point in the history
  • Loading branch information
BasilMawejje committed Sep 18, 2019
1 parent 65b12c2 commit 347b529
Showing 1 changed file with 3 additions and 40 deletions.
43 changes: 3 additions & 40 deletions features/admins/admin_becoming_user_password_hint.feature
Original file line number Diff line number Diff line change
Expand Up @@ -10,49 +10,12 @@ Feature: Admin sees password hint when they become a user
Given the App Configuration is not mocked and is seeded

Given the following users exists
| email | admin | membership_number | member |
| emma-new-app@bowsers.com | | | |
| lars-member@happymutts.com | | 101 | true |
| hannah-member@happymutts.com | | 102 | true |
| rejected@happymutts.com | | | |
| user-never-logged-in@example.se | | | |
| user-anna@personal.se | | | |
| user-sam@personal.se | | | |
| admin@shf.se | true | | |
| yesterday_admin@shf.se | true | | |
| lazy_admin@shf.se | true | | |


And the following regions exist:
| name |
| Stockholm |
| Västerbotten |

And the following companies exist:
| name | company_number | email | region |
| Happy Mutts | 5560360793 | woof@happymutts.com | Stockholm |
| Bowsers | 2120000142 | bark@bowsers.com | Västerbotten |


And the following applications exist:
| user_email | contact_email | company_number | state |
| lars-member@happymutts.com | lars@happymutts.com | 5560360793 | accepted |
| hannah-member@happymutts.com | hannah@happymutts.com | 5560360793 | accepted |
| emma-new-app@bowsers.com | emma@bowsers.com | 2120000142 | new |
| rejected@happymutts.com | rejected@happymutts.com | 5560360793 | rejected |


And the following membership packets have been sent:
| user_email | date_sent |
| lars-member@happymutts.com | 2019-03-01 |

| email | admin | member |
| lars-member@happymutts.com | | true |
| admin@shf.se | true | |

And I am logged in as "admin@shf.se"


# -----------------------------------
# Login info - when, how many times

@selenium
Scenario: Show admin password hint
Given I am on the "edit a user profile as the admin" for "lars-member@happymutts.com"
Expand Down

0 comments on commit 347b529

Please sign in to comment.