Spinach failure in features/group_hooks.feature

As seen in https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/47221135:


Feature: Group Hooks

  Scenario: I test hook                                   # features/group_hooks.feature:18
    ✔  Given I sign in as a user                          # features/steps/shared/authentication.rb:7
    ✔  And I own group "Sourcing"                         # features/steps/group_hooks.rb:11
    ✔  Given I own project "Shop" in group "Sourcing"     # features/steps/group_hooks.rb:16
    ✔  And group has hook                                 # features/steps/group_hooks.rb:24

        expected to find css ".flash-notice" with text "Hook executed successfully: HTTP 200" but there were no matches

        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support.rb:87:in `block in <module:Support>'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-support-3.6.0/lib/rspec/support.rb:96:in `notify_failure'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/fail_with.rb:35:in `fail_with'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:40:in `handle_failure'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:50:in `block in handle_matcher'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:27:in `with_matcher'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/handler.rb:48:in `handle_matcher'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/rspec-expectations-3.6.0/lib/rspec/expectations/expectation_target.rb:65:in `to'
        /builds/gitlab-org/gitlab-ee/features/steps/group_hooks.rb:55:in `block in <class:GroupHooks>'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/dsl.rb:175:in `execute'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/scenario_runner.rb:77:in `run_step'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/scenario_runner.rb:57:in `block (2 levels) in run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/scenario_runner.rb:51:in `each'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/scenario_runner.rb:51:in `block in run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:81:in `block (3 levels) in run_around_hook'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/reporter.rb:59:in `around_scenario_run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/reporter.rb:36:in `block (2 levels) in bind'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:80:in `block (2 levels) in run_around_hook'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:84:in `run_around_hook'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/hookable.rb:44:in `block in around_hook'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/scenario_runner.rb:48:in `run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/feature_runner.rb:69:in `block in run_scenarios!'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/feature_runner.rb:67:in `each'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/feature_runner.rb:67:in `each_with_index'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/feature_runner.rb:67:in `run_scenarios!'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner/feature_runner.rb:48:in `run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner.rb:78:in `block in run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner.rb:74:in `each'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/runner.rb:74:in `run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/lib/spinach/cli.rb:27:in `run'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/gems/spinach-0.8.10/bin/spinach:15:in `<top (required)>'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/bin/spinach:23:in `load'
        /builds/gitlab-org/gitlab-ee/vendor/ruby/2.3.0/bin/spinach:23:in `<top (required)>'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `load'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:75:in `kernel_load'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli/exec.rb:28:in `run'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli.rb:424:in `exec'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli.rb:27:in `dispatch'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/cli.rb:18:in `start'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle:30:in `block in <top (required)>'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
        /usr/local/lib/ruby/gems/2.3.0/gems/bundler-1.16.1/exe/bundle:22:in `<top (required)>'
        /usr/local/bin/bundle:23:in `load'
        /usr/local/bin/bundle:23:in `<main>'

Error summary:
  Failures (1)
    Group Hooks :: I test hook :: Then hook should be triggered

    ✔  And I visit group hooks page                       # features/steps/shared/paths.rb:279
    ✔  When I click test hook button                      # features/steps/group_hooks.rb:43
    HTML screenshot: /builds/gitlab-org/gitlab-ee/tmp/capybara/screenshot_2018-01-09-12-05-01.147.html
    ✘  Then hook should be triggered                      # features/steps/group_hooks.rb:53

Knapsack global time execution for tests: 03s
Knapsack report was generated. Preview:
{
  "features/group_hooks.feature": 3.1074135303497314
}

Steps Summary: (6) Successful, (0) Pending, (0) Undefined, (1) Failed, (0) Error
Assignee Loading
Time tracking Loading