add web_long_running_tests shard containing long-running web tests (#67324)

This commit is contained in:
Yegor
2020-10-29 14:23:02 -07:00
committed by GitHub
parent 7b0f38b117
commit 2fa03438de
7 changed files with 154 additions and 11 deletions

View File

@@ -187,7 +187,11 @@ class WebFlutterDriver extends FlutterDriver {
class FlutterWebConnection {
/// Creates a FlutterWebConnection with WebDriver
/// and whether the WebDriver supports timeline action.
FlutterWebConnection(this._driver, this.supportsTimelineAction);
FlutterWebConnection(this._driver, this.supportsTimelineAction) {
_driver.logs.get(async_io.LogType.browser).listen((async_io.LogEntry entry) {
print('[${entry.level}]: ${entry.message}');
});
}
final async_io.WebDriver _driver;