Closed mrzzy closed 3 weeks ago
Closes #3
Add CI jobs to build & test mobile apps:
build-mobile-android
test-mobile-android
build-mobile-ios
test-mobile-ios
Adds Finder.wait() extension method that polls waits for elements to appear:
Finder.wait()
import '../utils/polling_finder.dart'; await find.byKey(...).wait(tester)
Finder.evaluate()
tester.pumpAndSettle()
Refactors integration tests to replace Future.delayed() waits with Finder.wait() extension. This should make tests less flakey and more deterministic.
Future.delayed()
Other changes:
Motivation
Closes #3
Contents
Add CI jobs to build & test mobile apps:
build-mobile-android
job builds APKtest-mobile-android
job runs integration tests on Android AVD.build-mobile-ios
job builds IPAtest-mobile-ios
runs integration tests on iOS simulator.Adds
Finder.wait()
extension method that polls waits for elements to appear:Finder.evaluate()
for >=1 elementtester.pumpAndSettle()
to while waiting for the element to appear.Refactors integration tests to replace
Future.delayed()
waits withFinder.wait()
extension. This should make tests less flakey and more deterministic.Other changes: