html-reporter 9.8.1 → 9.8.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ <a name="9.8.2"></a>
6
+ ## [9.8.2](https://github.com/gemini-testing/html-reporter/compare/v9.8.1...v9.8.2) (2023-04-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * do not reuse reference images from another browser ([cb0467e](https://github.com/gemini-testing/html-reporter/commit/cb0467e))
12
+
13
+
14
+
5
15
  <a name="9.8.1"></a>
6
16
  ## [9.8.1](https://github.com/gemini-testing/html-reporter/compare/v9.8.0...v9.8.1) (2023-04-05)
7
17
 
@@ -96,8 +96,9 @@ module.exports = class TestAdapter {
96
96
  }
97
97
 
98
98
  _getExpectedKey(stateName) {
99
+ const {id, browserId} = this._testResult;
99
100
  // TODO: remove toString after publish major version
100
- return this._testResult.id.toString() + '#' + stateName;
101
+ return [id.toString(), browserId, stateName].join('/');
101
102
  }
102
103
 
103
104
  _getExpectedPath(stateName, status) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "html-reporter",
3
- "version": "9.8.1",
3
+ "version": "9.8.2",
4
4
  "description": "Plugin for hermione which is intended to aggregate the results of tests running into html report",
5
5
  "scripts": {
6
6
  "coverage": "nyc npm run test-unit",