@spscommerce/e2e-core 2.2.12 → 2.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spscommerce/e2e-core",
3
- "version": "2.2.12",
3
+ "version": "2.2.13",
4
4
  "description": "An automation test framework which is based on Playwright.",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -77,7 +77,7 @@ const config = {
77
77
  /* Collect screenshot after each test failure. See https://playwright.dev/docs/test-configuration#automatic-screenshots */
78
78
  screenshot: 'only-on-failure',
79
79
  /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
80
- trace: process.env.TRACER ? 'retain-on-failure' : 'off',
80
+ trace: process.env.TRACER && (process.env.TRACER.toString().toLowerCase() === 'true') ? 'retain-on-failure' : 'off',
81
81
  /* Run in headless mode by default (if process.env.HEADLESS is not specified). */
82
82
  headless: !process.env.HEADLESS || process.env.HEADLESS === 'true' ? true : false,
83
83
  /* Emulates consistent viewport for each page. */