about summary refs log tree commit diff
path: root/__e2e__/flows/profile-screen.yml
blob: b9f95aca26b89ba150d477143e444874f57556a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
appId: xyz.blueskyweb.app
---
- runScript:
    file: ../setupServer.js
    env:
        SERVER_PATH: "?users&posts&feeds"
- runFlow:
    file: ../setupApp.yml
- tapOn:
    id: "e2eSignInAlice"

# Navigate to another user profile
- extendedWaitUntil:
    visible:
        id: "bottomBarSearchBtn"
- tapOn:
    id: "bottomBarSearchBtn"
- tapOn:
    id: "searchTextInput"
- inputText: "b"
- tapOn:
    id: "searchAutoCompleteResult-bob.test"
- assertVisible:
    id: "profileView"

# Can follow/unfollow another user
- tapOn:
    id: "followBtn"
- tapOn:
    id: "unfollowBtn"

# Can mute/unmute another user
- tapOn:
    id: "profileHeaderDropdownBtn"
- tapOn: "Mute Account"
- assertVisible: "Account Muted"
- tapOn:
    id: "profileHeaderDropdownBtn"
- tapOn: "Unmute Account"
- assertNotVisible: "Account Muted"