"combineCoverage" logged in stdout, creating huge logs
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cypress, docker, node.js, typescript
- 领域
- testing-qa, tooling
调研方向
从提交 8f6154a48ef9256e4d3b57a2387d59c046aba12 开始,追踪 combineCoverage 任务如何记录到 cypress/logs 和 stdout。使用 Cypress 12.10.0、plugin 3.10.4 和 Debian Docker 设置重现;当任务使用 log: false 时不再出现大型 combineCoverage 条目,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Logs and screenshots
Here's the end of the log for one of my tests (as stylized by Firefox):
Each of those "request combineCoverage" lines are huge.
Versions
- What is this plugin's version? If this is NOT the latest released version can you try the latest version, please? 3.10.4
- If the plugin worked before in version X, but stopped after upgrading to version Y, please try the released versions between X and Y to see where the breaking change was.
- What is Cypress version? 12.10.0
- What is your operating system? Debian, from Cypress Docker images
- What is the shell? bash
- What is the Node version? 16.17
- What is the NPM version?
- How do you instrument your application? Cypress does not instrument web application code, so you need to do it yourself. @cypress/instrument-cra
- When running tests, if you open the web application in regular browser, and open DevTools, do you see
window.__coverage__object? Can you paste a screenshot? - Is there
.nyc_outputfolder? Is there.nyc_output/out.jsonfile. Is it empty? Can you paste at least part of it so we can see the keys and file paths? - Do you have any custom NYC settings in
package.json(nycobject) or in other NYC config files"nyc": { "extends": "@istanbuljs/nyc-config-typescript", "all": true, "exclude": [ "build/**", "coverage-cypress/**", "cypress/**", "**/__fixtures__/**", "**/__mocks__/**", "**/__tests__/**", "**/messages.{ts,js}", "**/*.story.*", "**/story.*", "**/*.d.ts" ], "report-dir": "./coverage-cypress", "temp-dir": "./coverage-cypress/.nyc_output", "reporter": [ "text-summary", "json", "html" ] } - Do you run Cypress tests in a Docker container? Yes
Describe the bug
The combineCoverage task is logged (in both files saved to cypress/logs and to stdout), even though that task is run with { log: false} (see https://github.com/cypress-io/code-coverage/commit/8f6154a48ef9256e4d3b57a2387d59c046aba12e).
Link to the repo
- 主要语言
- TypeScript
- 星标
- 440
- 派生
- 114
- 平均合并
- 42 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cypress-io/code-coverage 的其他 Issue
-
难度 3/5 半天 新手友好度 40/100
cypress-io/code-coverage#1018 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
cypress-io/code-coverage#993 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
cypress-io/code-coverage#967 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
cypress-io/code-coverage#959 ·
维护者通常 1 天内回复
-
performance
难度 4/5 3-5 天 新手友好度 42/100
cypress-io/code-coverage#933 ·
维护者通常 1 天内回复
查看 cypress-io/code-coverage 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
area:ui bug effort:S priority:P2
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Typo in WSL project description on Projects page可能已有人在做 @akhil9tiet 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 75/100
microsoft/opensource.microsoft.com#1066 · 1 条评论 ·
-
ArcGIS Maps SDK for JavaScript c-carousel calcite-design-tokens enhancement impact - p3 - not time sensitive needs triage
难度 2/5 1-3 小时 新手友好度 68/100
Esri/calcite-design-system#15565 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
linkwarden/linkwarden#1891 ·
维护者通常 1 天内回复