Skip to content

Commit

Permalink
fix: disable portion of noisy env screenshots (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
seve authored Sep 21, 2021
1 parent 8758ce5 commit 47b206a
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions client/__tests__/e2e/screenshot_env.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ const takeScreenshot = require("./takeScreenshot");

class ScreenshotEnvironment extends PuppeteerEnvironment {
async handleTestEvent(event, state) {
if (["test_start", "test_done"].includes(event.name)) {
console.log("------------------event name:\n", event.name);
console.log("~~~~ Current test errors\n", new Date(), event.test.errors);
console.log("~~~~ Current test\n", new Date(), event.test);
}

if (event.name === "error") {
console.log("error event:", JSON.stringify(event));
}
Expand Down

0 comments on commit 47b206a

Please sign in to comment.