-
Notifications
You must be signed in to change notification settings - Fork 186
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
Tailwind scaffolding generates tests that will fail #519
Comments
we added back a confirm prompt in #498 . System tests are created by a generator in rails, not here. Which is why it doesn't consider having a turbo confirm. The original PR conditionally added the turbo-confirm data attribute if turbo was set up in your project, but that wouldn't solve the issue as the system tests are generated by rails and rails doesn't consider turbo confirm prompts. I'll give it a go and see if we can add that to the test somehow. |
add accept_confirm if turbo is available so system tests don't fail. fixes #519
Thanks! For context, Agile Web Development with Rails 8 uses tailwind, and I didn't want to have to explain why the tests fail 😃 |
Reproduction instructions:
Results:
Results if
--css tailwind
is omitted:The text was updated successfully, but these errors were encountered: