54ec7e9599
1. Make the "subscribed" text in Issuable sidebar reflect the labels subscription status 2. Current user mut be logged-in to toggle issue/MR/label subscription
15 lines
570 B
Gherkin
15 lines
570 B
Gherkin
@labels
|
|
Feature: Labels
|
|
Background:
|
|
Given I sign in as a user
|
|
And I own project "Shop"
|
|
And project "Shop" has labels: "bug", "feature", "enhancement"
|
|
When I visit project "Shop" labels page
|
|
|
|
@javascript
|
|
Scenario: I can subscribe to a label
|
|
Then I should see that I am not subscribed to the "bug" label
|
|
When I click button "Subscribe" for the "bug" label
|
|
Then I should see that I am subscribed to the "bug" label
|
|
When I click button "Unsubscribe" for the "bug" label
|
|
Then I should see that I am not subscribed to the "bug" label
|