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&posts"
7- runFlow:
8 file: ../setupApp.yml
9- tapOn:
10 id: "e2eSignInAlice"
11- extendedWaitUntil:
12 visible:
13 id: "viewHeaderHomeFeedPrefsBtn"
14
15- tapOn:
16 label: "Create a curate list"
17 id: "e2eGotoLists"
18- tapOn:
19 id: "newUserListBtn"
20- assertVisible:
21 id: "createOrEditListModal"
22- tapOn:
23 id: "editNameInput"
24- inputText: "Good Ppl"
25- tapOn:
26 id: "editDescriptionInput"
27- inputText: "They good"
28- tapOn: "Save"
29- tapOn: "Save"
30- assertNotVisible:
31 id: "createOrEditListModal"
32- tapOn: "People"
33- assertVisible: "Good Ppl"
34- assertVisible: "They good"
35
36- tapOn:
37 label: "Edit display name and description via the edit curatelist modal"
38 point: "90%,9%"
39- tapOn: "Edit list details"
40- assertVisible:
41 id: "createOrEditListModal"
42- tapOn:
43 id: "editNameInput"
44- eraseText
45- inputText: "Bad Ppl"
46- hideKeyboard
47- tapOn:
48 id: "editDescriptionInput"
49- eraseText
50- inputText: "They bad"
51- tapOn: "Save"
52- tapOn: "Save"
53- assertNotVisible:
54 id: "createOrEditListModal"
55- assertVisible: Bad Ppl
56- assertVisible: They bad
57
58- tapOn:
59 label: "Remove description via the edit curatelist modal"
60 point: "90%,9%"
61- tapOn: "Edit list details"
62- assertVisible:
63 id: "createOrEditListModal"
64- tapOn:
65 id: "editDescriptionInput"
66- eraseText
67- tapOn: "Save"
68- tapOn: "Save"
69- assertNotVisible:
70 id: "createOrEditListModal"
71- assertNotVisible:
72 id: "listDescription"
73
74- tapOn:
75 label: "Delete the curatelist"
76 point: "90%,9%"
77- tapOn: "Delete List"
78- tapOn:
79 id: "confirmBtn"
80
81- assertVisible:
82 id: "newUserListBtn"
83- tapOn:
84 id: "newUserListBtn"
85- assertVisible:
86 id: "createOrEditListModal"
87- tapOn:
88 id: "editNameInput"
89- inputText: "Good Ppl"
90- tapOn:
91 id: "editDescriptionInput"
92- inputText: "They good"
93- tapOn: "Save"
94- tapOn: "Save"
95- assertNotVisible:
96 id: "createOrEditListModal"
97- tapOn: "People"
98- assertVisible: "Good Ppl"
99- assertVisible: "They good"
100- tapOn: "People"
101
102- tapOn: "Start adding people"
103- tapOn: "Search"
104- inputText: "b"
105- pressKey: Enter
106- tapOn: "Add user to list"
107- swipe:
108 direction: DOWN
109- assertVisible: "View Bob's profile"
110
111- tapOn: "Posts"
112- assertVisible:
113 label: "Shows posts by the users in the list"
114 id: "feedItem-by-bob.test"
115
116- tapOn:
117 label: "Pins the list"
118 id: "pinBtn"
119- tapOn:
120 id: "e2eGotoHome"
121- tapOn: "Good Ppl"
122- assertVisible:
123 id: "feedItem-by-bob.test"
124- tapOn:
125 id: "e2eGotoFeeds"
126- tapOn:
127 id: "saved-feed-Good Ppl"
128- assertVisible:
129 id: "feedItem-by-bob.test"
130- tapOn:
131 id: "unpinBtn"
132- tapOn:
133 id: "bottomBarHomeBtn"
134- assertNotVisible:
135 id: "homeScreenFeedTabs-Good Ppl"
136- tapOn:
137 id: "e2eGotoLists"
138- tapOn: "Good Ppl"
139
140- tapOn: "People"
141- assertVisible: "View Bob's profile"
142- tapOn:
143 point: "90%,43%"
144- tapOn:
145 id: "user-bob.test-addBtn"
146- tapOn:
147 id: "doneBtn"
148
149- tapOn:
150 id: "bottomBarSearchBtn"
151- tapOn: "Search for posts, users[,]? or feeds"
152- inputText: "bob"
153- tapOn:
154 id: "searchAutoCompleteResult-bob.test"
155- assertVisible:
156 id: "profileView"
157- tapOn:
158 id: "profileHeaderDropdownBtn"
159- tapOn: "Add to Lists"
160- assertVisible:
161 id: "userAddRemoveListsModal"
162- tapOn:
163 id: "user-bob.test-addBtn"
164- tapOn:
165 id: "doneBtn"
166- assertNotVisible:
167 id: "userAddRemoveListsModal"
168- tapOn:
169 id: "profileHeaderDropdownBtn"
170- tapOn: "Add to Lists"
171- assertVisible:
172 id: "userAddRemoveListsModal"
173- tapOn:
174 id: "user-bob.test-addBtn"
175- tapOn:
176 id: "doneBtn"
177- assertNotVisible:
178 id: "userAddRemoveListsModal"