@brightspace-ui/testing 1.31.2 → 1.31.3
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 +2 -2
- package/src/server/wtr-config.js +1 -2
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.31.
|
|
5
|
+
"version": "1.31.3",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/testing.git",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"lint": "npm run lint:eslint && npm run lint:style",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"license": "Apache-2.0",
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@brightspace-ui/stylelint-config": "^1",
|
|
27
|
-
"chai": "^
|
|
27
|
+
"chai": "^6",
|
|
28
28
|
"eslint": "^9",
|
|
29
29
|
"eslint-config-brightspace": "^2.0.0",
|
|
30
30
|
"mocha": "^11",
|
package/src/server/wtr-config.js
CHANGED
|
@@ -225,9 +225,8 @@ export class WTRConfig {
|
|
|
225
225
|
return [...new Set(browsers)].map((b) => playwrightLauncher({
|
|
226
226
|
concurrency: b === BROWSER_MAP.firefox || this.#cliArgs.open ? 1 : undefined, // focus in Firefox unreliable if concurrency > 1 (https://github.com/modernweb-dev/web/issues/238)
|
|
227
227
|
product: b,
|
|
228
|
-
createBrowserContext: ({ browser }) => browser.newContext({ deviceScaleFactor, reducedMotion: 'reduce' }),
|
|
228
|
+
createBrowserContext: ({ browser }) => browser.newContext({ deviceScaleFactor, reducedMotion: 'reduce', locale: 'en-us' }),
|
|
229
229
|
launchOptions: {
|
|
230
|
-
env: { ...env, LANG: 'en_US.UTF-8' },
|
|
231
230
|
headless: !this.#cliArgs.open,
|
|
232
231
|
devtools: false,
|
|
233
232
|
slowMo: this.#cliArgs.slowmo || 0,
|