Skip to content

Commit d5836ee

Browse files
authored
[web] skip debug mode CanvasKit e2e tests due to flakiness; unskip all other modes (#147736)
- Skip debug mode CanvasKit e2e tests due to flakiness. - Unskip all other modes (`text_editing_integration` was over-skipped). Fixes #146189
1 parent 5d1bfdc commit d5836ee

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

dev/bots/suite_runners/run_web_tests.dart

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,9 @@ class WebTestsSuite {
152152

153153
// This test doesn't do anything interesting w.r.t. rendering, so we don't run the full build mode x renderer matrix.
154154
// These tests have been extremely flaky, so we are temporarily disabling them until we figure out how to make them more robust.
155-
// See https://github.com/flutter/flutter/issues/143834
156-
// () => _runWebE2eTest('text_editing_integration', buildMode: 'debug', renderer: 'canvaskit'),
157-
// () => _runWebE2eTest('text_editing_integration', buildMode: 'profile', renderer: 'html'),
158-
// () => _runWebE2eTest('text_editing_integration', buildMode: 'release', renderer: 'html'),
155+
() => _runWebE2eTest('text_editing_integration', buildMode: 'debug', renderer: 'canvaskit'),
156+
() => _runWebE2eTest('text_editing_integration', buildMode: 'profile', renderer: 'html'),
157+
() => _runWebE2eTest('text_editing_integration', buildMode: 'release', renderer: 'html'),
159158

160159
// This test doesn't do anything interesting w.r.t. rendering, so we don't run the full build mode x renderer matrix.
161160
() => _runWebE2eTest('url_strategy_integration', buildMode: 'debug', renderer: 'html'),
@@ -293,6 +292,11 @@ class WebTestsSuite {
293292
bool expectWriteResponseFile = false,
294293
String expectResponseFileContent = '',
295294
}) async {
295+
// TODO(yjbanov): this is temporarily disabled due to https://github.com/flutter/flutter/issues/147731
296+
if (buildMode == 'debug' && renderer == 'canvaskit') {
297+
print('SKIPPED: $target in debug CanvasKit mode due to https://github.com/flutter/flutter/issues/147731');
298+
return;
299+
}
296300
printProgress('${green}Running integration tests $target in $buildMode mode.$reset');
297301
await runCommand(
298302
flutter,
@@ -421,6 +425,11 @@ class WebTestsSuite {
421425
/// The test is written using `package:integration_test` (despite the "e2e" in
422426
/// the name, which is there for historic reasons).
423427
Future<void> _runGalleryE2eWebTest(String buildMode, { bool canvasKit = false }) async {
428+
// TODO(yjbanov): this is temporarily disabled due to https://github.com/flutter/flutter/issues/147731
429+
if (buildMode == 'debug' && canvasKit) {
430+
print('SKIPPED: Gallery e2e web test in debug CanvasKit mode due to https://github.com/flutter/flutter/issues/147731');
431+
return;
432+
}
424433
printProgress('${green}Running flutter_gallery integration test in --$buildMode using ${canvasKit ? 'CanvasKit' : 'HTML'} renderer.$reset');
425434
final String testAppDirectory = path.join(flutterRoot, 'dev', 'integration_tests', 'flutter_gallery');
426435
await runCommand(

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy