Skip to content

e2eテストが失敗するのを修正 #51

e2eテストが失敗するのを修正

e2eテストが失敗するのを修正 #51

Triggered via push July 18, 2024 05:55
Status Failure
Total duration 9m 38s
Artifacts 1

test.yml

on: push
Matrix: e2e-test
commit-snapshots
0s
commit-snapshots
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 8 warnings, and 5 notices
[browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L140
1) [browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示 ──────────────────────────────────────── Error: Screenshot comparison failed: 1715 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts-snapshots\メイン画面-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser\メイン画面-actual.png Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser\メイン画面-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1715 pixels (ratio 0.01 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 - 1715 pixels (ratio 0.01 of all image pixels) are different. 138 | } 139 | } > 140 | await expect(page).toHaveScreenshot("メイン画面.png"); | ^ 141 | }); 142 | at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:140:22
[browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L140
1) [browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示 ──────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1715 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts-snapshots\メイン画面-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser-retry1\メイン画面-actual.png Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser-retry1\メイン画面-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1715 pixels (ratio 0.01 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 - 1715 pixels (ratio 0.01 of all image pixels) are different. 138 | } 139 | } > 140 | await expect(page).toHaveScreenshot("メイン画面.png"); | ^ 141 | }); 142 | at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:140:22
[browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L140
1) [browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示 ──────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1715 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts-snapshots\メイン画面-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser-retry2\メイン画面-actual.png Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-メイン画面の表示-browser-retry2\メイン画面-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1715 pixels (ratio 0.01 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 - 1715 pixels (ratio 0.01 of all image pixels) are different. 138 | } 139 | } > 140 | await expect(page).toHaveScreenshot("メイン画面.png"); | ^ 141 | }); 142 | at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:140:22
[browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット: tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts#L14
2) [browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット ─────────────────────────────────── Error: Screenshot comparison failed: 1845 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts-snapshots\スクリーンショット-0-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser\スクリーンショット-0-actual.png Diff: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser\スクリーンショット-0-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1845 pixels (ratio 0.01 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 - 1845 pixels (ratio 0.01 of all image pixels) are different. 12 | // スクリーンショット撮影とスクロールを繰り返す 13 | for (let i = 0; i < 5; i++) { > 14 | await expect(page).toHaveScreenshot(`スクリーンショット_${i}.png`); | ^ 15 | await page.mouse.wheel(0, 500); 16 | await page.waitForTimeout(300); 17 | } at D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts:14:24
[browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット: tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts#L14
2) [browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット ─────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1845 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts-snapshots\スクリーンショット-0-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser-retry1\スクリーンショット-0-actual.png Diff: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser-retry1\スクリーンショット-0-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1845 pixels (ratio 0.01 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 - 1845 pixels (ratio 0.01 of all image pixels) are different. 12 | // スクリーンショット撮影とスクロールを繰り返す 13 | for (let i = 0; i < 5; i++) { > 14 | await expect(page).toHaveScreenshot(`スクリーンショット_${i}.png`); | ^ 15 | await page.mouse.wheel(0, 500); 16 | await page.waitForTimeout(300); 17 | } at D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts:14:24
[browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット: tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts#L14
2) [browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット ─────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 1845 pixels (ratio 0.01 of all image pixels) are different. Expected: D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts-snapshots\スクリーンショット-0-browser-win32.png Received: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser-retry2\スクリーンショット-0-actual.png Diff: D:\a\voicevox\voicevox\test-results\設定ダイアログ-設定ダイアログ-スクリーンショット-browser-retry2\スクリーンショット-0-diff.png Call log: - page._expectScreenshot with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 1845 pixels (ratio 0.01 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 - 1845 pixels (ratio 0.01 of all image pixels) are different. 12 | // スクリーンショット撮影とスクロールを繰り返す 13 | for (let i = 0; i < 5; i++) { > 14 | await expect(page).toHaveScreenshot(`スクリーンショット_${i}.png`); | ^ 15 | await page.mouse.wheel(0, 500); 16 | await page.waitForTimeout(300); 17 | } at D:\a\voicevox\voicevox\tests\e2e\browser\設定ダイアログ\設定ダイアログ.spec.ts:14:24
e2e-test (windows-latest)
Process completed with exit code 1.
🎭 Playwright Run Summary
2 skipped 24 passed (1.8m)
🎭 Playwright Run Summary
1 passed (14.1s)
🎭 Playwright Run Summary
2 failed [browser] › browser\スクリーンショット.spec.ts:124:5 › メイン画面の表示 ───────────────────────────────────────── [browser] › browser\設定ダイアログ\設定ダイアログ.spec.ts:6:5 › スクリーンショット ──────────────────────────────────── 24 passed (2.7m)
🎭 Playwright Run Summary
4 skipped 22 passed (7.4m)
🎭 Playwright Run Summary
1 passed (34.2s)
Slow Test: [browser] › browser/アップデート通知ダイアログ.spec.ts#L1
[browser] › browser/アップデート通知ダイアログ.spec.ts took 19.2s
Slow Test: [browser] › browser\アップデート通知ダイアログ.spec.ts#L1
[browser] › browser\アップデート通知ダイアログ.spec.ts took 18.8s
Slow Test: [browser] › browser/song/ソング.spec.ts#L1
[browser] › browser/song/ソング.spec.ts took 50.8s
Slow Test: [browser] › browser/複数選択/選択.spec.ts#L1
[browser] › browser/複数選択/選択.spec.ts took 48.4s
Slow Test: [browser] › browser/複数選択/値変更.spec.ts#L1
[browser] › browser/複数選択/値変更.spec.ts took 34.1s
Slow Test: [browser] › browser/初回起動時.spec.ts#L1
[browser] › browser/初回起動時.spec.ts took 31.3s
Slow Test: [browser] › browser/音声詳細.spec.ts#L1
[browser] › browser/音声詳細.spec.ts took 29.6s
Slow Test: [electron] › electron/example.spec.ts#L1
[electron] › electron/example.spec.ts took 31.4s

Artifacts

Produced during runtime
Name Size
playwright-report-windows-latest
41.9 MB