Skip to content

Commit dfd00b9

Browse files
committed
migrate to e2e
1 parent 68fe2ab commit dfd00b9

File tree

3 files changed

+16
-12
lines changed

3 files changed

+16
-12
lines changed

hackathon/spacecraft/e2e/process.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
appId: weshipit.today.spacecraft
2+
---
3+
4+
- tapOn: "Email Email"
5+
- inputText: "[email protected]"
6+
- tapOn: "Password Password "
7+
- inputText: "123456"
8+
- tapOn: "Login"
9+
- tapOn: "Not Now"
10+
- tapOn: "CR90 corvette"
11+
- swipe:
12+
start: "67%,87%"
13+
end: "69%,51%"
14+
duration: 661

hackathon/spacecraft/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
"web": "expo start --web",
99
"eject": "expo eject",
1010
"lint": "eslint --ignore-path .gitignore --ext .js,.ts,.tsx .",
11-
"maestro": "maestro test tests/process.yaml",
1211
"test": "jest",
1312
"test:watch": "jest --watch",
1413
"build-storybook": "build-storybook",
1514
"storybook-generate": "sb-rn-get-stories",
1615
"storybook-watch": "sb-rn-watcher",
1716
"storybook": "sb-rn-get-stories && STORYBOOK_ENABLED='true' expo start",
1817
"storybook:ios": "sb-rn-get-stories && STORYBOOK_ENABLED='true' expo start --ios",
19-
"storybook:android": "sb-rn-get-stories && STORYBOOK_ENABLED='true' expo start --android"
18+
"storybook:android": "sb-rn-get-stories && STORYBOOK_ENABLED='true' expo start --android",
19+
"e2e": "maestro test e2e/process.yaml"
2020
},
2121
"jest": {
2222
"preset": "jest-expo",

hackathon/spacecraft/tests/process.yaml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)