@atomic-testing/playwright 0.46.5 → 0.48.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/dist/createTestEngine.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createTestEngine =
|
|
3
|
+
exports.createTestEngine = createTestEngine;
|
|
4
4
|
const core_1 = require("@atomic-testing/core");
|
|
5
5
|
const PlaywrightInteractor_1 = require("./PlaywrightInteractor");
|
|
6
6
|
function createTestEngine(page, partDefinitions) {
|
|
@@ -9,5 +9,4 @@ function createTestEngine(page, partDefinitions) {
|
|
|
9
9
|
});
|
|
10
10
|
return engine;
|
|
11
11
|
}
|
|
12
|
-
exports.createTestEngine = createTestEngine;
|
|
13
12
|
//# sourceMappingURL=createTestEngine.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createTestEngine.js","sourceRoot":"","sources":["../src/createTestEngine.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"createTestEngine.js","sourceRoot":"","sources":["../src/createTestEngine.ts"],"names":[],"mappings":";;AAKA,4CAMC;AAXD,+CAA6D;AAG7D,iEAA8D;AAE9D,SAAgB,gBAAgB,CAAsB,IAAU,EAAE,eAAkB;IAClF,MAAM,MAAM,GAAG,IAAI,iBAAU,CAAC,EAAE,EAAE,IAAI,2CAAoB,CAAC,IAAI,CAAC,EAAE;QAChE,KAAK,EAAE,eAAe;KACvB,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -9,7 +9,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.playWrightTestFrameworkMapper = void 0;
|
|
13
|
+
exports.goto = goto;
|
|
14
|
+
exports.playwrightGetTestEngine = playwrightGetTestEngine;
|
|
15
|
+
exports.getTestRunnerInterface = getTestRunnerInterface;
|
|
13
16
|
const test_1 = require("@playwright/test");
|
|
14
17
|
const createTestEngine_1 = require("./createTestEngine");
|
|
15
18
|
function goto(url, fixture) {
|
|
@@ -18,12 +21,10 @@ function goto(url, fixture) {
|
|
|
18
21
|
yield page.goto(url);
|
|
19
22
|
});
|
|
20
23
|
}
|
|
21
|
-
exports.goto = goto;
|
|
22
24
|
function playwrightGetTestEngine(scenePart, fixture) {
|
|
23
25
|
const page = fixture.page;
|
|
24
26
|
return (0, createTestEngine_1.createTestEngine)(page, scenePart);
|
|
25
27
|
}
|
|
26
|
-
exports.playwrightGetTestEngine = playwrightGetTestEngine;
|
|
27
28
|
exports.playWrightTestFrameworkMapper = {
|
|
28
29
|
assertEqual: (a, b) => (0, test_1.expect)(a).toEqual(b),
|
|
29
30
|
// @ts-ignore
|
|
@@ -45,5 +46,4 @@ function getTestRunnerInterface() {
|
|
|
45
46
|
goto,
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
|
-
exports.getTestRunnerInterface = getTestRunnerInterface;
|
|
49
49
|
//# sourceMappingURL=testRunnerAdapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testRunnerAdapter.js","sourceRoot":"","sources":["../src/testRunnerAdapter.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"testRunnerAdapter.js","sourceRoot":"","sources":["../src/testRunnerAdapter.ts"],"names":[],"mappings":";;;;;;;;;;;;AAQA,oBAGC;AAED,0DAMC;AAqBD,wDAKC;AA3CD,2CAAsD;AAEtD,yDAAsD;AAItD,SAAsB,IAAI,CAAC,GAAW,EAAE,OAAsC;;QAC5E,MAAM,IAAI,GAAG,OAAQ,CAAC,IAAY,CAAC;QACnC,MAAM,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;CAAA;AAED,SAAgB,uBAAuB,CACrC,SAAY,EACZ,OAAqC;IAErC,MAAM,IAAI,GAAG,OAAO,CAAC,IAAY,CAAC;IAClC,OAAO,IAAA,mCAAgB,EAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AAC3C,CAAC;AAEY,QAAA,6BAA6B,GAAwB;IAChE,WAAW,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAA,aAAM,EAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC3C,aAAa;IACb,QAAQ,EAAE,WAAI,CAAC,QAAQ;IAEvB,sDAAsD;IACtD,UAAU,EAAE,WAAI,CAAC,UAAU;IAC3B,SAAS,EAAE,WAAI,CAAC,SAAS;IACzB,SAAS,EAAE,WAAI,CAAC,SAAS;IACzB,QAAQ,EAAE,WAAI,CAAC,QAAQ;IACvB,qDAAqD;IAErD,aAAa;IACb,IAAI,EAAE,WAAI;IAEV,aAAa;IACb,EAAE,EAAE,WAAI;CACT,CAAC;AAEF,SAAgB,sBAAsB;IACpC,OAAO;QACL,aAAa,EAAE,uBAAuB;QACtC,IAAI;KACL,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atomic-testing/playwright",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.48.0",
|
|
4
4
|
"description": "Atomic Testing Playwright Adapter",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"directory": "packages/playwright"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@atomic-testing/core": "0.
|
|
21
|
-
"@atomic-testing/test-runner": "0.
|
|
20
|
+
"@atomic-testing/core": "0.48.0",
|
|
21
|
+
"@atomic-testing/test-runner": "0.48.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@playwright/test": "^1.41.2",
|
|
25
25
|
"@types/node": "^20.10.5",
|
|
26
26
|
"jest": "^29.7.0",
|
|
27
|
-
"typescript": "^5.4
|
|
27
|
+
"typescript": "^5.5.4"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"@playwright/test": ">=1.30.2"
|