Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Firefox E2E: print checks that need WebGL or Chromium do not run on CI

未关闭
#2,547 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
github-actions, javascript, playwright, three.js
领域
testing-qa

调研方向

Start with the five rows in the issue table: print-idevices.spec.ts, idevices/three-d-viewer.spec.ts and idevices/three-sixty-viewer.spec.ts, each gated by test.skip(!(await hasWebGL(page))), plus the two PDF checks that return early. Read the CI Firefox job config and the hasWebGL helper before changing anything. Done means the five checks run green in the Firefox job, or each remaining skip links back to this issue with a reason.

由索引模型根据 Issue 内容生成。

描述

On the CI Firefox job, five print checks are skipped or end early. They run in full in the Chromium
job, so nothing goes untested, but the Firefox coverage is lost. Raised by @erseco in the review of
#2539.

Spec Test What does not run Why
print-idevices.spec.ts waits for real molecule surfaces and reuses the viewer across print previews the whole test Firefox has no WebGL on the GPU-less runners
idevices/three-d-viewer.spec.ts keeps the GLB / GLTF / STL model in the copy the desktop app prints the whole test no WebGL (GLB needs WebGL 2)
idevices/three-sixty-viewer.spec.ts draws the viewer in the editor, with three.js loaded before it starts the whole test no WebGL
print-idevices.spec.ts keeps all nine categories with their cards on printed sheets the PDF checks the Firefox job installs no Chromium, which makes the PDF
print-idevices.spec.ts keeps the colour of a Material block icon when printing, and of nothing around it the PDF checks same

The first three call test.skip(!(await hasWebGL(page)), …). The last two add a note to the
report and return before checking the PDF.

Proposal

  • Give Firefox a software WebGL on the CI runners, if it can be enabled reliably, and drop the
    three skips.
  • Install Chromium in the Firefox job as well, so the two PDF checks run there too.

Done when

  • The five checks run in the Firefox job, or each remaining skip says why Firefox cannot run it.
  • The skips and early returns link to this issue until then.
主要语言
JavaScript
星标
145
派生
33
平均合并
3 天 16 小时
30 天内合并 PR
89

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

exelearning/exelearning 的其他 Issue

查看 exelearning/exelearning 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。