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

Mark JavaScript tests with :js #2751

Merged
merged 1 commit into from
Dec 16, 2024
Merged

Mark JavaScript tests with :js #2751

merged 1 commit into from
Dec 16, 2024

Conversation

thomasleese
Copy link
Contributor

This ensures that Capybara automatically uses the javascript_driver and we don't need to mark the test as a system test. This avoids the need to use driven_by and mark the test as a :system test while being in the directory for feature tests.

In the future we might want to switch all these tests over to be :system tests, as this is the standard Rails approach now, but for now we can leave it like this.

This ensures that Capybara automatically uses the `javascript_driver`
and we don't need to mark the test as a system test. This avoids the
need to use `driven_by` and mark the test as a `:system` test while
being in the directory for feature tests.

In the future we might want to switch all these tests over to be
`:system` tests, as this is the standard Rails approach now, but for
now we can leave it like this.
@tvararu tvararu temporarily deployed to mavis-pr-2751 December 16, 2024 10:02 Inactive
@thomasleese thomasleese merged commit e0f017b into main Dec 16, 2024
13 checks passed
@thomasleese thomasleese deleted the js-spec branch December 16, 2024 10:26
@tvararu tvararu added this to the v1.1.1 milestone Dec 17, 2024
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 this pull request may close these issues.

3 participants