Support Vite in feature tests
What does this MR do and why?
This MR adds Vite support for running feature tests locally.
See also the complementary GDK MR: gitlab-development-kit!3448 (merged)
How to set up and validate locally
- Run
echo "Feature.enable(:vite)" | gdk rails c
- Launch
bundle exec vite dev
- Restart GDK
- Run
gdk stop webpack
- Run any feature spec, example:
spec/features/merge_request/user_approves_spec.rb
- Verify it runs successfully
Edited by Lukas Eipert