summaryrefslogtreecommitdiff
path: root/features/project/hooks.feature
blob: b158e07ad33901d22f698727ef0f41388151e7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Feature: Project Hooks
  Background:
    Given I sign in as a user
    And I own project "Shop"

  Scenario: I should see hook list
    Given project has hook
    When I visit project hooks page
    Then I should see project hook

  Scenario: I add new hook
    Given I visit project hooks page
    When I submit new hook
    Then I should see newly created hook

  Scenario: I test hook
    Given project has hook
    And I visit project hooks page
    When I click test hook button
    Then hook should be triggered