Skip to content

Commit

Permalink
use https for network breadcrumbs test
Browse files Browse the repository at this point in the history
  • Loading branch information
yousif-bugsnag committed Feb 6, 2024
1 parent 60957b6 commit 2cef534
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/auto_breadcrumbs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Scenario: Network breadcrumbs are captured by default
And the exception "message" equals "defaultNetworkBreadcrumbsBehaviour"
And the event has a "request" breadcrumb named "XMLHttpRequest succeeded"
And the event "breadcrumbs.1.metaData.status" equals 200
And the event "breadcrumbs.1.metaData.request" equals "GET http://postman-echo.com/get"
And the event "breadcrumbs.1.metaData.request" equals "GET https://postman-echo.com/get"
And the error Bugsnag-Integrity header is valid

Scenario: Network breadcrumbs can be disabled explicitly
Expand Down Expand Up @@ -152,5 +152,5 @@ Scenario: Network breadcrumbs overrides auto-breadcrumbs
And the exception "message" equals "overrideNetworkBreadcrumbsBehaviour"
And the event has a "request" breadcrumb named "XMLHttpRequest succeeded"
And the event "breadcrumbs.0.metaData.status" equals 200
And the event "breadcrumbs.0.metaData.request" equals "GET http://postman-echo.com/get"
And the event "breadcrumbs.0.metaData.request" equals "GET https://postman-echo.com/get"
And the error Bugsnag-Integrity header is valid
2 changes: 1 addition & 1 deletion features/fixtures/test-app/app/network_breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default class NetworkBreadcrumbs extends Component {
}

async triggerNetworkBreadcrumbsError(client, message) {
await fetch("http://postman-echo.com/get")
await fetch("https://postman-echo.com/get")
.then(response => {
client.notify(new Error(message))
})
Expand Down

0 comments on commit 2cef534

Please sign in to comment.