-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writing integration tests with giphy get #24
Comments
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? |
Sure will send a PR for widget tests in example app. I see there a non right now 👍 |
I wrote a simple integration test from documentation, if you add it to that, apreciate! |
Sure 👍🏽 will be sending a PR soon |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: