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- inputText: "Reply 1"
35- tapOn:
36 id: "composerPublishBtn"
37
38# Login, confirm notification exists, mute thread, and log out
39- tapOn:
40 id: "e2eSignOut"
41- tapOn:
42 id: "e2eSignInAlice"
43- extendedWaitUntil:
44 visible:
45 id: "viewHeaderHomeFeedPrefsBtn"
46- tapOn:
47 id: "bottomBarNotificationsBtn"
48- assertVisible:
49 id: "feedItem-by-bob.test"
50- tapOn:
51 id: "feedItem-by-bob.test"
52- tapOn:
53 id: "postDropdownBtn"
54 childOf:
55 id: "postThreadItem-by-bob.test"
56- tapOn: "Mute thread"
57
58# Login, reply to the thread twice, and log out
59- tapOn:
60 id: "e2eSignOut"
61- tapOn:
62 id: "e2eSignInBob"
63- extendedWaitUntil:
64 visible:
65 id: "viewHeaderHomeFeedPrefsBtn"
66- tapOn:
67 id: "bottomBarProfileBtn"
68- tapOn:
69 id: "profilePager-selector-1"
70- tapOn:
71 id: "replyBtn"
72- inputText: "Reply 2"
73- tapOn:
74 id: "composerPublishBtn"
75- tapOn:
76 id: "replyBtn"
77- inputText: "Reply 3"
78- tapOn:
79 id: "composerPublishBtn"
80
81# Login, confirm notifications dont exist, unmute the thread, ~~confirm notifications exist~~
82# Mute thread behaviour no longer change old notifications after muting/unmuting a thread -sfn
83- tapOn:
84 id: "e2eSignOut"
85- tapOn:
86 id: "e2eSignInAlice"
87- extendedWaitUntil:
88 visible:
89 id: "viewHeaderHomeFeedPrefsBtn"
90- tapOn:
91 id: "bottomBarNotificationsBtn"
92- assertVisible: ".*Reply 1.*"
93- assertNotVisible: ".*Reply 2.*"
94- assertNotVisible: ".*Reply 3.*"
95- assertVisible:
96 id: "feedItem-by-bob.test"
97- tapOn:
98 id: "feedItem-by-bob.test"
99- tapOn:
100 id: "postDropdownBtn"
101 childOf:
102 id: "postThreadItem-by-bob.test"
103- tapOn: "Unmute thread"
104- tapOn:
105 id: "bottomBarNotificationsBtn"
106- swipe:
107 from:
108 id: "notifsFeed"
109 direction: DOWN
110- assertVisible: ".*Reply 1.*"
111- assertNotVisible: ".*Reply 2.*"
112- assertNotVisible: ".*Reply 3.*"