Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

都道府県の選択状態を表示するコンポーネント<PrefectureStateBar>を実装した #18

Merged
merged 5 commits into from
May 25, 2024

Conversation

ReoHakase
Copy link
Owner

@ReoHakase ReoHakase commented May 25, 2024

概要

選択中の都道府県の状態を表示するバー。
クリアボタン付きです。

image

@ReoHakase ReoHakase self-assigned this May 25, 2024
Copy link

vercel bot commented May 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
simple-resas-app-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2024 6:56am

@ReoHakase
Copy link
Owner Author

ReoHakase commented May 25, 2024

#15 で失敗しなかった<PrefectureCheckbox>のStorybookのテストが失敗するようになった
コードへの変更はなし


web:sb:test: [TEST]  FAIL   browser: chromium  src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx (12.526 s)
web:sb:test: [TEST]   ● Console
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 
web:sb:test: [TEST]   ● features/navigation/components/PrefectureCheckbox › Default › play-test
web:sb:test: [TEST] 
web:sb:test: [TEST]     page.evaluate: StorybookTestRunnerError: 
web:sb:test: [TEST]     An error occurred in the following story. Access the link for full output:
web:sb:test: [TEST]     http://127.0.0.1:6007/?path=/story/features-navigation-components-prefecturecheckbox--default&addonPanel=storybook/interactions/panel
web:sb:test: [TEST] 
web:sb:test: [TEST]     Message:
web:sb:test: [TEST]      expected "spy" to be called 1 times, but got 0 times
web:sb:test: [TEST] 
web:sb:test: [TEST]       at Object.playFunctionThrewException (apps/web/<anonymous>:343:16)
web:sb:test: [TEST]       at apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:8828
web:sb:test: [TEST]           at Array.forEach (<anonymous>)
web:sb:test: [TEST]       at Channel.handleEvent (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:8812)
web:sb:test: [TEST]       at handler (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:7900)
web:sb:test: [TEST]       at Channel.emit (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:7955)
web:sb:test: [TEST]       at apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:4159
web:sb:test: [TEST]       at StoryRender.runPhase (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:943)
web:sb:test: [TEST]       at StoryRender.render (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:4105)
web:sb:test: [TEST]       at apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:159:58
web:sb:test: [TEST]       at step (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:109:23)
web:sb:test: [TEST]       at Object.next (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:50:20)
web:sb:test: [TEST]       at asyncGeneratorStep (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:4:28)
web:sb:test: [TEST]       at _next (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:22:17)
web:sb:test: [TEST] 
web:sb:test: [TEST]   ● features/navigation/components/PrefectureCheckbox › Checked › play-test
web:sb:test: [TEST] 
web:sb:test: [TEST]     page.evaluate: StorybookTestRunnerError: 
web:sb:test: [TEST]     An error occurred in the following story. Access the link for full output:
web:sb:test: [TEST]     http://127.0.0.1:6007/?path=/story/features-navigation-components-prefecturecheckbox--checked&addonPanel=storybook/interactions/panel
web:sb:test: [TEST] 
web:sb:test: [TEST]     Message:
web:sb:test: [TEST]      expected "spy" to be called 1 times, but got 0 times
web:sb:test: [TEST] 
web:sb:test: [TEST]       at Object.playFunctionThrewException (apps/web/<anonymous>:343:16)
web:sb:test: [TEST]       at apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:8828
web:sb:test: [TEST]           at Array.forEach (<anonymous>)
web:sb:test: [TEST]       at Channel.handleEvent (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:8812)
web:sb:test: [TEST]       at handler (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:7900)
web:sb:test: [TEST]       at Channel.emit (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:7:7955)
web:sb:test: [TEST]       at apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:4159
web:sb:test: [TEST]       at StoryRender.runPhase (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:943)
web:sb:test: [TEST]       at StoryRender.render (apps/web/http:/127.0.0.1:6007/sb-preview/runtime.js:144:4105)
web:sb:test: [TEST]       at apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:307:58
web:sb:test: [TEST]       at step (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:109:23)
web:sb:test: [TEST]       at Object.next (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:50:20)
web:sb:test: [TEST]       at asyncGeneratorStep (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:4:28)
web:sb:test: [TEST]       at _next (apps/web/src/features/navigation/components/PrefectureCheckbox/PrefectureCheckbox.stories.tsx:22:17)
web:sb:test: [TEST] 
web:sb:test: [TEST]  PASS   browser: chromium  src/components/Checkbox/Checkbox.stories.tsx (12.803 s)
web:sb:test: [TEST]   ● Console
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 
web:sb:test: [TEST]     console.log
web:sb:test: [TEST]       No accessibility violations detected!
web:sb:test: [TEST] 
web:sb:test: [TEST]       at DefaultTerminalReporter.<anonymous> (node_modules/.pnpm/[email protected][email protected]/node_modules/axe-playwright/dist/reporter/defaultTerminalReporter.js:47:41)
web:sb:test: [TEST] 

@ReoHakase
Copy link
Owner Author

とりあえずv8.0.5に戻します #19

@ReoHakase ReoHakase merged commit ef7b1b1 into main May 25, 2024
6 checks passed
@ReoHakase ReoHakase added ✨ feat 機能の実装。 🧪 test テストの追加・更新 and removed enhancement labels May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feat 機能の実装。 🧪 test テストの追加・更新
Projects
None yet
Development

Successfully merging this pull request may close these issues.

都道府県の選択状態を表示するコンポーネント<PrefectureStateBar>を実装する
1 participant