about summary refs log tree commit diff
path: root/__e2e__/flows/home-screen.yml
blob: 420f68b92b8f0e2149e8715fffbb182224337ec4 (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
46
47
48
49
50
51
52
53
54
55
appId: xyz.blueskyweb.app
---
- runScript:
    file: ../setupServer.js
    env:
        SERVER_PATH: ?users&follows&posts&feeds
- runFlow:
    file: ../setupApp.yml
- tapOn:
    id: "e2eSignInAlice"

- extendedWaitUntil:
    visible:
        text: "Feeds ✨"
- tapOn:
    label: "Can go to feeds page using feeds button in tab bar"
    text: "Feeds ✨"
- assertVisible: "Discover New Feeds"

- tapOn:
    label: "Feeds button disappears after pinning a feed"
    id: "bottomBarProfileBtn"
- tapOn:
    id: "profilePager-selector-5"
- tapOn: "alice-favs"
- tapOn: "Pin to Home"
- tapOn:
    id: "bottomBarHomeBtn"
- tapOn:
    id: "bottomBarHomeBtn"
- tapOn:
    id: "bottomBarHomeBtn"
- assertNotVisible: "Feeds ✨"

- tapOn:
    label: "Can like posts"
    id: "likeBtn"
- tapOn:
    id: "likeBtn"

- tapOn:
    label: "Can repost posts"
    id: "repostBtn"
- tapOn: "Repost"
- tapOn:
    id: "repostBtn"
- tapOn: "Remove repost"

- tapOn:
    label: "Can delete posts"
    id: "postDropdownBtn"
    childOf:
        id: "feedItem-by-alice.test"
- tapOn: "Delete post"
- tapOn: "Delete"