diff options
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: |