- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用“protractor-flake@2.5.1”版本并运行我的测试。在我的测试中,很少有测试失败,但它再次运行所有测试。除了 Allure 报告之外,我没有使用任何自定义报告器下面是我用来运行的命令。
protractor-flake --max-attempts=2 --color=magenta -- config.js
Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 17:00:58'
System info: host: 'INBEN10174', ip: '157.237.220.180', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, networkConnectionEnabled=false, chrome={chromedriverVersion=2.29.461591 (62ebf098771772160f391d75e589dc567915b233), userDataDir=C:\Users\anuvrs\AppData\Local\Temp\scoped_dir10988_18536}, takesHeapSnapshot=true, pageLoadStrategy=normal, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=58.0.3029.110, platform=XP, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true, unexpectedAlertBehaviour=}]
Session ID: c09e8a25628d5c3998434d31803f0aa8
Executed 2 of 8 specs (1 FAILED) (6 SKIPPED) in 2 mins 7 secs.
[13:05:04] I/launcher - 0 instance(s) of WebDriver still running
[13:05:04] I/launcher - chrome #01 failed 1 test(s)
[13:05:04] I/launcher - overall: 1 failed spec(s)
[13:05:04] E/launcher - Process exited with error code 1
Using standard to parse output
Re-running tests: test attempt 2
Re-running the following test files:
D:\jsout\specs\sitecomviewer\widgets\TrajectorySpec.js
最佳答案
Protractor-flake 解析测试输出以告知需要重新运行的内容。如果所述输出不是它理解的格式,它将重新运行所有测试。我想说这是一个很好的选择 Allure
改变了输出,因此......
尝试删除Allure
并找出答案。
关于javascript - Protractor-flake 似乎重新运行所有测试,而不仅仅是失败的测试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44697305/
我正在使用“protractor-flake@2.5.1”版本并运行我的测试。在我的测试中,很少有测试失败,但它再次运行所有测试。除了 Allure 报告之外,我没有使用任何自定义报告器下面是我用来运
我是 Android 新手,我正在尝试将 9 Old Androids flakes 演示实现到我的应用程序中。但是,当我将图像资源从演示使用的图像更改为我选择的应用程序之一时,应用程序崩溃并显示 I
如果我查看 haskell.nix 提供的输出从 M1 计算机上剥落,它开始构建 ghc-8.8.4 等。 ❯ nix flake show github:input-output-hk/haskel
如果我查看 haskell.nix 提供的输出从 M1 计算机上剥落,它开始构建 ghc-8.8.4 等。 ❯ nix flake show github:input-output-hk/haskel
我无法解决 flake8 SyntaxError,尽管代码执行得很好。 没有注释的代码 import math def answer(str_n): sume = ((str_n * (str
当我在 emacs 中打开 python 文件时,收到以下错误消息: Flymake: Configuration error has occured while running (flake8 >.
max-statements在 Javascript 中,ESLint 为小型、模块化和可读的函数提供了非常好的执行。我希望在 Python Flake8 lint 中找到类似的东西,但到目前为止我还
我正在创建一个 WordPress 插件,但需要连接到 Xero 的 API。 Xero 建议使用 Composer 插件 xero-php-oauth2 所以我设置我的 WP 插件来使用 Compo
问题概述: 在我的项目的主脚本中,gettext 安装函数 _(),该函数在其他模块中用于翻译(如 print(_('Something翻译'))). 如 the doc 所述: the _() fu
我在行“added_parts = new_part_set[(new_part_set["duplicate"] == False) & (new_part_set["version"] ==
我是一名优秀的程序员,十分优秀!