Skip to content

Commit

Permalink
fix: fixed e2e test profile and logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis3797 committed Jun 20, 2024
1 parent 540d7cf commit 544240b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .maestro/auth/logout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ appId: ${APP_ID}
- assertVisible: 'Settings'

- repeat:
times: 3
times: 2
commands:
- swipe:
start: 50%,50%
Expand All @@ -26,4 +26,4 @@ appId: ${APP_ID}
id: 'logout-button'

- tapOn:
point: 31%,88%
id: 'logout-button'
3 changes: 1 addition & 2 deletions .maestro/profile/check-profile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ appId: ${APP_ID}
- tapOn:
id: 'profile-tab'

- assertVisible:
id: 'edit-profile-button'
- assertVisible: 'Edit Profile'

- assertVisible:
id: 'settings-button'
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"testFinal": "jest",
"coverage": "jest -i --coverage --passWithNoTests",
"install-maestro": "curl -Ls 'https://get.maestro.mobile.dev' | bash",
"test:e2e": "maestro test .maestro/ -e APP_ID=com.anonymous.lyve-mobile"
"test:e2e": "maestro test .maestro/ -e APP_ID=com.anonymous.lyve-mobile",
"test:e2e-2": "maestro test -c .maestro/test.yaml -e APP_ID=com.anonymous.lyve-mobile"
},
"dependencies": {
"@config-plugins/react-native-webrtc": "^9.0.0",
Expand Down

0 comments on commit 544240b

Please sign in to comment.