我正在使用量角器进行 AngularJS E2E 测试。我使用带有白色背景和黑色测试的 DOS 命令行。
我有以下设置:
jasmineNodeOpts: {
isVerbose: true,
showColors: true,
defaultTimeoutInterval: 30000,
stackTrace: false
}
发生的事情是我看到前几行是白底黑字:
C:\Test\NodejsConsoleApp1\NodejsConsoleApp1>node_modules\.bin\protractor conf.js
Using the selenium server at http://localhost:4444/wd/hub
[launcher] Running 1 instances of WebDriver
Homepage1
Open a page with an id of ng-app
然后文本背景变为黑色,我在深色背景上看到黑色、红色和绿色。
有什么办法可以改变这个吗?