@brightspace-ui/testing 1.26.0 → 1.27.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/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.0",
5
+ "version": "1.27.0",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -26,13 +26,9 @@
26
26
  "@brightspace-ui/stylelint-config": "^1",
27
27
  "chai": "^5",
28
28
  "eslint": "^9",
29
- "eslint-config-brightspace": "^1.2.1",
30
- "mocha": "^10",
29
+ "eslint-config-brightspace": "^2.0.0",
30
+ "mocha": "^11",
31
31
  "sinon": "^19",
32
- "stylelint": "^16",
33
- "@eslint/compat": "^1",
34
- "@eslint/eslintrc": "^3",
35
- "@eslint/js": "^9",
36
32
  "globals": "^15"
37
33
  },
38
34
  "exports": {
@@ -63,5 +59,10 @@
63
59
  "pixelmatch": "^6",
64
60
  "pngjs": "^7",
65
61
  "rollup": "^4"
62
+ },
63
+ "overrides": {
64
+ "page": {
65
+ "path-to-regexp": "^1.9.0"
66
+ }
66
67
  }
67
68
  }
@@ -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>