ref: master
features/manage_enterprises.feature
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Feature: manage enterprises As a enterprise owner I want to manage my enterprises Background: Given the following users | login | name | | joaosilva | Joao Silva | | mariasilva | Joao Silva | And the following enterprise | identifier | name | owner | | tangerine-dream | Tangerine Dream | joaosilva | And feature "display_my_enterprises_on_user_menu" is enabled on environment @selenium Scenario: seeing my enterprises on menu Given I am logged in as "joaosilva" Then I should see "My enterprises" link When I follow "My enterprises" And I follow "Tangerine Dream" Then I should be on tangerine-dream's control panel @selenium Scenario: not show enterprises on menu to a user without enterprises Given I am logged in as "mariasilva" Then I should not see "My enterprises" link |