scinote-web/features/teams.feature

22 lines
882 B
Gherkin
Raw Normal View History

2019-12-17 18:21:49 +08:00
# feature/teams.feature
Feature: Teams settings
As a normal user
I want to left a team
Background:
Given the "BioSistemika Process" team exists
And the following users are registered
| name | email | password | password_confirmation |
|Karli Novak (creator) |nonadmin@myorg.com |mypassword1234 |mypassword1234 |
|Marija Novak |marija@myorg.com |mypassword1234 |mypassword1234 |
And "nonadmin@myorg.com" is in "BioSistemika Process" team as a "admin"
And "marija@myorg.com" is in "BioSistemika Process" team as a "normal_user"
And "marija@myorg.com" is signed in with "mypassword1234"
@javascript
Scenario: User left a team
Given team settings page
2020-07-02 20:48:33 +08:00
And I click "Leave team" button
And I click element with css ".btn-danger"
2019-12-17 18:21:49 +08:00
Then I should see "Successfuly left team BioSistemika Process."