@brightspace-ui/testing 1.31.3 → 1.31.5

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.31.3",
5
+ "version": "1.31.5",
6
6
  "repository": "https://github.com/BrightspaceUI/testing.git",
7
7
  "scripts": {
8
8
  "lint": "npm run lint:eslint && npm run lint:style",
@@ -64,7 +64,7 @@ export const RESULT_STYLE = css`
64
64
  position: absolute;
65
65
  top: 0;
66
66
  }
67
- .result-overlay img + img {
67
+ .result-overlay img:active {
68
68
  filter:
69
69
  drop-shadow(0 0 0.5px red)
70
70
  drop-shadow(0 0 0.5px red)
@@ -75,12 +75,6 @@ export const RESULT_STYLE = css`
75
75
  drop-shadow(0 0 0.5px red)
76
76
  drop-shadow(0 0 0.5px red)
77
77
  drop-shadow(0 0 0.5px red);
78
- inset: 0;
79
- opacity: 0.003;
80
- position: absolute;
81
- }
82
- .result-overlay img + img:active {
83
- opacity: 1;
84
78
  }
85
79
  .result-part-info {
86
80
  align-items: center;
@@ -190,7 +184,6 @@ function renderResult(resultData, options) {
190
184
  html`
191
185
  <div class="result-overlay">
192
186
  <img src="../${resultData.info.diff}" loading="lazy" alt="">
193
- <img src="../${resultData.info.diff}" loading="lazy" alt="">
194
187
  </div>` : nothing;
195
188
 
196
189
  const goldenPart = !goldenExists ?