fix: collab workspace issues (#4961)

This commit is contained in:
Lucas.Xu
2024-03-22 16:15:18 +07:00
committed by GitHub
parent 99ee60a60d
commit c0642d3ff3
37 changed files with 651 additions and 483 deletions

View File

@ -13,7 +13,7 @@ import 'base.dart';
extension AppFlowyWorkspace on WidgetTester {
/// Open workspace menu
Future<void> openWorkspaceMenu() async {
final workspaceWrapper = find.byType(SidebarWorkspaceWrapper);
final workspaceWrapper = find.byType(SidebarSwitchWorkspaceButton);
expect(workspaceWrapper, findsOneWidget);
await tapButton(workspaceWrapper);
final workspaceMenu = find.byType(WorkspacesMenu);