Skip to content

Commit

Permalink
update error tests snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Mar 8, 2022
1 parent d4c9507 commit 27bece0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,9 @@ export class HeadlessChromiumDriverFactory {
},
});
} catch (err) {
observer.error(new errors.FailedToSpawnBrowserError(err.message));
observer.error(
new errors.FailedToSpawnBrowserError(`Error spawning Chromium browser! ${err}`)
);
return;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default function ({ getService }: FtrProviderContext) {
await retry.tryForTime(120000, async () => {
const { body } = await supertest.get(downloadPath).expect(500);
expect(body.message).to.match(
/Reporting generation failed: ReportingError\(code: unknown_error\) "/
/Reporting generation failed: ReportingError\(code: browser_unexpectedly_closed_error\) "/
);
});
});
Expand Down

0 comments on commit 27bece0

Please sign in to comment.