forked from
jollywhoppers.com/witchsky.app
Bluesky app fork with some witchin' additions 馃挮
1appId: app.witchsky
2---
3- runScript:
4 file: ../setupServer.js
5 env:
6 SERVER_PATH: "?users&follows"
7- runFlow:
8 file: ../setupApp.yml
9
10# Login, create a thread, and log out
11- tapOn:
12 id: "e2eSignInAlice"
13- extendedWaitUntil:
14 visible:
15 id: "viewHeaderHomeFeedPrefsBtn"
16- assertVisible:
17 id: "composeFAB"
18- tapOn:
19 id: "composeFAB"
20- inputText: "Test thread"
21- tapOn:
22 id: "composerPublishBtn"
23
24# Login, reply to the thread, and log out
25- tapOn:
26 id: "e2eSignOut"
27- tapOn:
28 id: "e2eSignInBob"
29- extendedWaitUntil:
30 visible:
31 id: "viewHeaderHomeFeedPrefsBtn"
32- tapOn:
33 id: "replyBtn"
34- tapOn:
35 id: "replyBtn"
36- inputText: "Reply 1"
37- tapOn:
38 id: "composerPublishBtn"
39
40# Login, confirm notification exists, mute thread, and log out
41- tapOn:
42 id: "e2eSignOut"
43- tapOn:
44 id: "e2eSignInAlice"
45- extendedWaitUntil:
46 visible:
47 id: "viewHeaderHomeFeedPrefsBtn"
48- tapOn:
49 id: "bottomBarNotificationsBtn"
50- assertVisible:
51 id: "feedItem-by-bob.test"
52- tapOn:
53 id: "feedItem-by-bob.test"
54- tapOn:
55 id: "postDropdownBtn"
56 childOf:
57 id: "postThreadItem-by-bob.test"
58- tapOn: "Mute thread"
59
60# Login, reply to the thread twice, and log out
61- tapOn:
62 id: "e2eSignOut"
63- tapOn:
64 id: "e2eSignInBob"
65- extendedWaitUntil:
66 visible:
67 id: "viewHeaderHomeFeedPrefsBtn"
68- tapOn:
69 id: "bottomBarProfileBtn"
70- tapOn:
71 id: "profilePager-selector-1"
72- tapOn:
73 id: "replyBtn"
74- tapOn:
75 id: "replyBtn"
76- inputText: "Reply 2"
77- tapOn:
78 id: "composerPublishBtn"
79- tapOn:
80 id: "replyBtn"
81- inputText: "Reply 3"
82- tapOn:
83 id: "composerPublishBtn"
84
85# Login, confirm notifications dont exist, unmute the thread, ~~confirm notifications exist~~
86# Mute thread behaviour no longer change old notifications after muting/unmuting a thread -sfn
87- tapOn:
88 id: "e2eSignOut"
89- tapOn:
90 id: "e2eSignInAlice"
91- extendedWaitUntil:
92 visible:
93 id: "viewHeaderHomeFeedPrefsBtn"
94- tapOn:
95 id: "bottomBarNotificationsBtn"
96- assertVisible: ".*Reply 1.*"
97- assertNotVisible: ".*Reply 2.*"
98- assertNotVisible: ".*Reply 3.*"
99- assertVisible:
100 id: "feedItem-by-bob.test"
101- tapOn:
102 id: "feedItem-by-bob.test"
103- tapOn:
104 id: "postDropdownBtn"
105 childOf:
106 id: "postThreadItem-by-bob.test"
107- tapOn: "Unmute thread"
108- tapOn:
109 id: "bottomBarNotificationsBtn"
110- swipe:
111 from:
112 id: "notifsFeed"
113 direction: DOWN
114- assertVisible: ".*Reply 1.*"
115- assertNotVisible: ".*Reply 2.*"
116- assertNotVisible: ".*Reply 3.*"