Skip to content

Apply suggestions from code review #1130

Apply suggestions from code review

Apply suggestions from code review #1130

Triggered via push December 3, 2023 14:51
Status Failure
Total duration 7m 0s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Matrix: e2e-test
Fit to window
Zoom out
Zoom in

Annotations

20 errors, 20 warnings, and 3 notices
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
[browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り: tests/e2e/browser/複数選択/選択.spec.ts#L124
2) [browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/選択.spec.ts:124:35
[browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り: tests/e2e/browser/複数選択/選択.spec.ts#L124
2) [browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/選択.spec.ts:124:35
[browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り: tests/e2e/browser/複数選択/選択.spec.ts#L124
2) [browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at /home/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/選択.spec.ts:124:35
e2e-test (ubuntu-latest)
Process completed with exit code 1.
[browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests\e2e\browser\複数選択\値変更.spec.ts#L98
1) [browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\値変更.spec.ts:98:33
[browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests\e2e\browser\複数選択\値変更.spec.ts#L98
1) [browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\値変更.spec.ts:98:33
[browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests\e2e\browser\複数選択\値変更.spec.ts#L98
1) [browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\値変更.spec.ts:98:33
[browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り: tests\e2e\browser\複数選択\選択.spec.ts#L124
2) [browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\選択.spec.ts:124:35
[browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り: tests\e2e\browser\複数選択\選択.spec.ts#L124
2) [browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\選択.spec.ts:124:35
[browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り: tests\e2e\browser\複数選択\選択.spec.ts#L124
2) [browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り ───────────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ - 2, - 3, 4, ] 122 | selectedStatus = await getSelectedStatus(page); 123 | expect(selectedStatus.active).toBe(4); > 124 | expect(selectedStatus.selected).toEqual([2, 3, 4]); | ^ 125 | 126 | // selected外のCharacterButtonをクリックすると選択範囲をそのAudioCellだけにする 127 | await page.locator(".audio-cell:nth-child(1)").click(); at D:\a\voicevox\voicevox\tests\e2e\browser\複数選択\選択.spec.ts:124:35
[browser] › browser\アクセント.spec.ts:7:5 › アクセント分割したらアクセント区間が増える: tests\e2e\browser\アクセント.spec.ts#L13
3) [browser] › browser\アクセント.spec.ts:7:5 › アクセント分割したらアクセント区間が増える ───────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 11 | await page.locator(".audio-cell input").first().press("Enter"); 12 | await page.waitForTimeout(500); > 13 | expect(await page.locator(".mora-table").count()).toBe(1); | ^ 14 | await (await page.locator(".splitter-cell").all())[1].click(); 15 | await page.waitForTimeout(500); 16 | expect(await page.locator(".mora-table").count()).toBe(2); at D:\a\voicevox\voicevox\tests\e2e\browser\アクセント.spec.ts:13:53
[browser] › browser\アクセント.spec.ts:7:5 › アクセント分割したらアクセント区間が増える: tests\e2e\browser\アクセント.spec.ts#L13
3) [browser] › browser\アクセント.spec.ts:7:5 › アクセント分割したらアクセント区間が増える ───────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 11 | await page.locator(".audio-cell input").first().press("Enter"); 12 | await page.waitForTimeout(500); > 13 | expect(await page.locator(".mora-table").count()).toBe(1); | ^ 14 | await (await page.locator(".splitter-cell").all())[1].click(); 15 | await page.waitForTimeout(500); 16 | expect(await page.locator(".mora-table").count()).toBe(2); at D:\a\voicevox\voicevox\tests\e2e\browser\アクセント.spec.ts:13:53
e2e-test (windows-latest)
Process completed with exit code 1.
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /Users/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /Users/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
[browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択: tests/e2e/browser/複数選択/値変更.spec.ts#L98
1) [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ───────────────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).not.toEqual(expected) // deep equality Expected: not "女声1(ノーマル)" 96 | const characterNames = await getSelectedCharacters(page); 97 | > 98 | expect(characterNames[0]).not.toEqual(characterNames[1]); | ^ 99 | expect(characterNames[1]).toEqual(characterNames[2]); 100 | expect(characterNames[1]).toEqual(characterNames[3]); 101 | }); at /Users/runner/work/voicevox/voicevox/tests/e2e/browser/複数選択/値変更.spec.ts:98:33
e2e-test (macos-latest)
Process completed with exit code 1.
lint: build/splitNsisArchive.js#L16
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: build/splitNsisArchive.js#L22
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/background/configMigration014.ts#L28
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/AccentPhrase.vue#L325
'!== undefined'ではなく'!= undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/AudioInfo.vue#L482
'=== null'ではなく'== null'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/AudioInfo.vue#L763
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/AudioInfo.vue#L773
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/AudioInfo.vue#L892
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/CharacterOrderDialog.vue#L184
'!== undefined'ではなく'!= undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
lint: src/components/CharacterOrderDialog.vue#L240
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/background/configMigration014.ts#L28
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/AccentPhrase.vue#L325
'!== undefined'ではなく'!= undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/AudioInfo.vue#L482
'=== null'ではなく'== null'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/AudioInfo.vue#L763
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/AudioInfo.vue#L773
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/AudioInfo.vue#L892
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/CharacterOrderDialog.vue#L184
'!== undefined'ではなく'!= undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/CharacterOrderDialog.vue#L240
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/CharacterPortrait.vue#L32
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
build-test: src/components/CharacterPortrait.vue#L33
'=== undefined'ではなく'== undefined'を使用してください。詳細: https://github.com/VOICEVOX/voicevox/issues/1513
🎭 Playwright Run Summary
2 failed [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ────────────────────────────────────── [browser] › browser/複数選択/選択.spec.ts:46:5 › 複数選択:マウス周り ────────────────────────────────────────── 17 passed (1.7m)
🎭 Playwright Run Summary
2 failed [browser] › browser\複数選択\値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ────────────────────────────────────── [browser] › browser\複数選択\選択.spec.ts:46:5 › 複数選択:マウス周り ────────────────────────────────────────── 1 flaky [browser] › browser\アクセント.spec.ts:7:5 › アクセント分割したらアクセント区間が増える ────────────────────────────────── 16 passed (2.3m)
🎭 Playwright Run Summary
1 failed [browser] › browser/複数選択/値変更.spec.ts:80:5 › 複数選択:キャラクター選択 ────────────────────────────────────── 18 passed (4.5m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
104 MB