about summary refs log tree commit diff
path: root/__e2e__/flows/mod-lists.yml
blob: 75ee100a83ef18fcc0fab592b01b56ec58216943 (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
42
43
44
45
appId: xyz.blueskyweb.app
---
- runScript:
    file: ../setupServer.js
    env:
        SERVER_PATH: "?users&follows&labels"
- runFlow:
    file: ../setupApp.yml
- tapOn:
    id: "e2eSignInAlice"

# create a modlist
- tapOn:
    id: "e2eGotoModeration"
- tapOn:
    id: "moderationlistsBtn"
- tapOn: "New"
- tapOn:
    id: "editNameInput"
- inputText: "Muted Users"
- tapOn:
    id: "editDescriptionInput"
- inputText: "Shhh"
- tapOn: "Save"
- tapOn: "Save"

# view modlist
- assertVisible: "Muted Users"
- assertVisible: "Shhh"

# toggle mute subscription
- tapOn:
    point: "70%,9%"
- tapOn: "Mute accounts"
- tapOn: "Mute list"
- tapOn: "Unmute"

# toggle block subscription
- tapOn:
    point: "70%,9%"
- tapOn: "Block accounts"
- tapOn: "Block list"
- tapOn: "Unblock"
 
 # the rest of the behaviors are tested in curate-lists.yml