Open Bhupesh-V opened 2 years ago
Update found how to find gifs in view
// Check giphy_get codebase, file: giphy_tab_detail.dart
final allGIFs = find.descendant(
of: find.byType(InkWell),
matching: find.byType(ExtendedImage),
);
expect(allGIFs, findsWidgets);
// click on 2nd gif
await tester.tap(allGIFs.at(2));
await tester.pumpAndSettle();
Can you add it to the example app?
Can you add it to the example app?
Sure will send a PR for widget tests in example app. I see there a non right now 👍 Do you have any other guidelines for me while writing tests for the example app?
I wrote a simple integration test from documentation, if you add it to that, apreciate!
Sure 👍🏽 will be sending a PR soon
Any ideas on how to write integration tests for widgets having giphy_get?
A normal flow would be like
Finder
optional steps:
Any tips would be helpful