@thisisagile/easy-playwright 15.8.3 → 15.8.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/dist/{PlaywrightTester.d.ts → index.d.mts} +16 -4
- package/dist/index.d.ts +37 -2
- package/dist/index.js +1 -19
- package/dist/index.mjs +1 -0
- package/package.json +6 -4
- package/dist/PlaywrightElement.d.ts +0 -11
- package/dist/PlaywrightElement.js +0 -23
- package/dist/PlaywrightElement.js.map +0 -1
- package/dist/PlaywrightTester.js +0 -80
- package/dist/PlaywrightTester.js.map +0 -1
- package/dist/index.js.map +0 -1
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import { Browser, Page } from 'playwright';
|
|
2
|
-
import { Id, Json, UseCase } from '@thisisagile/easy';
|
|
1
|
+
import { ElementHandle, Browser, Page } from 'playwright';
|
|
3
2
|
import { TestElement, Tester } from '@thisisagile/easy-test-web';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { Json, UseCase, Id } from '@thisisagile/easy';
|
|
4
|
+
|
|
5
|
+
declare class PlaywrightElement implements TestElement {
|
|
6
|
+
private readonly handle;
|
|
7
|
+
constructor(handle: Promise<ElementHandle | null>);
|
|
8
|
+
click(): Promise<void>;
|
|
9
|
+
type(text: string): Promise<void>;
|
|
10
|
+
property(property: string): Promise<Json | undefined>;
|
|
11
|
+
exists(): Promise<boolean>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type BrowserType = 'Chromium' | 'Webkit' | 'Firefox';
|
|
15
|
+
declare class PlaywrightTester implements Tester {
|
|
6
16
|
host: string;
|
|
7
17
|
private readonly browser;
|
|
8
18
|
private readonly page;
|
|
@@ -23,3 +33,5 @@ export declare class PlaywrightTester implements Tester {
|
|
|
23
33
|
close(): Promise<void>;
|
|
24
34
|
private byXPath;
|
|
25
35
|
}
|
|
36
|
+
|
|
37
|
+
export { BrowserType, PlaywrightElement, PlaywrightTester };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { ElementHandle, Browser, Page } from 'playwright';
|
|
2
|
+
import { TestElement, Tester } from '@thisisagile/easy-test-web';
|
|
3
|
+
import { Json, UseCase, Id } from '@thisisagile/easy';
|
|
4
|
+
|
|
5
|
+
declare class PlaywrightElement implements TestElement {
|
|
6
|
+
private readonly handle;
|
|
7
|
+
constructor(handle: Promise<ElementHandle | null>);
|
|
8
|
+
click(): Promise<void>;
|
|
9
|
+
type(text: string): Promise<void>;
|
|
10
|
+
property(property: string): Promise<Json | undefined>;
|
|
11
|
+
exists(): Promise<boolean>;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type BrowserType = 'Chromium' | 'Webkit' | 'Firefox';
|
|
15
|
+
declare class PlaywrightTester implements Tester {
|
|
16
|
+
host: string;
|
|
17
|
+
private readonly browser;
|
|
18
|
+
private readonly page;
|
|
19
|
+
constructor(host: string, browser: Browser, page: Page);
|
|
20
|
+
get url(): string;
|
|
21
|
+
static launch: (browserType: BrowserType, headless: boolean, launchProps: Json) => Promise<Browser>;
|
|
22
|
+
static init(browserType: BrowserType, host?: string, headless?: boolean, width?: number, height?: number, launchProps?: {}): Promise<Tester>;
|
|
23
|
+
byClass(c: string): TestElement;
|
|
24
|
+
byId(id: string): TestElement;
|
|
25
|
+
byDataTestId(id: string): TestElement;
|
|
26
|
+
byName(name: string): TestElement;
|
|
27
|
+
by(key: string, value: string): TestElement;
|
|
28
|
+
submit(): TestElement;
|
|
29
|
+
row(contains: string): TestElement;
|
|
30
|
+
redirect(url: string): Promise<boolean>;
|
|
31
|
+
goto(to: UseCase, id?: Id): Promise<boolean>;
|
|
32
|
+
wait(): Promise<boolean>;
|
|
33
|
+
close(): Promise<void>;
|
|
34
|
+
private byXPath;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { BrowserType, PlaywrightElement, PlaywrightTester };
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./PlaywrightElement"), exports);
|
|
18
|
-
__exportStar(require("./PlaywrightTester"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
1
|
+
"use strict";var a=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var y=Object.prototype.hasOwnProperty;var f=(r,e)=>{for(var t in e)a(r,t,{get:e[t],enumerable:!0})},T=(r,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of b(e))!y.call(r,n)&&n!==t&&a(r,n,{get:()=>e[n],enumerable:!(s=d(e,n))||s.enumerable});return r};var P=r=>T(a({},"__esModule",{value:!0}),r);var E={};f(E,{PlaywrightElement:()=>o,PlaywrightTester:()=>l});module.exports=P(E);var p=require("@thisisagile/easy"),o=class{constructor(e){this.handle=e}click(){return this.handle.then(e=>e?.click())}type(e){return this.handle.then(t=>t?.type(e))}property(e){return this.handle.then(t=>t?.getProperty(e).then(s=>s.jsonValue()))}exists(){return this.handle.then(e=>(0,p.isNotEmpty)(e))}};var i=require("playwright");var c=require("@thisisagile/easy"),u=require("@thisisagile/easy-test-web"),l=class r{constructor(e,t,s){this.host=e;this.browser=t;this.page=s}get url(){return this.page.url()}static launch=(e,t,s)=>{let n={headless:t,args:["--no-sandbox","--start-maximized"],...s};switch(e){case"Firefox":return i.firefox.launch(n);case"Webkit":return i.webkit.launch(n);default:return i.chromium.launch(n)}};static async init(e,t=c.ctx.env.get("webHost",""),s=!0,n=1200,g=800,w={}){let m=await r.launch(e,s,w),h=await m.newPage();return await h.setViewportSize({width:n,height:g}),new r(t,m,h)}byClass(e){let t=this.page.waitForSelector(`.${e}`);return new o(t)}byId(e){let t=this.page.waitForSelector(`#${e}`);return new o(t)}byDataTestId(e){return this.by("data-testid",e)}byName(e){return this.by("name",e)}by(e,t){let s=this.page.waitForSelector(`[${e}=${t}]`);return new o(s)}submit(){return this.by("type","submit")}row(e){return this.byXPath(`(//tr[contains(., '${e}')])[1]`)}redirect(e){return this.page.goto(e).then(t=>t?.ok()??!1)}goto(e,t){return this.redirect((0,u.toUrl)(e,this.host,t))}wait(){return this.page.waitForNavigation().then(e=>e?.ok()||!1)}close(){return this.browser.close()}byXPath(e){let t=this.page.waitForSelector(`${e}`);return new o(t)}};0&&(module.exports={PlaywrightElement,PlaywrightTester});
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{isNotEmpty as p}from"@thisisagile/easy";var s=class{constructor(e){this.handle=e}click(){return this.handle.then(e=>e?.click())}type(e){return this.handle.then(t=>t?.type(e))}property(e){return this.handle.then(t=>t?.getProperty(e).then(r=>r.jsonValue()))}exists(){return this.handle.then(e=>p(e))}};import{chromium as c,firefox as u,webkit as g}from"playwright";import{ctx as w}from"@thisisagile/easy";import{toUrl as d}from"@thisisagile/easy-test-web";var l=class o{constructor(e,t,r){this.host=e;this.browser=t;this.page=r}get url(){return this.page.url()}static launch=(e,t,r)=>{let n={headless:t,args:["--no-sandbox","--start-maximized"],...r};switch(e){case"Firefox":return u.launch(n);case"Webkit":return g.launch(n);default:return c.launch(n)}};static async init(e,t=w.env.get("webHost",""),r=!0,n=1200,m=800,h={}){let i=await o.launch(e,r,h),a=await i.newPage();return await a.setViewportSize({width:n,height:m}),new o(t,i,a)}byClass(e){let t=this.page.waitForSelector(`.${e}`);return new s(t)}byId(e){let t=this.page.waitForSelector(`#${e}`);return new s(t)}byDataTestId(e){return this.by("data-testid",e)}byName(e){return this.by("name",e)}by(e,t){let r=this.page.waitForSelector(`[${e}=${t}]`);return new s(r)}submit(){return this.by("type","submit")}row(e){return this.byXPath(`(//tr[contains(., '${e}')])[1]`)}redirect(e){return this.page.goto(e).then(t=>t?.ok()??!1)}goto(e,t){return this.redirect(d(e,this.host,t))}wait(){return this.page.waitForNavigation().then(e=>e?.ok()||!1)}close(){return this.browser.close()}byXPath(e){let t=this.page.waitForSelector(`${e}`);return new s(t)}};export{s as PlaywrightElement,l as PlaywrightTester};
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thisisagile/easy-playwright",
|
|
3
|
-
"version": "15.8.
|
|
3
|
+
"version": "15.8.5",
|
|
4
4
|
"description": "Straightforward wrapper library for Playwright web testing framework",
|
|
5
5
|
"author": "Sander Hoogendoorn",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
|
+
"module": "dist/index.mjs",
|
|
8
9
|
"types": "dist/index",
|
|
9
10
|
"repository": {
|
|
10
11
|
"type": "git",
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
"lint": "yarn g:eslint . --ext .js,.jsx,.ts,.tsx --fix",
|
|
24
25
|
"format": "yarn g:prettier --check --write src test *.json",
|
|
25
26
|
"build": "yarn g:tsc",
|
|
27
|
+
"build:tsup": "yarn g:tsup",
|
|
26
28
|
"test": "yarn g:jest --coverage",
|
|
27
29
|
"prepack": "yarn g:copy-readme"
|
|
28
30
|
},
|
|
@@ -34,11 +36,11 @@
|
|
|
34
36
|
"access": "public"
|
|
35
37
|
},
|
|
36
38
|
"devDependencies": {
|
|
37
|
-
"@thisisagile/easy-test": "15.8.
|
|
39
|
+
"@thisisagile/easy-test": "15.8.5"
|
|
38
40
|
},
|
|
39
41
|
"dependencies": {
|
|
40
|
-
"@thisisagile/easy": "^15.8.
|
|
41
|
-
"@thisisagile/easy-test-web": "^15.8.
|
|
42
|
+
"@thisisagile/easy": "^15.8.5",
|
|
43
|
+
"@thisisagile/easy-test-web": "^15.8.5",
|
|
42
44
|
"playwright": "^1.31.2"
|
|
43
45
|
}
|
|
44
46
|
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ElementHandle } from 'playwright';
|
|
2
|
-
import { TestElement } from '@thisisagile/easy-test-web';
|
|
3
|
-
import { Json } from '@thisisagile/easy';
|
|
4
|
-
export declare class PlaywrightElement implements TestElement {
|
|
5
|
-
private readonly handle;
|
|
6
|
-
constructor(handle: Promise<ElementHandle | null>);
|
|
7
|
-
click(): Promise<void>;
|
|
8
|
-
type(text: string): Promise<void>;
|
|
9
|
-
property(property: string): Promise<Json | undefined>;
|
|
10
|
-
exists(): Promise<boolean>;
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlaywrightElement = void 0;
|
|
4
|
-
const easy_1 = require("@thisisagile/easy");
|
|
5
|
-
class PlaywrightElement {
|
|
6
|
-
constructor(handle) {
|
|
7
|
-
this.handle = handle;
|
|
8
|
-
}
|
|
9
|
-
click() {
|
|
10
|
-
return this.handle.then(h => h?.click());
|
|
11
|
-
}
|
|
12
|
-
type(text) {
|
|
13
|
-
return this.handle.then(h => h?.type(text));
|
|
14
|
-
}
|
|
15
|
-
property(property) {
|
|
16
|
-
return this.handle.then(h => h?.getProperty(property).then(p => p.jsonValue()));
|
|
17
|
-
}
|
|
18
|
-
exists() {
|
|
19
|
-
return this.handle.then(h => (0, easy_1.isNotEmpty)(h));
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
exports.PlaywrightElement = PlaywrightElement;
|
|
23
|
-
//# sourceMappingURL=PlaywrightElement.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlaywrightElement.js","sourceRoot":"","sources":["../src/PlaywrightElement.ts"],"names":[],"mappings":";;;AAEA,4CAAqD;AAErD,MAAa,iBAAiB;IAC5B,YAA6B,MAAqC;QAArC,WAAM,GAAN,MAAM,CAA+B;IAAG,CAAC;IAEtE,KAAK;QACH,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IAC3C,CAAC;IAED,IAAI,CAAC,IAAY;QACf,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,QAAQ,CAAC,QAAgB;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;IAClF,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAA,iBAAU,EAAC,CAAC,CAAC,CAAC,CAAC;IAC9C,CAAC;CACF;AAlBD,8CAkBC"}
|
package/dist/PlaywrightTester.js
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PlaywrightTester = void 0;
|
|
4
|
-
const playwright_1 = require("playwright");
|
|
5
|
-
const PlaywrightElement_1 = require("./PlaywrightElement");
|
|
6
|
-
const easy_1 = require("@thisisagile/easy");
|
|
7
|
-
const easy_test_web_1 = require("@thisisagile/easy-test-web");
|
|
8
|
-
class PlaywrightTester {
|
|
9
|
-
constructor(host, browser, page) {
|
|
10
|
-
this.host = host;
|
|
11
|
-
this.browser = browser;
|
|
12
|
-
this.page = page;
|
|
13
|
-
}
|
|
14
|
-
get url() {
|
|
15
|
-
return this.page.url();
|
|
16
|
-
}
|
|
17
|
-
static async init(browserType, host = easy_1.ctx.env.get('webHost', ''), headless = true, width = 1200, height = 800, launchProps = {}) {
|
|
18
|
-
const browser = await PlaywrightTester.launch(browserType, headless, launchProps);
|
|
19
|
-
const page = await browser.newPage();
|
|
20
|
-
await page.setViewportSize({ width, height });
|
|
21
|
-
return new PlaywrightTester(host, browser, page);
|
|
22
|
-
}
|
|
23
|
-
byClass(c) {
|
|
24
|
-
const h = this.page.waitForSelector(`.${c}`);
|
|
25
|
-
return new PlaywrightElement_1.PlaywrightElement(h);
|
|
26
|
-
}
|
|
27
|
-
byId(id) {
|
|
28
|
-
const h = this.page.waitForSelector(`#${id}`);
|
|
29
|
-
return new PlaywrightElement_1.PlaywrightElement(h);
|
|
30
|
-
}
|
|
31
|
-
byDataTestId(id) {
|
|
32
|
-
return this.by('data-testid', id);
|
|
33
|
-
}
|
|
34
|
-
byName(name) {
|
|
35
|
-
return this.by('name', name);
|
|
36
|
-
}
|
|
37
|
-
by(key, value) {
|
|
38
|
-
const h = this.page.waitForSelector(`[${key}=${value}]`);
|
|
39
|
-
return new PlaywrightElement_1.PlaywrightElement(h);
|
|
40
|
-
}
|
|
41
|
-
submit() {
|
|
42
|
-
return this.by('type', 'submit');
|
|
43
|
-
}
|
|
44
|
-
row(contains) {
|
|
45
|
-
return this.byXPath(`(//tr[contains(., '${contains}')])[1]`);
|
|
46
|
-
}
|
|
47
|
-
redirect(url) {
|
|
48
|
-
return this.page.goto(url).then(r => r?.ok() ?? false);
|
|
49
|
-
}
|
|
50
|
-
goto(to, id) {
|
|
51
|
-
return this.redirect((0, easy_test_web_1.toUrl)(to, this.host, id));
|
|
52
|
-
}
|
|
53
|
-
wait() {
|
|
54
|
-
return this.page.waitForNavigation().then(r => r?.ok() || false);
|
|
55
|
-
}
|
|
56
|
-
close() {
|
|
57
|
-
return this.browser.close();
|
|
58
|
-
}
|
|
59
|
-
byXPath(q) {
|
|
60
|
-
const h = this.page.waitForSelector(`${q}`);
|
|
61
|
-
return new PlaywrightElement_1.PlaywrightElement(h);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.PlaywrightTester = PlaywrightTester;
|
|
65
|
-
PlaywrightTester.launch = (browserType, headless, launchProps) => {
|
|
66
|
-
const options = {
|
|
67
|
-
headless: headless,
|
|
68
|
-
args: ['--no-sandbox', '--start-maximized'],
|
|
69
|
-
...launchProps,
|
|
70
|
-
};
|
|
71
|
-
switch (browserType) {
|
|
72
|
-
case 'Firefox':
|
|
73
|
-
return playwright_1.firefox.launch(options);
|
|
74
|
-
case 'Webkit':
|
|
75
|
-
return playwright_1.webkit.launch(options);
|
|
76
|
-
default:
|
|
77
|
-
return playwright_1.chromium.launch(options);
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
//# sourceMappingURL=PlaywrightTester.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlaywrightTester.js","sourceRoot":"","sources":["../src/PlaywrightTester.ts"],"names":[],"mappings":";;;AAAA,2CAAkF;AAClF,2DAAwD;AACxD,4CAA2D;AAC3D,8DAAwE;AAIxE,MAAa,gBAAgB;IAC3B,YAAmB,IAAY,EAAmB,OAAgB,EAAmB,IAAU;QAA5E,SAAI,GAAJ,IAAI,CAAQ;QAAmB,YAAO,GAAP,OAAO,CAAS;QAAmB,SAAI,GAAJ,IAAI,CAAM;IAAG,CAAC;IAEnG,IAAI,GAAG;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC;IACzB,CAAC;IAoBD,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