[maze] Fix startup session: net/http
Roger Guldbrandsen
5 years ago
3 | 3 | Given I set environment variable "API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa" |
4 | 4 | And I configure the bugsnag endpoint |
5 | 5 | And I set environment variable "SERVER_PORT" to "4512" |
6 | And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false" | |
6 | 7 | |
7 | 8 | Scenario: An error report contains custom user data |
8 | 9 | Given I set environment variable "USER_ID" to "test-user-id" |
12 | 13 | And I wait for the app to open port "4512" |
13 | 14 | And I wait for 2 seconds |
14 | 15 | 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 | |
16 | 17 | And the request is a valid error report with api key "a35a2a72bd230ac0aa0f52715bbdc6aa" |
17 | 18 | And the event "user.id" equals "test-user-id" |
18 | 19 | And the event "user.name" equals "test-user-name" |