Skip to content

[WIP] エンジンのモック作成+それを使ったコンポーネントテスト #8151

[WIP] エンジンのモック作成+それを使ったコンポーネントテスト

[WIP] エンジンのモック作成+それを使ったコンポーネントテスト #8151

Triggered via pull request November 3, 2024 14:14
Status Failure
Total duration 4m 35s
Artifacts 1

test.yml

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

Annotations

9 errors, 4 warnings, and 7 notices
../tests/unit/store/audio.spec.ts > GENERATE_AUDIO_ITEM > 何も指定しない場合は空のAudioItemを作る: tests/unit/store/utils.ts#L65
Error: style not found ❯ ../tests/unit/store/utils.ts:65:41 ❯ ../tests/unit/store/utils.ts:63:40 ❯ Module.initializeStateAsSoftwareStarted ../tests/unit/store/utils.ts:56:52 ❯ ../tests/unit/store/audio.spec.ts:22:5
../tests/unit/store/audio.spec.ts > GENERATE_AUDIO_ITEM > テキストを指定するとtextに値が入る: tests/unit/store/utils.ts#L65
Error: style not found ❯ ../tests/unit/store/utils.ts:65:41 ❯ ../tests/unit/store/utils.ts:63:40 ❯ Module.initializeStateAsSoftwareStarted ../tests/unit/store/utils.ts:56:52 ❯ ../tests/unit/store/audio.spec.ts:22:5
../tests/unit/store/audio.spec.ts > GENERATE_AUDIO_ITEM > baseAudioItemを指定するとパラメータを引き継ぐ: tests/unit/store/utils.ts#L65
Error: style not found ❯ ../tests/unit/store/utils.ts:65:41 ❯ ../tests/unit/store/utils.ts:63:40 ❯ Module.initializeStateAsSoftwareStarted ../tests/unit/store/utils.ts:56:52 ❯ ../tests/unit/store/audio.spec.ts:22:5
unit-test
Process completed with exit code 1.
lint
Process completed with exit code 2.
[browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L24
1) [browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示 ────────────────────────────────────────── Error: Screenshot comparison failed: 35209 pixels (ratio 0.06 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: - expect.toHaveScreenshot(トーク画面.png) with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 35209 pixels (ratio 0.06 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 - 35209 pixels (ratio 0.06 of all image pixels) are different. 22 | } 23 | } > 24 | await expect(page).toHaveScreenshot("トーク画面.png"); | ^ 25 | 26 | // ソング画面の表示 27 | await page.getByText("ソング").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:24:22
[browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L24
1) [browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示 ────────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 35209 pixels (ratio 0.06 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: - expect.toHaveScreenshot(トーク画面.png) with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 35209 pixels (ratio 0.06 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 - 35209 pixels (ratio 0.06 of all image pixels) are different. 22 | } 23 | } > 24 | await expect(page).toHaveScreenshot("トーク画面.png"); | ^ 25 | 26 | // ソング画面の表示 27 | await page.getByText("ソング").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:24:22
[browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示: tests\e2e\browser\スクリーンショット.spec.ts#L24
1) [browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示 ────────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Screenshot comparison failed: 35209 pixels (ratio 0.06 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: - expect.toHaveScreenshot(トーク画面.png) with timeout 5000ms - verifying given screenshot expectation - taking page screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - 35209 pixels (ratio 0.06 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 - 35209 pixels (ratio 0.06 of all image pixels) are different. 22 | } 23 | } > 24 | await expect(page).toHaveScreenshot("トーク画面.png"); | ^ 25 | 26 | // ソング画面の表示 27 | await page.getByText("ソング").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\スクリーンショット.spec.ts:24:22
e2e-test (windows-latest)
Process completed with exit code 1.
Slow Test: [browser] › browser/アップデート通知ダイアログ.spec.ts#L1
[browser] › browser/アップデート通知ダイアログ.spec.ts took 18.0s
Slow Test: [browser] › browser/複数選択/選択.spec.ts#L1
[browser] › browser/複数選択/選択.spec.ts took 18.1s
Slow Test: [browser] › browser/song/ソング.spec.ts#L1
[browser] › browser/song/ソング.spec.ts took 16.5s
Slow Test: [browser] › browser\アップデート通知ダイアログ.spec.ts#L1
[browser] › browser\アップデート通知ダイアログ.spec.ts took 19.0s
🎭 Playwright Run Summary
2 skipped 24 passed (1.8m)
🎭 Playwright Run Summary
70 skipped
🎭 Playwright Run Summary
1 passed (17.0s)
🎭 Playwright Run Summary
4 skipped 22 passed (2.5m)
🎭 Playwright Run Summary
1 passed (15.2s)
🎭 Playwright Run Summary
70 skipped
🎭 Playwright Run Summary
1 failed [browser] › browser\スクリーンショット.spec.ts:6:5 › メイン画面の表示 ─────────────────────────────────────────── 25 passed (2.6m)

Artifacts

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