Skip to content

Instantly share code, notes, and snippets.

@sknight80
Created July 6, 2020 16:06
Show Gist options
  • Save sknight80/377ffdc82f90a5233c0ef101a8b0a3e6 to your computer and use it in GitHub Desktop.
Save sknight80/377ffdc82f90a5233c0ef101a8b0a3e6 to your computer and use it in GitHub Desktop.
WDIO V6 reporting issue
> npx wdio wdio.conf.js
Execution of 2 spec files started at 2020-07-06T16:00:02.880Z
2020-07-06T16:00:02.901Z INFO @wdio/cli:launcher: Run onPrepare hook
Starting ChromeDriver 83.0.4103.39 (ccbf011cb2d2b19b506d844400483861342c20cd-refs/branch-heads/4103@{#416}) on port 9515
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
2020-07-06T16:00:03.019Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2020-07-06T16:00:03.019Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2020-07-06T16:00:03.020Z INFO @wdio/local-runner: Start worker 0-0 with arg: wdio.conf.js
2020-07-06T16:00:03.027Z INFO @wdio/local-runner: Start worker 0-1 with arg: wdio.conf.js
[0-1] 2020-07-06T16:00:03.446Z INFO @wdio/local-runner: Run worker command: run
[0-0] 2020-07-06T16:00:03.446Z INFO @wdio/local-runner: Run worker command: run
[0-0] 2020-07-06T16:00:03.453Z INFO webdriverio: Initiate new session using the ./protocol-stub protocol
[0-1] 2020-07-06T16:00:03.455Z INFO webdriverio: Initiate new session using the ./protocol-stub protocol
[0-0] RUNNING in chrome - /test/specs/basic.js
[0-0] 2020-07-06T16:00:03.861Z INFO webdriverio: Initiate new session using the webdriver protocol
[0-0] 2020-07-06T16:00:03.862Z INFO webdriver: [POST] http://localhost:9515/session
[0-0] 2020-07-06T16:00:03.862Z INFO webdriver: DATA {
capabilities: { alwaysMatch: { browserName: 'chrome' }, firstMatch: [ {} ] },
desiredCapabilities: { browserName: 'chrome' }
}
2020-07-06T16:00:03.960Z INFO @wdio/cli: [0-1] SKIPPED in chrome - /test/specs/skip.js
[0-0] 2020-07-06T16:00:05.159Z INFO webdriver: COMMAND navigateTo("https://webdriver.io/")
[0-0] 2020-07-06T16:00:05.159Z INFO webdriver: [POST] http://localhost:9515/session/33d16f11629c623e7648bf3accd3fdb4/url
[0-0] 2020-07-06T16:00:05.159Z INFO webdriver: DATA { url: 'https://webdriver.io/' }
[0-0] 2020-07-06T16:00:06.239Z INFO webdriver: COMMAND getTitle()
[0-0] 2020-07-06T16:00:06.240Z INFO webdriver: [GET] http://localhost:9515/session/33d16f11629c623e7648bf3accd3fdb4/title
[0-0] 2020-07-06T16:00:06.539Z INFO webdriver: RESULT WebdriverIO · Next-gen browser and mobile automation test framework for Node.js
[0-0] 2020-07-06T16:00:06.555Z INFO webdriver: COMMAND deleteSession()
2020-07-06T16:00:06.556Z INFO webdriver: [DELETE] http://localhost:9515/session/33d16f11629c623e7648bf3accd3fdb4
[0-0] PASSED in chrome - /test/specs/basic.js
2020-07-06T16:00:06.789Z INFO @wdio/cli:launcher: Run onComplete hook
"spec" Reporter:
------------------------------------------------------------------
[chrome 83.0.4103.116 mac os x #0-0] Spec: <...>/wdio/basedondoc/test/specs/basic.js
[chrome 83.0.4103.116 mac os x #0-0] Running: chrome (v83.0.4103.116) on mac os x
[chrome 83.0.4103.116 mac os x #0-0] Session ID: 33d16f11629c623e7648bf3accd3fdb4
[chrome 83.0.4103.116 mac os x #0-0]
[chrome 83.0.4103.116 mac os x #0-0] webdriver.io page
[chrome 83.0.4103.116 mac os x #0-0] ✓ should have the right title
[chrome 83.0.4103.116 mac os x #0-0]
[chrome 83.0.4103.116 mac os x #0-0] skip test
[chrome 83.0.4103.116 mac os x #0-0] - should skip
[chrome 83.0.4103.116 mac os x #0-0]
[chrome 83.0.4103.116 mac os x #0-0] 1 passing (1.6s)
[chrome 83.0.4103.116 mac os x #0-0] 1 skipped
Spec Files: 1 passed, 1 skipped, 2 total (100% completed) in 00:00:03
2020-07-06T16:00:06.790Z INFO @wdio/local-runner: Shutting down spawned worker
2020-07-06T16:00:07.045Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2020-07-06T16:00:07.046Z INFO @wdio/local-runner: shutting down
> basedondoc % ls -la test_output
total 8
drwxrwxrwx 4 istvanszabo staff 128 Jul 1 16:27 .
drwxrwxrwx 11 istvanszabo staff 352 Jul 6 11:46 ..
-rwxrwxrwx 1 istvanszabo staff 1131 Jul 6 12:00 wdio-0-0-junit-reporter.log
-rwxrwxrwx 1 istvanszabo staff 0 Jul 6 12:00 wdio-0-1-junit-reporter.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment