BigW Consortium Gitlab

todos.feature 1.13 KB
Newer Older
1
@dashboard
2
Feature: Dashboard Todos
3 4 5 6
  Background:
    Given I sign in as a user
    And I own project "Shop"
    And "John Doe" is a developer of project "Shop"
7 8 9
    And "Mary Jane" is a developer of project "Shop"
    And "Mary Jane" owns private project "Enterprise"
    And I am a developer of project "Enterprise"
10 11
    And I have todos
    And I visit dashboard todos page
12 13

  @javascript
14 15 16
  Scenario: I mark todos as done
    Then I should see todos assigned to me
    And I mark the todo as done
17
    And I click on the "Done" tab
18
    Then I should see all todos marked as done
19 20 21 22

  @javascript
    Scenario: I filter by project
      Given I filter by "Enterprise"
23
      Then I should not see todos
24 25 26 27

  @javascript
    Scenario: I filter by author
      Given I filter by "John Doe"
28
      Then I should not see todos related to "Mary Jane" in the list
29 30 31 32

  @javascript
    Scenario: I filter by type
      Given I filter by "Issue"
33
      Then I should not see todos related to "Merge Requests" in the list
34 35 36 37

  @javascript
    Scenario: I filter by action
      Given I filter by "Mentioned"
38
      Then I should not see todos related to "Assignments" in the list