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