Unverified Commit fe70a2b0 authored by Jim Graham's avatar Jim Graham Committed by GitHub

add page delays to the fullscreen versions of the textfield perf benchmarks (#107746)

parent 924490da
......@@ -12,11 +12,7 @@ void main() {
macroPerfTestE2E(
'fullscreen_textfield_perf',
kFullscreenTextRouteName,
// The driver version doesn't have this delay because the delay caused
// by the communication between the host and the test device is long enough
// for the driver test, but there isn't such delay in this host independent
// test.
pageDelay: const Duration(milliseconds: 50),
pageDelay: const Duration(seconds: 1),
body: (WidgetController controller) async {
final Finder textfield = find.byKey(const ValueKey<String>('fullscreen-textfield'));
controller.tap(textfield);
......
......@@ -11,7 +11,7 @@ void main() {
macroPerfTest(
'fullscreen_textfield_perf',
kFullscreenTextRouteName,
pageDelay: const Duration(milliseconds: 50),
pageDelay: const Duration(seconds: 1),
driverOps: (FlutterDriver driver) async {
final SerializableFinder textfield = find.byValueKey('fullscreen-textfield');
driver.tap(textfield);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment