about summary refs log tree commit diff
path: root/__e2e__/flows/profile-screen.yml
blob: a20302dacca69a07f0240aa21f182567c1a9d6e2 (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
41
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: "Search for posts, users[,]? or feeds"
- inputText: "b"
- tapOn:
    id: "searchAutoCompleteResult-bob.test"
- assertVisible:
    id: "profileView"

# Can follow/unfollow another user
- tapOn:
    id: "followBtn"
- tapOn:
    point: 65%,35% # dismiss the subscribe prompt
- 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"