From 97f5528dfc681cf3ca71d157adfe60463b5afb08 Mon Sep 17 00:00:00 2001 From: John Hill Date: Fri, 15 Jul 2022 08:58:03 -0700 Subject: [PATCH] Last of the post-2.0.6 band-aid removal (#5512) * back out changes * Ensure that coverage is generated in all tests --- .circleci/config.yml | 3 +-- e2e/tests/visual/addInit.visual.spec.js | 2 +- e2e/tests/visual/controlledClock.visual.spec.js | 3 ++- e2e/tests/visual/search.visual.spec.js | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8278fc24cf..6814113ac1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -220,9 +220,8 @@ workflows: suite: full triggers: - schedule: - cron: "0 0,4,8,12,16,20 * * *" + cron: "0 0 * * *" filters: branches: only: - master - - release/2.0.5 diff --git a/e2e/tests/visual/addInit.visual.spec.js b/e2e/tests/visual/addInit.visual.spec.js index c7f142c242..811d000a81 100644 --- a/e2e/tests/visual/addInit.visual.spec.js +++ b/e2e/tests/visual/addInit.visual.spec.js @@ -31,7 +31,7 @@ to "fail" on assertions. Instead, they should be used to detect changes between Note: Larger testsuite sizes are OK due to the setup time associated with these tests. */ -const { test } = require('@playwright/test'); +const { test } = require('../../fixtures.js'); const percySnapshot = require('@percy/playwright'); const path = require('path'); const sinon = require('sinon'); diff --git a/e2e/tests/visual/controlledClock.visual.spec.js b/e2e/tests/visual/controlledClock.visual.spec.js index 7eb7f64c84..a2ef86b020 100644 --- a/e2e/tests/visual/controlledClock.visual.spec.js +++ b/e2e/tests/visual/controlledClock.visual.spec.js @@ -32,7 +32,8 @@ to "fail" on assertions. Instead, they should be used to detect changes between Note: Larger testsuite sizes are OK due to the setup time associated with these tests. */ -const { test, expect } = require('@playwright/test'); +const { test } = require('../../fixtures.js'); +const { expect } = require('@playwright/test'); const percySnapshot = require('@percy/playwright'); const path = require('path'); const sinon = require('sinon'); diff --git a/e2e/tests/visual/search.visual.spec.js b/e2e/tests/visual/search.visual.spec.js index 654a336dd8..976ed4b6f5 100644 --- a/e2e/tests/visual/search.visual.spec.js +++ b/e2e/tests/visual/search.visual.spec.js @@ -24,7 +24,8 @@ This test suite is dedicated to tests which verify search functionality. */ -const { test, expect } = require('@playwright/test'); +const { test } = require('../../fixtures.js'); +const { expect } = require('@playwright/test'); const percySnapshot = require('@percy/playwright'); /**