mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 23:51:55 +08:00
[webview_flutter] Use a local web server for legacy web integration tests (#5956)
Use a local web server for the legacy test, just as for the non-legacy version. Also updates the repo tooling to ensure that this test file is found, so it's run regardless of whether tests are run by directory or by individual path. Part of https://github.com/flutter/flutter/issues/95420
This commit is contained in:
@ -317,7 +317,8 @@ class DriveExamplesCommand extends PackageLoopingCommand {
|
||||
example.directory.childDirectory('integration_test');
|
||||
|
||||
if (integrationTestDir.existsSync()) {
|
||||
await for (final FileSystemEntity file in integrationTestDir.list()) {
|
||||
await for (final FileSystemEntity file
|
||||
in integrationTestDir.list(recursive: true)) {
|
||||
if (file is File && file.basename.endsWith('_test.dart')) {
|
||||
tests.add(file);
|
||||
}
|
||||
|
Reference in New Issue
Block a user