@toptal/davinci-qa 11.2.2 → 11.2.3

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
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 11.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1447](https://github.com/toptal/davinci/pull/1447) [`05734548`](https://github.com/toptal/davinci/commit/05734548a54fdb19ce53f1199b890bd65258f9ba) Thanks [@rafael-anachoreta](https://github.com/rafael-anachoreta)! - Add fallback to address missing invocationDetails on multiple retries
8
+
3
9
  ## 11.2.2
4
10
 
5
11
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-qa",
3
- "version": "11.2.2",
3
+ "version": "11.2.3",
4
4
  "description": "QA package to test your application",
5
5
  "publishConfig": {
6
6
  "access": "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-qa",
3
- "version": "11.2.2",
3
+ "version": "11.2.3",
4
4
  "description": "QA package to test your application",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -95,8 +95,11 @@ class CypressAnvilReporter extends Base {
95
95
  .on(EVENT_TEST_RETRY, test => {
96
96
  tests.push(
97
97
  anvilMapper({
98
- fileName: test?.invocationDetails?.absoluteFile,
99
- lineNumber: test?.invocationDetails?.line,
98
+ fileName:
99
+ test?.invocationDetails?.absoluteFile ||
100
+ test?.err?.codeFrame?.absoluteFile,
101
+ lineNumber:
102
+ test?.invocationDetails?.line || test?.err?.codeFrame?.line,
100
103
  status: 'retried',
101
104
  durationInSeconds: test?.duration / 1000,
102
105
  scenarioName: joinParentTitles(test),