npm t output

unlisted ⁨1⁩ ⁨file⁩ 2021-04-09 17:59:08 UTC

pastefile1

Raw
❯ npm t

> wdio_test@1.0.0 test
> wdio run ./wdio.conf.js


Execution of 1 spec files started at 2021-04-09T17:45:25.516Z

2021-04-09T17:45:25.547Z INFO @wdio/cli:launcher: Run onPrepare hook
2021-04-09T17:45:33.639Z INFO @wdio/cli:launcher: Run onWorkerStart hook
2021-04-09T17:45:33.641Z INFO @wdio/local-runner: Start worker 0-0 with arg: run,./wdio.conf.js
[0-0] 2021-04-09T17:45:34.051Z INFO @wdio/local-runner: Run worker command: run
[0-0] RUNNING in chrome - /test/specs/example.e2e.js
[0-0] 2021-04-09T17:45:34.122Z INFO webdriver: Initiate new session using the WebDriver protocol
[0-0] 2021-04-09T17:45:34.123Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session
[0-0] 2021-04-09T17:45:34.123Z INFO webdriver: DATA {
  capabilities: {
    alwaysMatch: { browserName: 'chrome', acceptInsecureCerts: true },
    firstMatch: [ {} ]
  },
  desiredCapabilities: { browserName: 'chrome', acceptInsecureCerts: true }
}
[0-0] DEPRECATION: An asynchronous before/it/after function took a done callback but also returned a promise. This is not supported and will stop working in the future. Either remove the done callback (recommended) or change the function to not return a promise.
[0-0] 2021-04-09T17:45:36.394Z INFO webdriver: COMMAND navigateTo("https://the-internet.herokuapp.com/login")
[0-0] 2021-04-09T17:45:36.394Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/url
[0-0] 2021-04-09T17:45:36.394Z INFO webdriver: DATA { url: 'https://the-internet.herokuapp.com/login' }
[0-0] 2021-04-09T17:45:37.572Z INFO webdriver: COMMAND findElement("css selector", "#username")
[0-0] 2021-04-09T17:45:37.572Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element
[0-0] 2021-04-09T17:45:37.572Z INFO webdriver: DATA { using: 'css selector', value: '#username' }
[0-0] 2021-04-09T17:45:37.588Z INFO webdriver: RESULT {
  'element-6066-11e4-a52e-4f735466cecf': '48c5cc18-b335-4cfb-bb38-bfe7aaaf95c8'
}
[0-0] 2021-04-09T17:45:37.594Z INFO webdriver: COMMAND elementClear("48c5cc18-b335-4cfb-bb38-bfe7aaaf95c8")
[0-0] 2021-04-09T17:45:37.594Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/48c5cc18-b335-4cfb-bb38-bfe7aaaf95c8/clear
[0-0] 2021-04-09T17:45:37.624Z INFO webdriver: COMMAND elementSendKeys("48c5cc18-b335-4cfb-bb38-bfe7aaaf95c8", "<Screenshot[base64]>")
[0-0] 2021-04-09T17:45:37.625Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/48c5cc18-b335-4cfb-bb38-bfe7aaaf95c8/value
[0-0] 2021-04-09T17:45:37.625Z INFO webdriver: DATA { text: 'tomsmith' }
[0-0] 2021-04-09T17:45:37.721Z INFO webdriver: COMMAND findElement("css selector", "#password")
[0-0] 2021-04-09T17:45:37.721Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element
[0-0] 2021-04-09T17:45:37.721Z INFO webdriver: DATA { using: 'css selector', value: '#password' }
[0-0] 2021-04-09T17:45:37.735Z INFO webdriver: RESULT {
  'element-6066-11e4-a52e-4f735466cecf': '705f77fb-f104-4903-b956-904d6afeb8b2'
}
[0-0] 2021-04-09T17:45:37.739Z INFO webdriver: COMMAND elementClear("705f77fb-f104-4903-b956-904d6afeb8b2")
[0-0] 2021-04-09T17:45:37.739Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/705f77fb-f104-4903-b956-904d6afeb8b2/clear
[0-0] 2021-04-09T17:45:37.767Z INFO webdriver: COMMAND elementSendKeys("705f77fb-f104-4903-b956-904d6afeb8b2", "SuperSecretPassword!")
[0-0] 2021-04-09T17:45:37.768Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/705f77fb-f104-4903-b956-904d6afeb8b2/value
[0-0] 2021-04-09T17:45:37.768Z INFO webdriver: DATA { text: 'SuperSecretPassword!' }
[0-0] 2021-04-09T17:45:37.812Z INFO webdriver: COMMAND findElement("css selector", "button[type="submit"]")
[0-0] 2021-04-09T17:45:37.812Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element
[0-0] 2021-04-09T17:45:37.812Z INFO webdriver: DATA { using: 'css selector', value: 'button[type="submit"]' }
[0-0] 2021-04-09T17:45:37.824Z INFO webdriver: RESULT {
  'element-6066-11e4-a52e-4f735466cecf': '558b3bd6-f07b-4600-b690-20eabc1f73f4'
}
[0-0] 2021-04-09T17:45:37.826Z INFO webdriver: COMMAND elementClick("558b3bd6-f07b-4600-b690-20eabc1f73f4")
[0-0] 2021-04-09T17:45:37.826Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/558b3bd6-f07b-4600-b690-20eabc1f73f4/click
[0-0] 2021-04-09T17:45:38.148Z INFO webdriver: COMMAND findElement("css selector", "#flash")
[0-0] 2021-04-09T17:45:38.149Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element
[0-0] 2021-04-09T17:45:38.149Z INFO webdriver: DATA { using: 'css selector', value: '#flash' }
[0-0] 2021-04-09T17:45:38.160Z INFO webdriver: RESULT {
  'element-6066-11e4-a52e-4f735466cecf': 'e05c2108-1316-4211-b852-6ef83b34e41f'
}
[0-0] 2021-04-09T17:45:38.164Z INFO webdriver: COMMAND findElements("css selector", "#flash")
[0-0] 2021-04-09T17:45:38.164Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/elements
[0-0] 2021-04-09T17:45:38.164Z INFO webdriver: DATA { using: 'css selector', value: '#flash' }
[0-0] 2021-04-09T17:45:38.176Z INFO webdriver: RESULT [
  {
    'element-6066-11e4-a52e-4f735466cecf': 'e05c2108-1316-4211-b852-6ef83b34e41f'
  }
]
[0-0] 2021-04-09T17:45:38.181Z INFO webdriver: COMMAND findElement("css selector", "#flash")
[0-0] 2021-04-09T17:45:38.181Z INFO webdriver: [POST] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element
[0-0] 2021-04-09T17:45:38.181Z INFO webdriver: DATA { using: 'css selector', value: '#flash' }
[0-0] 2021-04-09T17:45:38.190Z INFO webdriver: RESULT {
  'element-6066-11e4-a52e-4f735466cecf': 'e05c2108-1316-4211-b852-6ef83b34e41f'
}
[0-0] 2021-04-09T17:45:38.194Z INFO webdriver: COMMAND getElementText("e05c2108-1316-4211-b852-6ef83b34e41f")
[0-0] 2021-04-09T17:45:38.195Z INFO webdriver: [GET] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc/element/e05c2108-1316-4211-b852-6ef83b34e41f/text
[0-0] 2021-04-09T17:45:38.208Z INFO webdriver: RESULT You logged into a secure area!
×
[0-0] DEPRECATION: An asynchronous before/it/after function took a done callback but also returned a promise. This is not supported and will stop working in the future. Either remove the done callback (recommended) or change the function to not return a promise.
[0-0] 2021-04-09T17:45:38.211Z INFO webdriver: COMMAND deleteSession()
[0-0] 2021-04-09T17:45:38.212Z INFO webdriver: [DELETE] http://localhost:4444/wd/hub/session/e1ae4c1ee2cd1774fdfd0e89e8eccbcc
[0-0] PASSED in chrome - /test/specs/example.e2e.js
2021-04-09T17:45:38.379Z INFO @wdio/cli:launcher: Run onComplete hook
2021-04-09T17:45:38.379Z INFO @wdio/selenium-standalone-service: shutting down all browsers

 "spec" Reporter:
------------------------------------------------------------------
[chrome 89.0.4389.114 mac os x #0-0] Running: chrome (v89.0.4389.114) on mac os x
[chrome 89.0.4389.114 mac os x #0-0] Session ID: e1ae4c1ee2cd1774fdfd0e89e8eccbcc
[chrome 89.0.4389.114 mac os x #0-0]
[chrome 89.0.4389.114 mac os x #0-0] » /test/specs/example.e2e.js
[chrome 89.0.4389.114 mac os x #0-0] My Login application
[chrome 89.0.4389.114 mac os x #0-0]    ✓ should login with valid credentials
[chrome 89.0.4389.114 mac os x #0-0]
[chrome 89.0.4389.114 mac os x #0-0] 1 passing (1.8s)


Spec Files:	 1 passed, 1 total (100% completed) in 00:00:12

2021-04-09T17:45:38.380Z INFO @wdio/local-runner: Shutting down spawned worker
2021-04-09T17:45:38.635Z INFO @wdio/local-runner: Waiting for 0 to shut down gracefully
2021-04-09T17:45:38.635Z INFO @wdio/local-runner: shutting down