[web] Remove HTML from bots, test suites and e2e tests (#161537)

- Stop running framework tests in HTML mode in CI.
- Update some READMEs
- Remove HTML-specific integration tests
This commit is contained in:
Mouad Debbar
2025-01-22 13:50:46 -05:00
committed by GitHub
parent 74ab593738
commit f2e6dbc567
8 changed files with 32 additions and 285 deletions

View File

@@ -22,12 +22,10 @@ Here's an example of running an integration test:
flutter drive --target=test_driver/text_editing_integration.dart \
-d web-server \
--browser-name=chrome \
--profile \
--web-renderer=html
--profile
```
This example runs the test in profile mode (`--profile`) using the HTML
renderer (`--web-renderer=html`).
This example runs the test in profile mode (`--profile`).
More resources:

View File

@@ -1,18 +0,0 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/foundation.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets('capabilities are set properly in HTML mode', (WidgetTester tester) async {
await tester.pumpAndSettle();
expect(isCanvasKit, false);
expect(isSkwasm, false);
expect(isSkiaWeb, false);
});
}

View File

@@ -1,7 +0,0 @@
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:integration_test/integration_test_driver.dart' as test;
Future<void> main() async => test.integrationDriver();