about summary refs log tree commit diff
path: root/__e2e__/flows/home-screen.yml
blob: f39aceebc58a30141137d86cf83052aa273a9da3 (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
56
57
58
59
60
61
62
63
appId: xyz.blueskyweb.app
---
- runScript:
    file: ../setupServer.js
    env:
        SERVER_PATH: ?users&follows&posts&feeds
- runFlow:
    file: ../setupApp.yml
- tapOn:
    id: "e2eSignInAlice"

- 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"
- swipe:
    from:
        id: "profilePager-selector"
    direction: LEFT
- tapOn:
    id: "profilePager-selector-4"
- tapOn:
    id: "feed-alice-favs"
- tapOn: "Pin to Home"
- tapOn:
    id: "bottomBarHomeBtn"
- assertNotVisible: "Feeds ✨"

- tapOn:
    label: "Can like posts"
    id: "likeBtn"
- assertVisible:
    id: "likeCount"
    text: "1"
- tapOn:
    id: "likeBtn"
- assertNotVisible:
    id: "likeCount"

- tapOn:
    label: "Can repost posts"
    id: "repostBtn"
- tapOn: "Repost"
- assertVisible:
    id: "repostCount"
    text: "1"
- tapOn:
    id: "repostBtn"
- tapOn: "Remove repost"
- assertNotVisible:
    id: "repostCount"

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