Skip to content

Task test-web fail #884

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
amadeu01 opened this issue Dec 20, 2018 · 2 comments
Closed

Task test-web fail #884

amadeu01 opened this issue Dec 20, 2018 · 2 comments
Labels
P3 A lower priority bug or feature request type-documentation A request to add or improve documentation
Milestone

Comments

@amadeu01
Copy link

If the contributor does not have Google Chrome installed, the task test-web will fail:

00:00 +0 -1: compiling test/sharing/mutable_gist_test.dart [E]
    Failed to load "test/sharing/mutable_gist_test.dart":
    Failed to run Chrome: No such file or directory
      Command: /Applications/Google Chrome.app/Contents/MacOS/Google Chrome --user-data-dir=/private/var/folders/q5/vys4m5tx1yv_r8xtv5kcbz2h0000gp/T/dart_test_YUSV8q http://localhost:62678/vxaJ8jaFxiwik%2B4XBz2oQzcXeG%2F7Z6G1/packages/test/src/runner/browser/static/index.html?managerUrl=ws%3A%2F%2Flocalhost%3A62678%2FvxaJ8jaFxiwik%252B4XBz2oQzcXeG%252F7Z6G1%2F0&debug=false --disable-extensions --disable-popup-blocking --bwsi --no-first-run --no-default-browser-check --disable-default-apps --disable-translate --headless --disable-gpu --remote-debugging-port=0.
    dart:async/future_impl.dart 22:43                             _Completer.completeError
    dart:io/runtime/binprocess_patch.dart 426:19                  _ProcessImpl._start.<fn>
    package:stack_trace/src/stack_zone_specification.dart 209:15  StackZoneSpecification._run
    package:stack_trace/src/stack_zone_specification.dart 119:48  StackZoneSpecification._registerCallback.<fn>
    dart:async/zone.dart 1120:38                                  _rootRun
    dart:async/zone.dart 1021:19                                  _CustomZone.run
    dart:async/zone.dart 923:7                                    _CustomZone.runGuarded
    dart:async/zone.dart 963:23                                   _CustomZone.bindCallbackGuarded.<fn>
    package:stack_trace/src/stack_zone_specification.dart 209:15  StackZoneSpecification._run
    package:stack_trace/src/stack_zone_specification.dart 119:48  StackZoneSpecification._registerCallback.<fn>
    dart:async/zone.dart 1124:13                                  _rootRun
    dart:async/zone.dart 1021:19                                  _CustomZone.run
    dart:async/zone.dart 947:23                                   _CustomZone.bindCallback.<fn>
    dart:async/runtime/libtimer_patch.dart 21:15                  Timer._createTimer.<fn>
    dart:isolate/runtime/libtimer_impl.dart 382:19                _Timer._runTimers
    dart:isolate/runtime/libtimer_impl.dart 416:5                 _Timer._handleMessage
    dart:isolate/runtime/libisolate_patch.dart 171:12             _RawReceivePortImpl._handleMessage
    ===== asynchronous gap ===========================
    dart:async/zone.dart 1045:19                                  _CustomZone.registerCallback
    dart:async/zone.dart 962:22                                   _CustomZone.bindCallbackGuarded
    dart:async/timer.dart 52:45                                   new Timer
    dart:async/timer.dart 87:9                                    Timer.run
    dart:io/runtime/binprocess_patch.dart 411:11                  _ProcessImpl._start
    dart:io/runtime/binprocess_patch.dart 36:20                   Process.start
    package:test/src/runner/browser/chrome.dart 66:37             new Chrome.<fn>.<fn>
    ===== asynchronous gap ===========================
    dart:async/zone.dart 1053:19                                  _CustomZone.registerUnaryCallback
    dart:async/runtime/libasync_patch.dart 77:23                  _asyncThenWrapperHelper
    package:test/src/runner/browser/platform.dart                 BrowserPlatform.load
    package:test/src/runner/loader.dart 245:36                    Loader.loadFile.<fn>
    ===== asynchronous gap ===========================
    dart:async/zone.dart 1053:19                                  _CustomZone.registerUnaryCallback
    dart:async/runtime/libasync_patch.dart 77:23                  _asyncThenWrapperHelper
    package:test/src/runner/loader.dart                           Loader.loadFile.<fn>
    package:test/src/runner/load_suite.dart 92:31                 new LoadSuite.<fn>.<fn>
    ===== asynchronous gap ===========================
    dart:async/zone.dart 1045:19                                  _CustomZone.registerCallback
    dart:async/zone.dart 962:22                                   _CustomZone.bindCallbackGuarded
    dart:async/timer.dart 52:45                                   new Timer
    dart:async/timer.dart 87:9                                    Timer.run
    dart:async/future.dart 174:11                                 new Future
    package:test/src/backend/invoker.dart 402:11                  Invoker._onRun.<fn>.<fn>.<fn>

  00:00 +0 -1: compiling test/sharing/gists_test.dart
  Compiled 8,541,847 characters Dart to 1,022,065 characters JavaScript in 16.8 seconds
  Dart file (/private/var/folders/q5/vys4m5tx1yv_r8xtv5kcbz2h0000gp/T/dart_test_3LDg2i/runInBrowser.dart) compiled to JavaScript: /private/var/folders/q5/vys4m5tx1yv_r8xtv5kcbz2h0000gp/T/dart_test_bJ7dbg/test_Qyo4cl/gists_test.dart.browser_test.dart.js
@jcollins-g
Copy link
Contributor

This should be mentioned in the documentation.

@jcollins-g jcollins-g added type-documentation A request to add or improve documentation P3 A lower priority bug or feature request labels Jan 16, 2019
@RedBrogdon RedBrogdon added this to the Backlog milestone Apr 22, 2019
johnpryan pushed a commit to johnpryan/dart-pad that referenced this issue Jun 27, 2023
Bumps [package_config](https://github.com/dart-lang/package_config) from 2.0.2 to 2.1.0.
- [Release notes](https://github.com/dart-lang/package_config/releases)
- [Changelog](https://github.com/dart-lang/package_config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dart-lang/package_config/commits)

---
updated-dependencies:
- dependency-name: package_config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@parlough
Copy link
Member

Thanks for the discussion here.

I'm going to close this, as this testing setup is no longer used as of #2808. Thanks again!

@parlough parlough closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
P3 A lower priority bug or feature request type-documentation A request to add or improve documentation
Projects
None yet
Development

No branches or pull requests

4 participants