Skip to content

Tailwind scaffolding generates tests that will fail #519

Open
@rubys

Description

@rubys

Reproduction instructions:

rails new blog --css tailwind
cd blog
bin/rails generate scaffold Post title:string body:text
bin/rails db:migrate
bin/rails test:system

Results:

Image

Results if --css tailwind is omitted:

Running 4 tests in a single process (parallelization threshold is 50)
Run options: --seed 22878

# Running:

Capybara starting Puma...
* Version 6.6.0, codename: Return to Forever
* Min threads: 0, max threads: 4
* Listening on http://127.0.0.1:50646
....

Finished in 1.903383s, 2.1015 runs/s, 2.1015 assertions/s.
4 runs, 4 assertions, 0 failures, 0 errors, 0 skips

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions