feat: tabs shortcuts (#3112)

This commit is contained in:
Mathias Mogensen
2023-08-08 07:09:17 +02:00
committed by GitHub
parent 923285bfcf
commit 35a47bfe5d
26 changed files with 283 additions and 174 deletions

View File

@ -11,13 +11,13 @@ import 'package:flowy_infra_ui/flowy_infra_ui.dart';
import 'package:flutter_test/flutter_test.dart';
// const String readme = 'Read me';
const String gettingStated = '⭐️ Getting started';
const String gettingStarted = '⭐️ Getting started';
extension Expectation on WidgetTester {
/// Expect to see the home page and with a default read me page.
void expectToSeeHomePage() {
expect(find.byType(HomeStack), findsOneWidget);
expect(find.textContaining(gettingStated), findsWidgets);
expect(find.textContaining(gettingStarted), findsWidgets);
}
/// Expect to see the page name on the home page.