intermittent test failures: web-forms e2e: firefox visuals
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 54/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- playwright, typescript
- 領域
- testing
調査の方向性
Start with the failing visual test at e2e/test-cases/visual/all-question-types.test.ts:68 and the linked GitHub Actions run to inspect the Firefox screenshot mismatch for select-map-zoom-out.png. Check the screenshot helper at e2e/screenshot.ts:102 and the map control at e2e/page-objects/controls/MapControl.ts:216. Done means identifying and fixing the intermittent failures so the affected Firefox visual tests pass reliably.
索引モデルが issue の本文から書いたものです。
説明
https://github.com/getodk/central-frontend/actions/runs/43368646506/job/131701057077?pr=1990
Running 21 tests using 1 worker
··××F××F·········×±×±······
1) [visual-firefox] › e2e/test-cases/visual/all-question-types.test.ts:68:5 › All Question Types (Visual) › Select one from map › zooms in and out, pans the map and zooms to fit all features
Error: expect(page).toHaveScreenshot(expected) failed
30275 pixels (ratio 0.08 of all image pixels) are different.
Snapshot: select-map-zoom-out.png
Call log:
- Expect "toHaveScreenshot(select-map-zoom-out.png)" with timeout 5000ms
- verifying given screenshot expectation
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- 30275 pixels (ratio 0.08 of all image pixels) are different.
- waiting 100ms before taking screenshot
- taking page screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- captured a stable screenshot
- 30275 pixels (ratio 0.08 of all image pixels) are different.
at screenshot.ts:102
100 | const box = await getBox(locator, screenshotName);
101 |
> 102 | await expect(page).toHaveScreenshot(screenshotName, {
| ^
103 | fullPage: isFullPage,
104 | clip: {
105 | x: Math.round(box.x + scroll.x),
at expectScreenshot (/__w/central-frontend/central-frontend/packages/web-forms/e2e/screenshot.ts:102:22)
at MapControl.expectMapScreenshot (/__w/central-frontend/central-frontend/packages/web-forms/e2e/page-objects/controls/MapControl.ts:216:5)
at /__w/central-frontend/central-frontend/packages/web-forms/e2e/test-cases/visual/all-question-types.test.ts:70:7
attachment getodk/central#1: select-map-zoom-out (image/png) ─────────────────────────────────────────────────
Expected: e2e/test-cases/visual/all-question-types.test.ts-snapshots/select-map-zoom-out-firefox.png
Received: test-results/test-cases-visual-all-ques-481b5-d-zooms-to-fit-all-features-visual-firefox/select-map-zoom-out-actual.png
Diff: test-results/test-cases-visual-all-ques-481b5-d-zooms-to-fit-all-features-visual-firefox/select-map-zoom-out-diff.png
Error Context: test-results/test-cases-visual-image-la-f28e5-cked-columns-and-no-buttons-visual-firefox/error-context.md
2 failed
[visual-firefox] › e2e/test-cases/visual/all-question-types.test.ts:68:5 › All Question Types (Visual) › Select one from map › zooms in and out, pans the map and zooms to fit all features
[visual-firefox] › e2e/test-cases/visual/all-question-types.test.ts:82:5 › All Question Types (Visual) › Select one from map › opens details of saved feature and remove saved feature
2 flaky
[visual-firefox] › e2e/test-cases/visual/image-labels.test.ts:53:5 › Image Selects (Visual) › Select with images › select one with fixed column count
[visual-firefox] › e2e/test-cases/visual/image-labels.test.ts:66:5 › Image Selects (Visual) › Select with images › select one with packed columns and no buttons
17 passed (2.8m)
Error: Process completed with exit code 1.
- 主要言語
- TypeScript
- スター
- 38
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getodk/web-forms のほかの issue
-
iOS
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
Offline send queueオープンIn Enketo
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
Launch form offlineオープンneeds discussion
難易度 5/5 1週間以上 初心者へのやさしさ 38/100
-
Progress barオープンIn Enketo needs ui/ux design
難易度 2/5 1〜3時間 初心者へのやさしさ 58/100
getodk/web-forms の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
twilio/twilio-node#1241 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
hugomrdias/playwright-test#786 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:stdlib effort:S impact:med platform:linux type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
WenyuChiou/agent-board#1745 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信