@brightspace-ui/testing 1.27.0 → 1.28.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/README.md CHANGED
@@ -496,8 +496,6 @@ Use the `grep` option to filter by test name. Only tests whose names match the p
496
496
 
497
497
  For example, `d2l-test-runner --grep foo` will run any test whose test suite(s) or name contains "foo".
498
498
 
499
- > **Note:** unfortunately, tests which do not match the grep value will be reported as failed instead of skipped.
500
-
501
499
  ### Debugging Tests
502
500
 
503
501
  When tests don't go as expected, the next step is usually to debug them using the browser's built-in developer tools.
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.27.0",
5
+ "version": "1.28.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -29,7 +29,7 @@
29
29
  "eslint-config-brightspace": "^2.0.0",
30
30
  "mocha": "^11",
31
31
  "sinon": "^19",
32
- "globals": "^15"
32
+ "globals": "^16"
33
33
  },
34
34
  "exports": {
35
35
  ".": "./src/browser/index.js"
@@ -43,7 +43,7 @@
43
43
  "dependencies": {
44
44
  "@brightspace-ui/intl": "^3",
45
45
  "@open-wc/testing": "^4",
46
- "@rollup/plugin-node-resolve": "^15",
46
+ "@rollup/plugin-node-resolve": "^16",
47
47
  "@web/config-loader": "^0.3",
48
48
  "@web/dev-server": "^0.4",
49
49
  "@web/rollup-plugin-html": "^2",
@@ -56,7 +56,7 @@
56
56
  "glob": "^11",
57
57
  "lit": "^2 || ^3",
58
58
  "page": "^1",
59
- "pixelmatch": "^6",
59
+ "pixelmatch": "^7",
60
60
  "pngjs": "^7",
61
61
  "rollup": "^4"
62
62
  },
@@ -215,6 +215,7 @@ export class WTRConfig {
215
215
  product: b,
216
216
  createBrowserContext: ({ browser }) => browser.newContext({ deviceScaleFactor, reducedMotion: 'reduce' }),
217
217
  launchOptions: {
218
+ env: { ...env, LANG: 'en_US.UTF-8' },
218
219
  headless: !this.#cliArgs.open,
219
220
  devtools: false,
220
221
  slowMo: this.#cliArgs.slowmo || 0,