Skip to content

Commit

Permalink
Remove status text as it's not working with playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
clari182 committed Nov 18, 2024
1 parent 6a2bd6b commit f4c3352
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions site/gatsby-site/playwright/e2e/integration/rollbar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ test('Should log an error to Rollbar', async ({ page }) => {

if (response) {
expect(response.status()).toBe(200);
expect(response.statusText()).toBe('OK');
const responseBody = await response.json();
const responseBody = await response. json();
expect(responseBody.err).toBe(0);
} else {
throw new Error('No response received for Rollbar API call.');
Expand Down

0 comments on commit f4c3352

Please sign in to comment.