BigW Consortium Gitlab

todos.feature 1.41 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 18 19 20 21 22
    Then I should see the todo marked as done

  @javascript
  Scenario: I mark all todos as done
    Then I should see todos assigned to me
    And I mark all todos as done
23
    Then I should see all todos marked as done
24 25 26 27

  @javascript
    Scenario: I filter by project
      Given I filter by "Enterprise"
28
      Then I should not see todos
29 30 31 32

  @javascript
    Scenario: I filter by author
      Given I filter by "John Doe"
33
      Then I should not see todos related to "Mary Jane" in the list
34 35 36 37

  @javascript
    Scenario: I filter by type
      Given I filter by "Issue"
38
      Then I should not see todos related to "Merge Requests" in the list
39 40 41 42

  @javascript
    Scenario: I filter by action
      Given I filter by "Mentioned"
43
      Then I should not see todos related to "Assignments" in the list
44 45 46 47 48

  @javascript
    Scenario: I click on a todo row
      Given I click on the todo
      Then I should be directed to the corresponding page