diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-05-13 14:20:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 14:20:27 -0700 |
commit | 27bb73c701d812b6ce85d230cd1433d8f6d51528 (patch) | |
tree | eec3c7ff601e87c17074731d166bc0dfcb222990 /__e2e__ | |
parent | f0cd8ab6f46f45c79de5aaf6eb7def782dc99836 (diff) | |
download | voidsky-27bb73c701d812b6ce85d230cd1433d8f6d51528.tar.zst |
New onboarding tests (#3996)
* Add onboarding test * Add onboarding avatar-creator test * Update profile screen edit test
Diffstat (limited to '__e2e__')
-rw-r--r-- | __e2e__/flows/onboarding-avatar-creator.yml | 32 | ||||
-rw-r--r-- | __e2e__/flows/onboarding.yml | 28 | ||||
-rw-r--r-- | __e2e__/flows/profile-screen-edit.yml | 6 |
3 files changed, 66 insertions, 0 deletions
diff --git a/__e2e__/flows/onboarding-avatar-creator.yml b/__e2e__/flows/onboarding-avatar-creator.yml new file mode 100644 index 000000000..3a20053ba --- /dev/null +++ b/__e2e__/flows/onboarding-avatar-creator.yml @@ -0,0 +1,32 @@ +appId: xyz.blueskyweb.app +--- +- runScript: + file: ../setupServer.js + env: + SERVER_PATH: "?users" +- runFlow: + file: ../setupApp.yml +- tapOn: + id: "e2eSignInAlice" +- tapOn: + id: "e2eStartOnboarding" +- tapOn: "Open avatar creator" +- tapOn: "Select the zap emoji as your avatar" +- tapOn: + label: "Tap on yellow" + point: "23%,79%" +- tapOn: "Done" +- waitForAnimationToEnd +- tapOn: "Select an avatar" +- tapOn: "Select the atom emoji as your avatar" +- tapOn: "Done" +- waitForAnimationToEnd +- tapOn: "Continue to next step" +- assertVisible: "What are your interests?" +- tapOn: + label: "Tap on continue" + point: "50%,92%" +- assertVisible: "You're ready to go!" +- tapOn: + label: "Tap on Lets go" + point: "50%,92%" \ No newline at end of file diff --git a/__e2e__/flows/onboarding.yml b/__e2e__/flows/onboarding.yml new file mode 100644 index 000000000..68d989788 --- /dev/null +++ b/__e2e__/flows/onboarding.yml @@ -0,0 +1,28 @@ +appId: xyz.blueskyweb.app +--- +- runScript: + file: ../setupServer.js + env: + SERVER_PATH: "?users" +- runFlow: + file: ../setupApp.yml +- tapOn: + id: "e2eSignInAlice" +- tapOn: + id: "e2eStartOnboarding" +- tapOn: "Select an avatar" +- waitForAnimationToEnd +- tapOn: + point: "16%,22%" +- waitForAnimationToEnd +- tapOn: "Choose" +- waitForAnimationToEnd +- tapOn: "Continue to next step" +- assertVisible: "What are your interests?" +- tapOn: + label: "Tap on continue" + point: "50%,92%" +- assertVisible: "You're ready to go!" +- tapOn: + label: "Tap on Lets go" + point: "50%,92%" \ No newline at end of file diff --git a/__e2e__/flows/profile-screen-edit.yml b/__e2e__/flows/profile-screen-edit.yml index 602cc6688..640f53882 100644 --- a/__e2e__/flows/profile-screen-edit.yml +++ b/__e2e__/flows/profile-screen-edit.yml @@ -90,9 +90,15 @@ appId: xyz.blueskyweb.app - tapOn: id: "changeBannerBtn" - tapOn: "Upload from Library" +- waitForAnimationToEnd +- tapOn: "Choose" +- waitForAnimationToEnd - tapOn: id: "changeAvatarBtn" - tapOn: "Upload from Library" +- waitForAnimationToEnd +- tapOn: "Choose" +- waitForAnimationToEnd - tapOn: id: "editProfileSaveBtn" - assertNotVisible: |