An ATproto social media client -- with an independent Appview.
1appId: xyz.blueskyweb.app
2---
3- runScript:
4 file: ../setupServer.js
5 env:
6 SERVER_PATH: "?users&follows&thread"
7- runFlow:
8 file: ../setupApp.yml
9- tapOn:
10 id: "e2eSignInAlice"
11
12
13# Navigate to thread
14- extendedWaitUntil:
15 visible: "Thread root"
16- tapOn: "Thread root"
17- assertVisible: "Thread reply"
18
19# Can like the root post
20- tapOn:
21 id: "likeBtn"
22 childOf:
23 id: "postThreadItem-by-bob.test"
24- assertVisible: "1 like"
25- tapOn:
26 id: "likeBtn"
27 childOf:
28 id: "postThreadItem-by-bob.test"
29- assertNotVisible: "1 like"
30
31# Can like a reply post
32- tapOn:
33 id: "likeBtn"
34 childOf:
35 id: "postThreadItem-by-carla.test"
36- tapOn:
37 id: "likeBtn"
38 childOf:
39 id: "postThreadItem-by-carla.test"
40
41# Can repost the root post
42- tapOn:
43 id: "repostBtn"
44 childOf:
45 id: "postThreadItem-by-bob.test"
46- tapOn: "Repost"
47- assertVisible:
48 id: "repostCount-expanded"
49- tapOn:
50 id: "repostBtn"
51 childOf:
52 id: "postThreadItem-by-bob.test"
53- tapOn: "Remove repost"
54- assertNotVisible:
55 id: "repostCount-expanded"
56
57
58# Can repost a reply post
59- tapOn:
60 id: "repostBtn"
61 childOf:
62 id: "postThreadItem-by-carla.test"
63- tapOn: "Repost"
64- assertVisible:
65 id: "repostCount"
66 childOf:
67 id: "postThreadItem-by-carla.test"
68- tapOn:
69 id: "repostBtn"
70 childOf:
71 id: "postThreadItem-by-carla.test"
72- tapOn: "Remove repost"
73- assertNotVisible:
74 id: "repostCount"
75 childOf:
76 id: "postThreadItem-by-carla.test"