google / google/webdriver.dart

Unable to be used by flutter driver within GitHub actions

Open
#248 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
142
Forks
49
Avg merge
4h 22m
Merged PRs (30d)
4

Description

Error from running a Flutter integration test within a GitHub Action `flutter drive -v --driver=test_driver/integration_test.dart --target=integration_test/example_test.dart -d chrome`
```
[CHROME]: [3016:3046:0317/002536.766937:ERROR:bus.cc(397)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
...
...
...
WebDriverException (400): Error parsing response body: unhandled request
#0 InferSessionHandler.parseCreateResponse (package:webdriver/src/handler/infer_handler.dart:94:7)
```

Minimal example project: [integration_test_flutter](https://github.com/garrettApproachableGeek/integration_test_flutter)

Links to the errors:
[Failed to connect to the bus](https://github.com/garrettApproachableGeek/integration_test_flutter/runs/5578883470?check_suite_focus=true#step:7:4263)
[Error parsing response body](https://github.com/garrettApproachableGeek/integration_test_flutter/runs/5578883470?check_suite_focus=true#step:7:4811)

If there is a better place to open an issue let me know, thanks.

Dart version: 2.16.1
OS: Ubuntu 20.04
Dart webdriver version: 3.0.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.