You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Download and install AppFlowy from the official website (appflowy.io) or through app stores for your operating system (Windows, macOS, Linux, or mobile)
142
+
- Create an account or sign in when you first launch the app
143
+
- The main interface shows your workspace with a sidebar for navigation and a content area''',
144
+
author: aiUser,
145
+
createdAt:DateTime.now(),
146
+
),
147
+
);
148
+
await tester.pumpAndSettle(Duration(seconds:1));
149
+
messageId++;
150
+
}
151
+
152
+
// round 2
153
+
{
154
+
// send a message
155
+
await tester.sendUserMessage(
156
+
Message.text(
157
+
id: messageId.toString(),
158
+
text:'How to use AppFlowy?',
159
+
author: user,
160
+
createdAt:DateTime.now(),
161
+
),
162
+
);
163
+
await tester.pumpAndSettle(Duration(seconds:1));
164
+
165
+
// receive a message
166
+
await tester.receiveAIMessage(
167
+
Message.text(
168
+
id:'${messageId}_ans',
169
+
text:
170
+
'I couldn’t find any relevant information in the sources you selected. Please try asking a different question',
171
+
author: aiUser,
172
+
createdAt:DateTime.now(),
173
+
),
174
+
);
175
+
await tester.pumpAndSettle(Duration(seconds:1));
176
+
messageId++;
177
+
}
178
+
179
+
// round 3
180
+
{
181
+
// send a message
182
+
await tester.sendUserMessage(
183
+
Message.text(
184
+
id: messageId.toString(),
185
+
text:'What document formatting options are available?',
186
+
author: user,
187
+
createdAt:DateTime.now(),
188
+
),
189
+
);
190
+
await tester.pumpAndSettle(Duration(seconds:1));
191
+
192
+
// receive a message
193
+
await tester.receiveAIMessage(
194
+
Message.text(
195
+
id:'${messageId}_ans',
196
+
text:
197
+
'# AppFlowy Document Formatting\n- Basic formatting: Bold, italic, underline, strikethrough\n- Headings: 6 levels of headings for structuring content\n- Lists: Bullet points, numbered lists, and checklists\n- Code blocks: Format text as code with syntax highlighting\n- Tables: Create and format data tables\n- Embedded content: Add images, files, and other rich media',
198
+
author: aiUser,
199
+
createdAt:DateTime.now(),
200
+
),
201
+
);
202
+
await tester.pumpAndSettle(Duration(seconds:1));
203
+
messageId++;
204
+
}
205
+
206
+
// round 4
207
+
{
208
+
// send a message
209
+
await tester.sendUserMessage(
210
+
Message.text(
211
+
id: messageId.toString(),
212
+
text:'How do I export my data from AppFlowy?',
213
+
author: user,
214
+
createdAt:DateTime.now(),
215
+
),
216
+
);
217
+
await tester.pumpAndSettle(Duration(seconds:1));
218
+
219
+
// receive a message
220
+
await tester.receiveAIMessage(
221
+
Message.text(
222
+
id:'${messageId}_ans',
223
+
text:
224
+
'# Exporting from AppFlowy\n- Export documents in multiple formats: Markdown, HTML, PDF\n- Export databases as CSV or Excel files\n- Batch export entire workspaces for backup\n- Use the export menu (three dots → Export) on any page\n- Exported files maintain most formatting and structure',
225
+
author: aiUser,
226
+
createdAt:DateTime.now(),
227
+
),
228
+
);
229
+
await tester.pumpAndSettle(Duration(seconds:1));
230
+
messageId++;
231
+
}
232
+
233
+
// round 5
234
+
{
235
+
// send a message
236
+
await tester.sendUserMessage(
237
+
Message.text(
238
+
id: messageId.toString(),
239
+
text:'Is there a mobile version of AppFlowy?',
240
+
author: user,
241
+
createdAt:DateTime.now(),
242
+
),
243
+
);
244
+
await tester.pumpAndSettle(Duration(seconds:1));
245
+
246
+
// receive a message
247
+
await tester.receiveAIMessage(
248
+
Message.text(
249
+
id:'${messageId}_ans',
250
+
text:
251
+
'# AppFlowy on Mobile\n- Yes, AppFlowy is available for iOS and Android devices\n- Download from the App Store or Google Play Store\n- Mobile app includes core functionality: document editing, databases, and boards\n- Offline mode allows working without internet connection\n- Sync automatically when you reconnect\n- Responsive design adapts to different screen sizes',
0 commit comments