我正在使用 WebdriverIO 版本 5,并希望查看我的测试运行日志。
我尝试了命令:npm run rltest --logLevel=info
,但我只能看到规范报告器的输出。
[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: 16d526a6b3cc51f54110024b112b247c
[chrome 83.0.4103.116 Mac OS X #0-0]
[chrome 83.0.4103.116 Mac OS X #0-0] cancel button
[chrome 83.0.4103.116 Mac OS X #0-0] ✓ Verify that when the user clicks on the Cancel
button, no changes made to the list
[chrome 83.0.4103.116 Mac OS X #0-0]
[chrome 83.0.4103.116 Mac OS X #0-0] 1 passing (36.2s)
有没有办法查看更详细的日志?我需要在里面配置什么wdio.conf.js
吗?
谢谢