- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我一直在尝试将我的 Cypress 测试上传到它们匹配的 TestRail 测试用例,但到目前为止还没有成功。
这是我当前的设置:
我已经安装了:
在我的 cypress.json 文件中我有:
{
"baseUrl": "my website URL",
"projectId": "my project ID",
"reporter": "cypress-testrail-reporter",
"reporterOptions": {
"domain": "https://customName.testrail.io",
"username": "myemail@address.com",
"password": "My API key",
"projectId": 2,
"suiteId": 12
}
}
在 Cypress 中,我有一个 it() block ,名为 it.only("C170 Using wrong credentials", ...)
在 TestRail 中,我有以下设置:
然后,当我运行 cypress run --record --key my-record-key-from-cypress
时:
知道可能遗漏了什么吗?
最佳答案
不要在 cypress.json 文件的 reporterOptions 中包含 http(s)://
BAD: "domain": "https://customName.testrail.io"
GOOD: "domain": "customName.testrail.io"
平心而论,它叫做domain,而不是URL,所以我删除 https 是有道理的
关于javascript - 在 TestRail 中集成 Cypress,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60152766/
我使用 testrail 只是为了编写手动测试用例。我不使用测试运行/里程碑和其他选项卡。我只使用“测试用例”来添加测试用例。有时我错误地添加了一些测试用例(后来意识到它是重复的或不需要此功能等。)。
我在 selenium webdriver 中使用 MSTEST C#。我的项目的层次结构是 Level1-MainProjectfile Level2-Properties Le
我正在尝试从默认生成的“自动运行时间戳”自动重命名测试运行。 在理想情况下,我希望 pytest 运行程序从测试目录中的 json 文件中获取部分名称,并将其与我正在运行的测试的相对路径结合起来。如果
我是所有这些编码经验的新手。我已经做了几年的手动质量检查,现在我开始接触 selenium 我已经制定了一个非常简单的测试用例来提交注册表,我想获得该测试用例的结果并将其发布到我的测试工具“Test
我一直在尝试将我的 Cypress 测试上传到它们匹配的 TestRail 测试用例,但到目前为止还没有成功。 这是我当前的设置: 我已经安装了: 柏树 cypress-testrail-report
我无法将测试结果从 selenium 发送到 testrail 。我似乎无法使用提供的文件弄清楚这一点。我目前正在使用这个: public class login_errors extends Con
@Dimu4 如果您可以添加有关集成的更多详细信息,我将非常感激。我正在尝试对 XCUITest 做同样的事情,我试图与 Bot 集成,以便每次测试运行时我都会将测试结果发送到 TestRail。 我
我正在尝试将我的测试从 selenium 发送到 testrail 但我没有使用断言来结束测试,我只是希望它在运行完成时通过?这可能吗?还有这在代码中如何工作的例子吗?我目前有: public cla
我正在尝试将测试结果发布到 TestRails。 使用测试套件和测试用例,相关测试是使用 SoapUI 创建的。我目前所拥有的将直接从 SoapUI POST 到 TestRails。我工作的公司想要
目前正致力于将我的 UITest 运行结果集成到 TestRail 中,因此在每次测试运行后,它都会在 testrail 中将我的测试标记为 Pass\Fail。 我的想法是: 在 CI 中创建一个“
大多数将自动化测试与 TestRail 集成的团队会触发并在 TestRail 外部执行自动化测试(例如,作为持续集成系统的一部分),并使用 TestRail 的 API 提交测试结果。 但我想结合使
我正在尝试将 testcafe 与 testrail 集成。我已经使用一些测试用例在 testrail 中创建了一个测试运行。 我已经通过更改环境变量和测试描述来尝试这里给出的 https://www
我正在 Jenkins 上运行 Jest 集成测试,我想将它们与 TestRail 集成,以便自动将测试结果放入 TestRail。这样我就可以很容易地知道有多少测试通过/失败了? 有人试过吗? 最佳
我下载了 testcafe-reporter-html-testrail 并在我的 testcafe 项目中使用它。如果我为报告提供自定义名称,则无法正确保存,即报告不完整,几乎空白,只有几行....
我正在尝试将 TestRail 与 Jenkins 集成,我想从调用 jenkins 中的测试用例的测试轨运行一些测试用例,然后将结果写回到 TestRail 本身,或类似的东西。 我知道有一个用于此
我正在尝试触发 Jenkins从 TestRail 构建,一个测试用例管理软件。据我所知,这两个软件并不正式相互支持。但是 TestRail 确实有一个 JS/CSS 编辑器,允许用户自定义他们的 U
我是 Java 新手,正在使用 Karate 进行 API 自动化。我需要帮助将 testrail 与 Karate 集成。我想为每个场景使用标签,这将是测试用例 ID(来自 testrail),并且
我正在使用 ruby Cucumber,我正在更新 Testrail 上的测试结果。我可以毫无问题地更新一个结果。我的问题是,根据下面的代码,如何使用 add_result 方法更新多个测试运行?
我遇到了这样的问题。我目前正在使用 pytest 运行测试用例,并使用 xdist 减少执行时间以并行运行测试并将测试结果发布到 TestRail。问题是在使用 xdist 时,pytest-test
我有 testrail 项目,其中有测试用例。我已经使用 selenium testng 自动化了大部分测试用例。我找不到正确的逐步答案如何将 testrail 项目 - 测试用例与 Selenium
我是一名优秀的程序员,十分优秀!