@brightspace-ui/testing 1.15.0 → 1.16.1

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
@@ -2,7 +2,7 @@
2
2
  "name": "@brightspace-ui/testing",
3
3
  "description": "Utilities for testing front-end components and applications",
4
4
  "type": "module",
5
- "version": "1.15.0",
5
+ "version": "1.16.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -53,7 +53,7 @@
53
53
  "command-line-args": "^5",
54
54
  "command-line-usage": "^7",
55
55
  "glob": "^10",
56
- "lit": "^2",
56
+ "lit": "^2 || ^3",
57
57
  "page": "^1",
58
58
  "pixelmatch": "^5",
59
59
  "pngjs": "^7",
@@ -219,7 +219,7 @@ export class WTRConfig {
219
219
  files: this.#pattern
220
220
  });
221
221
  } else if (group === 'vdiff') {
222
- if (!config.testsFinishTimeout) config.testsFinishTimeout = 5 * 60 * 1000;
222
+ config.testsFinishTimeout = 5 * 60 * 1000;
223
223
 
224
224
  config.reporters ??= [ defaultReporter() ];
225
225
  config.reporters.push(visualDiffReporter({ updateGoldens: golden }));
@@ -231,7 +231,7 @@ export class WTRConfig {
231
231
  }
232
232
 
233
233
  // convert all browsers to playwright
234
- config.groups.forEach(g => g.browsers = this.getBrowsers(g.browsers, config.deviceScaleFactor ?? (g.name === 'vdiff' ? 2 : 1)));
234
+ config.groups.forEach(g => g.browsers = this.getBrowsers(g.browsers, g.name === 'vdiff' ? 2 : 1));
235
235
 
236
236
  if (open || watch) {
237
237
  config.testsFinishTimeout = 15 * 60 * 1000;