mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
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
12- tapOn:
13 label: "Create a curate list"
14 id: "e2eGotoLists"
15- tapOn:
16 id: "newUserListBtn"
17- assertVisible:
18 id: "createOrEditListModal"
19- tapOn:
20 id: "editNameInput"
21- inputText: "Good Ppl"
22- tapOn:
23 id: "editDescriptionInput"
24- inputText: "They good"
25- tapOn: "Save"
26- tapOn: "Save"
27- assertNotVisible:
28 id: "createOrEditListModal"
29- tapOn: "About"
30- assertVisible: "Good Ppl"
31- assertVisible: "They good"
32
33- tapOn:
34 label: "Edit display name and description via the edit curatelist modal"
35 point: "90%,9%"
36- tapOn: "Edit list details"
37- assertVisible:
38 id: "createOrEditListModal"
39- tapOn:
40 id: "editNameInput"
41- eraseText
42- inputText: "Bad Ppl"
43- hideKeyboard
44- tapOn:
45 id: "editDescriptionInput"
46- eraseText
47- inputText: "They bad"
48- tapOn: "Save"
49- tapOn: "Save"
50- assertNotVisible:
51 id: "createOrEditListModal"
52- assertVisible: Bad Ppl
53- assertVisible: They bad
54
55- tapOn:
56 label: "Remove description via the edit curatelist modal"
57 point: "90%,9%"
58- tapOn: "Edit list details"
59- assertVisible:
60 id: "createOrEditListModal"
61- tapOn:
62 id: "editDescriptionInput"
63- eraseText
64- tapOn: "Save"
65- tapOn: "Save"
66- assertNotVisible:
67 id: "createOrEditListModal"
68- assertNotVisible:
69 id: "listDescription"
70
71- tapOn:
72 label: "Delete the curatelist"
73 point: "90%,9%"
74- tapOn: "Delete List"
75- tapOn:
76 id: "confirmBtn"
77- assertVisible:
78 id: "listsEmpty"
79
80- tapOn:
81 label: "Create a new curatelist"
82 id: "e2eGotoLists"
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: "About"
98- assertVisible: "Good Ppl"
99- assertVisible: "They good"
100- tapOn: "About"
101
102- tapOn:
103 label: "Adds users on curatelists from the list"
104 id: "addUserBtn"
105- assertVisible:
106 id: "listAddUserModal"
107- tapOn:
108 id: "searchInput"
109- inputText: "b"
110- pressKey: Enter
111- tapOn:
112 id: "user-bob.test-addBtn"
113- tapOn:
114 id: "doneBtn"
115- assertNotVisible:
116 id: "listAddUserModal"
117- assertVisible:
118 id: "user-bob.test"
119
120- tapOn: "Posts"
121- assertVisible:
122 label: "Shows posts by the users in the list"
123 id: "feedItem-by-bob.test"
124
125- tapOn:
126 label: "Pins the list"
127 id: "pinBtn"
128- tapOn:
129 id: "e2eGotoHome"
130- tapOn: "Good Ppl"
131- assertVisible:
132 id: "feedItem-by-bob.test"
133- tapOn:
134 id: "e2eGotoFeeds"
135- tapOn: "Good Ppl"
136- assertVisible:
137 id: "feedItem-by-bob.test"
138- tapOn:
139 id: "unpinBtn"
140- tapOn:
141 id: "bottomBarHomeBtn"
142- assertNotVisible:
143 id: "homeScreenFeedTabs-Good Ppl"
144- tapOn:
145 id: "e2eGotoLists"
146- tapOn: "Good Ppl"
147
148- tapOn: "About"
149- assertVisible:
150 label: "Removes users on curatelists from the list"
151 id: "user-bob.test"
152- tapOn:
153 point: "90%,43%"
154- assertVisible:
155 id: "userAddRemoveListsModal"
156- tapOn:
157 id: "user-bob.test-addBtn"
158- tapOn:
159 id: "doneBtn"
160- assertNotVisible:
161 id: "userAddRemoveListsModal"
162
163- tapOn:
164 label: "Shows the curatelist on my profile"
165 id: "bottomBarProfileBtn"
166- swipe:
167 from:
168 id: "profilePager-selector"
169 direction: LEFT
170- tapOn:
171 id: "profilePager-selector-5"
172- tapOn: "Good Ppl"
173
174- tapOn:
175 label: "Adds and removes users on curatelists from the profile"
176 id: "bottomBarSearchBtn"
177- tapOn:
178 id: "searchTextInput"
179- inputText: "bob"
180- tapOn:
181 id: "searchAutoCompleteResult-bob.test"
182- assertVisible:
183 id: "profileView"
184- tapOn:
185 id: "profileHeaderDropdownBtn"
186- tapOn: "Add to Lists"
187- assertVisible:
188 id: "userAddRemoveListsModal"
189- tapOn:
190 id: "user-bob.test-addBtn"
191- tapOn:
192 id: "doneBtn"
193- assertNotVisible:
194 id: "userAddRemoveListsModal"
195- tapOn:
196 id: "profileHeaderDropdownBtn"
197- tapOn: "Add to Lists"
198- assertVisible:
199 id: "userAddRemoveListsModal"
200- tapOn:
201 id: "user-bob.test-addBtn"
202- tapOn:
203 id: "doneBtn"
204- assertNotVisible:
205 id: "userAddRemoveListsModal"