fix: workspace integration test (#5049)

This commit is contained in:
Lucas.Xu
2024-04-03 22:30:01 +08:00
committed by GitHub
parent c97ece5e81
commit 382ce827c1

View File

@ -68,8 +68,9 @@ void main() {
);
// open the newly created workspace
await tester.tapButton(items.last);
await tester.tapButton(items.last, milliseconds: 1000);
success = find.text(LocaleKeys.workspace_openSuccess.tr());
await tester.pumpUntilFound(success);
expect(success, findsOneWidget);
await tester.pumpUntilNotFound(success);