小编use*_*207的帖子

无法按名称加载记者:cypress-testrail-reporter

我正在尝试使用cypress-testrail-reporter将我的 cypress 测试结果发布到 testrail 中将我的 cypress 测试结果发布到 testrail我设置了我的 cypress.json 如下

\n
{\n    "baseUrl": "https://myAppUrl.xyz",\n    "viewportWidth": 1920,\n    "viewportHeight": 1080,\n    "video": false,\n    "reporter": "cypress-testrail-reporter",\n    "reporterOptions": {\n        "host": "https://mycompnay.com/testrail",\n        "username": "user@mycompany.com",\n        "password": "testrailsPassword",\n        "projectId": 2,\n        "suiteId": 18120\n    }\n}\n
Run Code Online (Sandbox Code Playgroud)\n

和package.json如下

\n
{\n  "name": "vivifytestrailreporter",\n  "version": "1.0.0",\n  "description": "https://github.com/Vivify-Ideas/cypress-testrail-reporter#readme",\n  "main": "index.js",\n  "scripts": {\n    "test": "echo \\"Error: no test specified\\" && exit 1"\n  },\n  "author": "",\n  "license": "ISC",\n  "dependencies": {\n    "cypress": "^7.2.0"\n  },\n  "devDependencies": {\n    "cypress-testrail-reporter": "^1.2.8"\n  }\n}\n
Run Code Online (Sandbox Code Playgroud)\n

创建了一个简单的测试,可以在 npx cypress 打开时正常运行,并且其上有案例 …

testrail cypress

4
推荐指数
1
解决办法
2358
查看次数

标签 统计

cypress ×1

testrail ×1