@brightspace-ui/testing 1.26.1 → 1.28.0

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.26.1",
5
+ "version": "1.28.0",
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
  },
@@ -125,6 +125,9 @@ export const RESULT_STYLE = css`
125
125
  .result-duration {
126
126
  flex: 0 0 auto;
127
127
  }
128
+ .breadcrumb-arrow {
129
+ user-select: none;
130
+ }
128
131
  `;
129
132
 
130
133
  function renderBrowserInfo(browser) {
@@ -247,7 +250,7 @@ export function renderBrowserResults(browser, tests, options) {
247
250
  return acc.push(html`
248
251
  <div class="item-container">
249
252
  <div class="result-test-name">
250
- <h3>${t.name}</h3>
253
+ <h3>${t.name.split(' > ').flatMap(p => [html`<span class="breadcrumb-arrow"> ></span> `, p]).slice(1)}</h3>
251
254
  ${pixelsDiff}
252
255
  <div class="result-duration">${renderStatusText(`${resultData.duration}ms`, status)}</div>
253
256
  </div>