Fix test
This commit is contained in:
parent
33c45bcab1
commit
3ea1bfbf55
1 changed files with 3 additions and 3 deletions
|
|
@ -23,13 +23,13 @@ void main() {
|
|||
await tester.pumpAndSettle();
|
||||
|
||||
expect(find.text('Your inventory'), findsOneWidget);
|
||||
expect(find.text('Open market'), findsOneWidget);
|
||||
expect(find.text('Market'), findsOneWidget);
|
||||
expect(find.text('COMING SOON'), findsOneWidget); // market is Block 2
|
||||
|
||||
// Redesign copy: tagline + the two destination subtitles.
|
||||
expect(find.text('Share and grow local seeds'), findsOneWidget);
|
||||
expect(find.text('Manage your seeds'), findsOneWidget);
|
||||
expect(find.text('Browse and exchange'), findsOneWidget);
|
||||
expect(find.text('Discover and share seeds nearby'), findsOneWidget);
|
||||
|
||||
await tester.tap(find.byKey(const Key('home.inventory')));
|
||||
await tester.pumpAndSettle();
|
||||
|
|
@ -80,7 +80,7 @@ void main() {
|
|||
|
||||
// Back on the home menu.
|
||||
expect(find.text('Your inventory'), findsOneWidget);
|
||||
expect(find.text('Open market'), findsOneWidget);
|
||||
expect(find.text('Market'), findsOneWidget);
|
||||
await disposeTree(tester);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue