Codebase list golang-github-bugsnag-bugsnag-go / 5a37801
[maze] Fix startup session: net/http Roger Guldbrandsen 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
33 Given I set environment variable "API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
44 And I configure the bugsnag endpoint
55 And I set environment variable "SERVER_PORT" to "4512"
6 And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
67
78 Scenario: An error report contains custom user data
89 Given I set environment variable "USER_ID" to "test-user-id"
1213 And I wait for the app to open port "4512"
1314 And I wait for 2 seconds
1415 And I open the URL "http://localhost:4512/user"
15 Then I wait to receive 2 requests
16 Then I wait to receive a request
1617 And the request is a valid error report with api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
1718 And the event "user.id" equals "test-user-id"
1819 And the event "user.name" equals "test-user-name"