setup関数内のrefの宣言を修正 #104
Annotations
10 errors, 1 warning, and 3 notices
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
1) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ライト
Error: Screenshot comparison failed:
382 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook\components-base-basecheckbox--checked-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook\components-base-basecheckbox--checked-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 382 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
1) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ライト
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
382 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook-retry1\components-base-basecheckbox--checked-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook-retry1\components-base-basecheckbox--checked-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 382 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
1) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ライト
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
382 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook-retry2\components-base-basecheckbox--checked-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ライト-storybook-retry2\components-base-basecheckbox--checked-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 382 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 382 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
2) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ダーク
Error: Screenshot comparison failed:
437 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-dark-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook\components-base-basecheckbox--checked-dark-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook\components-base-basecheckbox--checked-dark-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-dark.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 437 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 437 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
2) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ダーク
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
437 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-dark-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook-retry1\components-base-basecheckbox--checked-dark-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook-retry1\components-base-basecheckbox--checked-dark-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-dark.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 437 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 437 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
2) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ダーク
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
437 pixels (ratio 0.02 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-basecheckbox--checked-dark-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook-retry2\components-base-basecheckbox--checked-dark-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseCheckbox-Checked-テーマ:ダーク-storybook-retry2\components-base-basecheckbox--checked-dark-diff.png
Call log:
- expect.toHaveScreenshot(components-base-basecheckbox--checked-dark.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 437 pixels (ratio 0.02 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 437 pixels (ratio 0.02 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
3) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ライト
Error: Screenshot comparison failed:
138 pixels (ratio 0.01 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-baseselect--placeholder-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook\components-base-baseselect--placeholder-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook\components-base-baseselect--placeholder-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-baseselect--placeholder-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 138 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 138 pixels (ratio 0.01 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
3) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ライト
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
138 pixels (ratio 0.01 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-baseselect--placeholder-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook-retry1\components-base-baseselect--placeholder-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook-retry1\components-base-baseselect--placeholder-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-baseselect--placeholder-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 138 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 138 pixels (ratio 0.01 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
3) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ライト
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Screenshot comparison failed:
138 pixels (ratio 0.01 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-baseselect--placeholder-light-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook-retry2\components-base-baseselect--placeholder-light-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ライト-storybook-retry2\components-base-baseselect--placeholder-light-diff.png
Call log:
- expect.toHaveScreenshot(components-base-baseselect--placeholder-light.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 138 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 138 pixels (ratio 0.01 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:storybook-vrt:
tests\e2e\storybook\スクリーンショット.spec.mts#L97
4) [storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ダーク
Error: Screenshot comparison failed:
353 pixels (ratio 0.01 of all image pixels) are different.
Expected: D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts-snapshots\components-base-baseselect--placeholder-dark-storybook-win32.png
Received: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ダーク-storybook\components-base-baseselect--placeholder-dark-actual.png
Diff: D:\a\voicevox\voicevox\test-results\スクリーンショット-components-Base-BaseSelect-Placeholder-テーマ:ダーク-storybook\components-base-baseselect--placeholder-dark-diff.png
Call log:
- expect.toHaveScreenshot(components-base-baseselect--placeholder-dark.png) with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- 353 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('#storybook-root[data-v-app]')
- locator resolved to <div data-v-app="" id="storybook-root">…</div>
- taking element screenshot
- disabled all CSS animations
- waiting for fonts to load...
- fonts loaded
- attempting scroll into view action
- waiting for element to be stable
- captured a stable screenshot
- 353 pixels (ratio 0.01 of all image pixels) are different.
95 | elementToScreenshot = root;
96 | }
> 97 | await expect(elementToScreenshot).toHaveScreenshot(
| ^
98 | `${story.id}-${theme}.png`,
99 | );
100 | });
at D:\a\voicevox\voicevox\tests\e2e\storybook\スクリーンショット.spec.mts:97:47
|
Run npm run test:browser-e2e:
[browser] › browser\アップデート通知ダイアログ.spec.ts#L1
[browser] › browser\アップデート通知ダイアログ.spec.ts took 18.7s
|
Run npm run test:browser-e2e
26 passed (2.3m)
|
Run npm run test:electron-e2e
1 passed (16.9s)
|
Run npm run test:storybook-vrt
4 failed
[storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ライト
[storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseCheckbox › Checked › テーマ:ダーク
[storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ライト
[storybook] › storybook\スクリーンショット.spec.mts:63:11 › components/Base/BaseSelect › Placeholder › テーマ:ダーク
66 passed (1.7m)
|
Loading