diff --git a/e2e/env.t b/e2e/env.t index 5cd5381e..1f4d5091 100644 --- a/e2e/env.t +++ b/e2e/env.t @@ -1,11 +1,11 @@ ::: env_manage { -find: (<) +find(<): [select 'Environment'] = sel sel -> 'Mangage Environment' -find: (<) +find(<): [icon] [label 'New'] = newLabel newLabel -> click @@ -42,10 +42,10 @@ host -> 'https://youtube.com' save -> click -find: (<) +find(<): [label 'myEnv'] -find: (<) +find(<): [select 'Environment'] = sel sel -> 'myEnv' diff --git a/e2e/package.json b/e2e/package.json new file mode 100644 index 00000000..c79a9c06 --- /dev/null +++ b/e2e/package.json @@ -0,0 +1,13 @@ +{ + "name": "e2e", + "version": "1.0.0", + "main": "index.js", + "license": "MIT", + "scripts": { + "test": "playwright test" + }, + "devDependencies": { + "@playwright/test": "1.25.0", + "playwright": "1.25.0" + } +} \ No newline at end of file diff --git a/playwright.config.js b/e2e/playwright.config.js similarity index 69% rename from playwright.config.js rename to e2e/playwright.config.js index c97c3b44..3255cc33 100644 --- a/playwright.config.js +++ b/e2e/playwright.config.js @@ -1,5 +1,5 @@ const config = { - testDir: './e2e', + testDir: './', }; module.exports = config; diff --git a/e2e/yarn.lock b/e2e/yarn.lock new file mode 100644 index 00000000..1af58452 --- /dev/null +++ b/e2e/yarn.lock @@ -0,0 +1,28 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@playwright/test@1.25.0": + version "1.25.0" + resolved "https://registry.npmjs.org/@playwright/test/-/test-1.25.0.tgz#e0de134651e78e45e986c5f16578188dd5937331" + integrity sha512-j4EZhTTQI3dBeWblE21EV//swwmBtOpIrLdOIJIRv4uqsLdHgBg1z+JtTg+AeC5o2bAXIE26kDNW5A0TimG8Bg== + dependencies: + "@types/node" "*" + playwright-core "1.25.0" + +"@types/node@*": + version "18.7.11" + resolved "https://registry.npmjs.org/@types/node/-/node-18.7.11.tgz#486e72cfccde88da24e1f23ff1b7d8bfb64e6250" + integrity sha512-KZhFpSLlmK/sdocfSAjqPETTMd0ug6HIMIAwkwUpU79olnZdQtMxpQP+G1wDzCH7na+FltSIhbaZuKdwZ8RDrw== + +playwright-core@1.25.0: + version "1.25.0" + resolved "https://registry.npmjs.org/playwright-core/-/playwright-core-1.25.0.tgz#54dc867c6c2cc5e4233905e249206a02914d14f1" + integrity sha512-kZ3Jwaf3wlu0GgU0nB8UMQ+mXFTqBIFz9h1svTlNduNKjnbPXFxw7mJanLVjqxHJRn62uBfmgBj93YHidk2N5Q== + +playwright@1.25.0: + version "1.25.0" + resolved "https://registry.npmjs.org/playwright/-/playwright-1.25.0.tgz#a5e317c8c207b921e7da17507ef9ec2983367970" + integrity sha512-Z+pQNWI17Qx/tHhnmgMmPsptsisXpKgAnUvYv98kctlHUJaqMt2400P8kTw9vEPoC0xdxqu0JhxO7pDTmaaIKw== + dependencies: + playwright-core "1.25.0"