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

storybook UI testが落ちてる #11261

Closed
saschanaz opened this issue Jul 12, 2023 · 1 comment · Fixed by #11262
Closed

storybook UI testが落ちてる #11261

saschanaz opened this issue Jul 12, 2023 · 1 comment · Fixed by #11262

Comments

@saschanaz
Copy link
Member

saschanaz commented Jul 12, 2023

#11246 から続き

https://www.chromatic.com/pullrequest?appId=6428f7d7b962f0b79f97d6e4&number=11256&activeElementId=comparison-test-key-64290287558b4c8a2ccc9598-1200&view=changes

storybook test 失敗画面

最後に成功したのは c065b97 で、たぶん c065b97...b97694b でなにかが起こったかも

@saschanaz
Copy link
Member Author

MkA:

await userEvent.click(a, { button: 2 });

d5c4e77@storybook/testing-library@0.2.0にアップグレードしまして、それがまた@testing-library/user-event@14にアップグレードした結果{ button: 2 }は使えなくなった

  • init parameter has been removed from these APIs:
    • userEvent.click
    • userEvent.dblClick
    • userEvent.tripleClick
    • userEvent.hover
    • userEvent.unhover
    • userEvent.selectOptions
    • userEvent.deselectOptions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant