-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
This hasn't been picked up by the flake bot, but poking around the dashboard I found two occurrences of persistent_bottom_sheet_test.dart flaking out:
- https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8768952368461841073/+/u/run_test.dart_for_web_tests_shard_and_subshard_3/test_stdout
- https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8768667925900091937/+/u/run_test.dart_for_web_tests_shard_and_subshard_3/test_stdout
The specific test is "Verify that a back button resets a persistent BottomSheet" and it fails like this:
01:25 +105 ~1: test/material/persistent_bottom_sheet_test.dart: Verify that a back button resets a persistent BottomSheet
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
The following TestFailure was thrown running a test:
Expected: exactly one matching candidate
Actual: _TextWidgetFinder:<Found 0 widgets with text "Item 22": []>
Which: means none were found but one was expected
When the exception was thrown, this was the stack:
../dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 294:3 throw_
../packages/matcher/src/expect/prints_matcher.dart.js 436:22 fail
../packages/matcher/src/expect/prints_matcher.dart.js 433:12 _expect
../packages/matcher/src/expect/prints_matcher.dart.js 368:12 expect$
../packages/flutter_test/src/test_text_input_key_handler.dart.js 9381:12 expect$
persistent_bottom_sheet_test.dart.js 3818:21 <fn>
../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn>
../packages/stack_trace/src/stack_zone_specification.dart.js 187:98 <fn>
../packages/stack_trace/src/stack_zone_specification.dart.js 239:16 [_run]
../packages/stack_trace/src/stack_zone_specification.dart.js 187:80 <fn>
../dart-sdk/lib/async/zone.dart 1407:47 _rootRunUnary
../dart-sdk/lib/async/zone.dart 1308:19 runUnary
../dart-sdk/lib/async/future_impl.dart 162:18 handleValue
../dart-sdk/lib/async/future_impl.dart 846:44 handleValueCallback
../dart-sdk/lib/async/future_impl.dart 875:13 _propagateToListeners
../dart-sdk/lib/async/future_impl.dart 647:5 [_completeWithValue]
../dart-sdk/lib/async/future_impl.dart 721:7 <fn>
../packages/fake_async/fake_async.dart.js 140:40 flushMicrotasks
../packages/flutter_test/src/test_text_input_key_handler.dart.js 10530:19 <fn>
../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 84:54 runBody
../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 127:5 _async
../packages/flutter_test/src/test_text_input_key_handler.dart.js 10527:62 <fn>
../dart-sdk/lib/async/future.dart 280:37 <fn>
../packages/stack_trace/src/stack_zone_specification.dart.js 239:16 [_run]
../packages/stack_trace/src/stack_zone_specification.dart.js 182:71 <fn>
../dart-sdk/lib/async/zone.dart 1391:47 _rootRun
../dart-sdk/lib/async/zone.dart 1301:19 run
../dart-sdk/lib/async/zone.dart 1209:7 runGuarded
../dart-sdk/lib/async/zone.dart 1249:23 <fn>
../packages/stack_trace/src/stack_zone_specification.dart.js 239:16 [_run]
../packages/stack_trace/src/stack_zone_specification.dart.js 182:71 <fn>
../dart-sdk/lib/async/zone.dart 1399:13 _rootRun
../dart-sdk/lib/async/zone.dart 1301:19 run
../dart-sdk/lib/async/zone.dart 1209:7 runGuarded
../dart-sdk/lib/async/zone.dart 1249:23 callback
../dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop
../dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop
../dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
The test description was:
Verify that a back button resets a persistent BottomSheet
════════════════════════════════════════════════════════════════════════════════════════════════════
01:25 +105 ~1 -1: test/material/persistent_bottom_sheet_test.dart: Verify that a back button resets a persistent BottomSheet [E]
Test failed. See exception logs above.
The test description was: Verify that a back button resets a persistent BottomSheet
To run this test again: /b/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart test test/material/persistent_bottom_sheet_test.dart -p chrome --plain-name 'Verify that a back button resets a persistent BottomSheet'
Metadata
Metadata
Assignees
Labels
P0Critical issues such as a build break or regressionCritical issues such as a build break or regressiona: tests"flutter test", flutter_test, or one of our tests"flutter test", flutter_test, or one of our testsc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly passplatform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team