Skip to content

Commit

Permalink
feat: create e2e config
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfuboy committed Aug 23, 2022
1 parent 253eff1 commit adf81e2
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 5 deletions.
8 changes: 4 additions & 4 deletions e2e/env.t
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
::: env_manage {

find: (<)
find(<):
[select 'Environment'] = sel

sel -> 'Mangage Environment'

find: (<)
find(<):
[icon] [label 'New'] = newLabel

newLabel -> click
Expand Down Expand Up @@ -42,10 +42,10 @@ host -> 'https://youtube.com'

save -> click

find: (<)
find(<):
[label 'myEnv']

find: (<)
find(<):
[select 'Environment'] = sel

sel -> 'myEnv'
Expand Down
13 changes: 13 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
2 changes: 1 addition & 1 deletion playwright.config.js → e2e/playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
testDir: './e2e',
testDir: './',
};

module.exports = config;
28 changes: 28 additions & 0 deletions e2e/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@playwright/[email protected]":
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==

[email protected]:
version "1.25.0"
resolved "https://registry.npmjs.org/playwright-core/-/playwright-core-1.25.0.tgz#54dc867c6c2cc5e4233905e249206a02914d14f1"
integrity sha512-kZ3Jwaf3wlu0GgU0nB8UMQ+mXFTqBIFz9h1svTlNduNKjnbPXFxw7mJanLVjqxHJRn62uBfmgBj93YHidk2N5Q==

[email protected]:
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"

0 comments on commit adf81e2

Please sign in to comment.