dojo / dojo/cli-test-intern

-u flag causes chrome driver error

Open
#153 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2
Forks
17
PR merge metrics
No merged PRs in 30d

Description

**Bug**

When running a test, the `-u` command causes a chrome driver error. Running the same command without the `-u` flag succeeds.

- `dojo test -u -c local` / `dojo test -u -c headless` - Fails
- `dojo test -c local` / `dojo test -c headless` - Passes

Platform: Window 10
Package Version: 7.0.0-alpha.6

**Code**

https://github.com/dojo/examples/tree/master/dgrid-wrapper

**Expected behavior:**

Tests should run successfully.

**Actual behavior:**

```
Suite chrome on any platform FAILED
SessionNotCreatedException: [POST http://localhost:4444/wd/hub/session / {"desiredCapabilities":{"name":"dgrid-wrapper-app","project":"dgrid-wrapper-app","idle-timeout":60,"browserName":"chrome"}}] session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.18363 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 478 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'KANE-PC', ip: '192.168.200.150', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12.0.2'
Driver info: driver.version: unknown
at Server.post
at Server.createSession
at Suite.before
at
at new e
at runLifecycleMethod
at before
at Suite.run
at
at FunctionQueue.next
(ノಠ益ಠ)ノ彡┻━┻
SessionNotCreatedException: [POST http://localhost:4444/wd/hub/session / {"desiredCapabilities":{"name":"dgrid-wrapper-app","project":"dgrid-wrapper-app","idle-timeout":60,"browserName":"chrome"}}] session not created: This version of ChromeDriver only supports Chrome version 74
(Driver info: chromedriver=74.0.3729.6 (255758eccf3d244491b8a1317aa76e1ce10d57e9-refs/branch-heads/3729@{#29}),platform=Windows NT 10.0.18363 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 478 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'KANE-PC', ip: '192.168.200.150', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12.0.2'
Driver info: driver.version: unknown
at Server.post
at Server.createSession
at Suite.before
at
at new e
at runLifecycleMethod
at before
at Suite.run
at
at FunctionQueue.next
```

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.