0fb7251c64
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
116 lines
2.6 KiB
YAML
116 lines
2.6 KiB
YAML
appId: xyz.blueskyweb.app
|
|
---
|
|
- runScript:
|
|
file: ../setupServer.js
|
|
env:
|
|
SERVER_PATH: "?users&posts&feeds"
|
|
- runFlow:
|
|
file: ../setupApp.yml
|
|
- tapOn:
|
|
id: "e2eSignInAlice"
|
|
|
|
|
|
# Navigate to my profile
|
|
- extendedWaitUntil:
|
|
visible:
|
|
id: "bottomBarSearchBtn"
|
|
- tapOn:
|
|
id: "bottomBarProfileBtn"
|
|
|
|
# Open and close edit profile modal
|
|
- tapOn:
|
|
id: "profileHeaderEditProfileButton"
|
|
- assertVisible:
|
|
id: "editProfileModal"
|
|
- tapOn:
|
|
id: "editProfileCancelBtn"
|
|
- assertNotVisible:
|
|
id: "editProfileModal"
|
|
|
|
# Edit display name and description via the edit profile modal
|
|
- tapOn:
|
|
id: "profileHeaderEditProfileButton"
|
|
- assertVisible:
|
|
id: "editProfileModal"
|
|
- tapOn:
|
|
id: "editProfileDisplayNameInput"
|
|
- eraseText
|
|
- inputText: "Alicia"
|
|
- tapOn:
|
|
id: "editProfileDescriptionInput"
|
|
- eraseText
|
|
- inputText: "One cool hacker"
|
|
- tapOn: "Description"
|
|
- tapOn:
|
|
id: "editProfileSaveBtn"
|
|
- assertNotVisible:
|
|
id: "editProfileModal"
|
|
- assertVisible: ".*Alicia.*"
|
|
- assertVisible: "One cool hacker"
|
|
|
|
# Remove display name and description via the edit profile modal
|
|
- tapOn:
|
|
id: "profileHeaderEditProfileButton"
|
|
- assertVisible:
|
|
id: "editProfileModal"
|
|
- tapOn:
|
|
id: "editProfileDisplayNameInput"
|
|
- eraseText
|
|
- tapOn:
|
|
id: "editProfileDescriptionInput"
|
|
- eraseText
|
|
- tapOn: "Description"
|
|
- tapOn:
|
|
id: "editProfileSaveBtn"
|
|
- assertNotVisible:
|
|
id: "editProfileModal"
|
|
# The display-name node renders the handle as a Text with a nested badge View
|
|
# once the display name is cleared, so the a11y text is not the bare handle
|
|
# string on Android. Match it as a substring instead.
|
|
- assertVisible: ".*alice\\.test.*"
|
|
- assertNotVisible: "One cool hacker"
|
|
|
|
# Set avi and banner via the edit profile modal
|
|
- assertVisible:
|
|
id: "userBannerFallback"
|
|
- tapOn:
|
|
id: "profileHeaderEditProfileButton"
|
|
- assertVisible:
|
|
id: "editProfileModal"
|
|
- tapOn:
|
|
id: "changeBannerBtn"
|
|
- tapOn: "Upload from Library"
|
|
- waitForAnimationToEnd
|
|
- tapOn: "Done"
|
|
- waitForAnimationToEnd
|
|
- tapOn:
|
|
id: "changeAvatarBtn"
|
|
- tapOn: "Upload from Library"
|
|
- waitForAnimationToEnd
|
|
- tapOn: "Done"
|
|
- waitForAnimationToEnd
|
|
- tapOn:
|
|
id: "editProfileSaveBtn"
|
|
- assertNotVisible:
|
|
id: "editProfileModal"
|
|
- assertVisible:
|
|
id: "userBannerImage"
|
|
|
|
# # Remove avi and banner via the edit profile modal
|
|
- tapOn:
|
|
id: "profileHeaderEditProfileButton"
|
|
- assertVisible:
|
|
id: "editProfileModal"
|
|
- tapOn:
|
|
id: "changeBannerBtn"
|
|
- tapOn: "Remove Banner"
|
|
- tapOn:
|
|
id: "changeAvatarBtn"
|
|
- tapOn: "Remove Avatar"
|
|
- tapOn:
|
|
id: "editProfileSaveBtn"
|
|
- assertNotVisible:
|
|
id: "editProfileModal"
|
|
- assertVisible:
|
|
id: "userBannerFallback"
|