Sha256: 903fdf67b5a824414936cb510b2c601fd96193b0a1c22a7df4859741059caa88

Contents?: true

Size: 1.92 KB

Versions: 4

Compression:

Stored size: 1.92 KB

Contents

Feature: Capture user information

@rails3
Scenario Outline: Warden user information is sent
  Given I start the rails service
  When I navigate to the route "/warden/create" on the rails app
  And I navigate to the route "/warden/<route>?email=testtest@test.test" on the rails app
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "user.email" equals "testtest@test.test"
  And the event "user.name" equals "Warden User"
  And the event "user.first_name" equals "Warden"
  And the event "user.last_name" equals "User"

  Examples:
    | route     |
    | handled   |
    | unhandled |

@rails4
Scenario Outline: Devise user information is sent
  Given I start the rails service
  When I navigate to the route "/devise/create" on the rails app
  And I navigate to the route "/devise/<route>" on the rails app
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "user.email" equals "test+test@test.test"
  And the event "user.name" equals "Devise User"
  And the event "user.first_name" equals "Devise"
  And the event "user.last_name" equals "User"

  Examples:
    | route     |
    | handled   |
    | unhandled |

@rails5 @rails6
Scenario Outline: Clearance user information is sent
  Given I start the rails service
  When I navigate to the route "/clearance/create" on the rails app
  And I navigate to the route "/clearance/<route>" on the rails app
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "user.email" equals "testtest@test.test"
  And the event "user.name" equals "Clearance User"
  And the event "user.first_name" equals "Clearance"
  And the event "user.last_name" equals "User"

  Examples:
    | route     |
    | handled   |
    | unhandled |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/rails_features/user_info.feature
bugsnag-6.14.0 features/rails_features/user_info.feature
bugsnag-6.13.1 features/rails_features/user_info.feature
bugsnag-6.13.0 features/rails_features/user_info.feature