@brightspace-ui/testing 1.6.0 → 1.6.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
@@ -5,7 +5,7 @@
5
5
  Testing utilities which are specifically designed and configured for Brightspace UI components and applications.
6
6
 
7
7
  > **Migrating from `@open-wc/testing` and/or `@brightspace-ui/visual-diff`?**
8
- > Refer to the [Migration Guide](./docs/migration-guide.md) for help migrating a repo to `@brightspace-ui/testing`.
8
+ > Refer to the [Migration Guide](docs/migration-guide.md) for help migrating a repo to `@brightspace-ui/testing`.
9
9
 
10
10
  Install from NPM:
11
11
 
@@ -517,7 +517,7 @@ const elem = await fixture(html`
517
517
  <button style="position: relative;">
518
518
  hello
519
519
  <span class="vdiff-include" style="left: 0; position: absolute; top: 100%;">there</span>
520
- </span>
520
+ </button>
521
521
  `);
522
522
  await expect(elem).to.be.golden();
523
523
  ```
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.6.0",
5
+ "version": "1.6.1",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "eslint . --ext .js",
@@ -240,6 +240,7 @@ export class WTRConfig {
240
240
  product: b,
241
241
  createBrowserContext: ({ browser }) => browser.newContext({ deviceScaleFactor: 2, reducedMotion: 'reduce' }),
242
242
  launchOptions: {
243
+ args: b === 'chromium' ? ['--no-sandbox', '--disable-setuid-sandbox'] : undefined,
243
244
  headless: !this.#cliArgs.open,
244
245
  devtools: false,
245
246
  slowMo: this.#cliArgs.slowmo || 0