refactor(test): 辞書ダイアログの読み方取得ロジックを改善 #1422
test.yml
on: push
Annotations
6 errors, 9 warnings, and 7 notices
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される:
tests/e2e/browser/辞書ダイアログ.spec.ts#L15
1) [browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ──────────
Error: expect.toBeVisible: Error: strict mode violation: locator('.accent-phrase') resolved to 7 elements:
1) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ゼロ')
2) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('エイチ').first()
3) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ヨン', { exact: true })
4) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('エイチ').nth(1)
5) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ヨンヒャクジュウ')
6) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ロク')
7) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('キュウ')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.accent-phrase')
13 | await audioCellInput.fill(inputText);
14 | await audioCellInput.press("Enter");
> 15 | await expect(accentPhrase).toBeVisible();
| ^
16 |
17 | return (await accentPhrase.allTextContents()).join("");
18 | }
at getYomi (/home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:15:30)
at /home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:53:16
|
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される:
tests/e2e/browser/辞書ダイアログ.spec.ts#L15
1) [browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('.accent-phrase') resolved to 2 elements:
1) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('エエダブリュウジュウ')
2) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ハチズィイイイシイエフ')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.accent-phrase')
13 | await audioCellInput.fill(inputText);
14 | await audioCellInput.press("Enter");
> 15 | await expect(accentPhrase).toBeVisible();
| ^
16 |
17 | return (await accentPhrase.allTextContents()).join("");
18 | }
at getYomi (/home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:15:30)
at /home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:53:16
|
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される:
tests/e2e/browser/辞書ダイアログ.spec.ts#L15
1) [browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: locator('.accent-phrase') resolved to 3 elements:
1) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ロク', { exact: true })
2) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('エイチ', { exact: true })
3) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ロクディイエムアアルエイチキュウ')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.accent-phrase')
13 | await audioCellInput.fill(inputText);
14 | await audioCellInput.press("Enter");
> 15 | await expect(accentPhrase).toBeVisible();
| ^
16 |
17 | return (await accentPhrase.allTextContents()).join("");
18 | }
at getYomi (/home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:15:30)
at /home/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:53:16
|
e2e-test (ubuntu-latest)
Process completed with exit code 1.
|
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される:
tests/e2e/browser/辞書ダイアログ.spec.ts#L15
1) [browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ──────────
Error: expect.toBeVisible: Error: strict mode violation: locator('.accent-phrase') resolved to 4 elements:
1) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ユウイイエヌ')
2) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ゼロポンド')
3) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('シイ')
4) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ジェイ')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.accent-phrase')
13 | await audioCellInput.fill(inputText);
14 | await audioCellInput.press("Enter");
> 15 | await expect(accentPhrase).toBeVisible();
| ^
16 |
17 | return (await accentPhrase.allTextContents()).join("");
18 | }
at getYomi (/Users/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:15:30)
at /Users/runner/work/voicevox/voicevox/tests/e2e/browser/辞書ダイアログ.spec.ts:53:16
|
[browser] › browser\辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される:
tests\e2e\browser\辞書ダイアログ.spec.ts#L15
1) [browser] › browser\辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ──────────
Error: expect.toBeVisible: Error: strict mode violation: locator('.accent-phrase') resolved to 2 elements:
1) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('ジイキュウエルハチダブリュウエスナナ')
2) <div data-v-84e81881="" data-v-ff40d52d="" class="accent-phrase accent-phrase-hover">…</div> aka getByText('アイ')
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.accent-phrase')
13 | await audioCellInput.fill(inputText);
14 | await audioCellInput.press("Enter");
> 15 | await expect(accentPhrase).toBeVisible();
| ^
16 |
17 | return (await accentPhrase.allTextContents()).join("");
18 | }
at getYomi (D:\a\voicevox\voicevox\tests\e2e\browser\辞書ダイアログ.spec.ts:15:30)
at D:\a\voicevox\voicevox\tests\e2e\browser\辞書ダイアログ.spec.ts:53:16
|
config
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e-test (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
[browser] › browser/アップデート通知ダイアログ.spec.ts#L1
[browser] › browser/アップデート通知ダイアログ.spec.ts took 18.3s
|
Slow Test:
[browser] › browser/複数選択/選択.spec.ts#L1
[browser] › browser/複数選択/選択.spec.ts took 18.9s
|
Slow Test:
[browser] › browser/song/ソング.spec.ts#L1
[browser] › browser/song/ソング.spec.ts took 16.9s
|
Slow Test:
[electron] › electron/example.spec.ts#L1
[electron] › electron/example.spec.ts took 20.6s
|
Slow Test:
[browser] › browser\アップデート通知ダイアログ.spec.ts#L1
[browser] › browser\アップデート通知ダイアログ.spec.ts took 18.1s
|
Slow Test:
[electron] › electron\example.spec.ts#L1
[electron] › electron\example.spec.ts took 16.1s
|
🎭 Playwright Run Summary
1 failed
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ───────────
2 skipped
24 passed (1.9m)
|
🎭 Playwright Run Summary
1 flaky
[browser] › browser/辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ───────────
4 skipped
22 passed (3.0m)
|
🎭 Playwright Run Summary
2 passed (24.7s)
|
🎭 Playwright Run Summary
99 skipped
|
🎭 Playwright Run Summary
1 flaky
[browser] › browser\辞書ダイアログ.spec.ts:40:5 › 「設定」→「読み方&アクセント辞書」で「読み方&アクセント辞書」ページが表示される ───────────
26 passed (2.4m)
|
🎭 Playwright Run Summary
2 passed (22.4s)
|
🎭 Playwright Run Summary
99 passed (1.7m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report-ubuntu-latest
|
14.4 MB |
|