allure-playwright 3.11.1 → 3.12.1

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
@@ -39,7 +39,8 @@ Install Allure Report separately when you want to render the generated `allure-r
39
39
 
40
40
  ## Supported versions and platforms
41
41
 
42
- - `@playwright/test >= 1.53.0`
42
+ - `"allure-playwright": ">=3.12.0"` requires `"@playwright/test": ">=1.62.0"`.
43
+ - To use `"@playwright/test": ">=1.53.0 <1.62.0"`, use `"allure-playwright": "<=3.11.1"`.
43
44
  - Linux, macOS, and Windows wherever Playwright Test supports Node.js
44
45
  - this repository is validated in CI on Node.js 20 and 22
45
46
 
@@ -1,9 +1,15 @@
1
1
  "use strict";
2
2
 
3
- var _test = require("@playwright/test");
3
+ function _test() {
4
+ var data = require("@playwright/test");
5
+ _test = function _test() {
6
+ return data;
7
+ };
8
+ return data;
9
+ }
4
10
  var _runtime = require("allure-js-commons/sdk/runtime");
5
11
  var _runtime2 = require("./runtime.js");
6
- if (_test.test.info()) {
12
+ if (_test().test.info()) {
7
13
  (0, _runtime.setGlobalTestRuntime)(new _runtime2.AllurePlaywrightTestRuntime());
8
14
  }
9
15
  //# sourceMappingURL=autoconfig.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"autoconfig.js","names":["_test","require","_runtime","_runtime2","test","info","setGlobalTestRuntime","AllurePlaywrightTestRuntime"],"sources":["../../src/autoconfig.ts"],"sourcesContent":["import { test } from \"@playwright/test\";\nimport { setGlobalTestRuntime } from \"allure-js-commons/sdk/runtime\";\n\nimport { AllurePlaywrightTestRuntime } from \"./runtime.js\";\n\nif (test.info()) {\n setGlobalTestRuntime(new AllurePlaywrightTestRuntime());\n}\n"],"mappings":";;AAAA,IAAAA,KAAA,GAAAC,OAAA;AACA,IAAAC,QAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AAEA,IAAIG,UAAI,CAACC,IAAI,CAAC,CAAC,EAAE;EACf,IAAAC,6BAAoB,EAAC,IAAIC,qCAA2B,CAAC,CAAC,CAAC;AACzD","ignoreList":[]}
1
+ {"version":3,"file":"autoconfig.js","names":["_test","data","require","_runtime","_runtime2","test","info","setGlobalTestRuntime","AllurePlaywrightTestRuntime"],"sources":["../../src/autoconfig.ts"],"sourcesContent":["import { test } from \"@playwright/test\";\nimport { setGlobalTestRuntime } from \"allure-js-commons/sdk/runtime\";\n\nimport { AllurePlaywrightTestRuntime } from \"./runtime.js\";\n\nif (test.info()) {\n setGlobalTestRuntime(new AllurePlaywrightTestRuntime());\n}\n"],"mappings":";;AAAA,SAAAA,MAAA;EAAA,IAAAC,IAAA,GAAAC,OAAA;EAAAF,KAAA,YAAAA,MAAA;IAAA,OAAAC,IAAA;EAAA;EAAA,OAAAA,IAAA;AAAA;AACA,IAAAE,QAAA,GAAAD,OAAA;AAEA,IAAAE,SAAA,GAAAF,OAAA;AAEA,IAAIG,YAAI,CAACC,IAAI,CAAC,CAAC,EAAE;EACf,IAAAC,6BAAoB,EAAC,IAAIC,qCAA2B,CAAC,CAAC,CAAC;AACzD","ignoreList":[]}