Add support for running system rspec (spec/features) with @vue/compat
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Description
It is now possible to run our system specs (spec/features and ee/spec/features) test suite locally in GDK by following the steps:
gdk config set vite.enabled false
gdk config set webpack.enabled true # vite doesn't support VUE_VERSION=3 yet
gdk config set webpack.vue_version 3
gdk reconfigure
gdk restart
bundle exec rspec spec/features/<your_spec>.rb
# optionally you can visit gdk manually while running on Vue 3
With this capability, we can now test if our features work with Vue 3. We should automate this process and start a pre-quarantine process for specs that pass or fail in Vue 3.
Using a rough approximation, we have determined about 75% of our rspec suites pass in Vue 3:
- test report: 76% (627/2745 failures)
- ee test report: 72% (316/1236 failures)
Tasks
-
Add new
rspec system pg16 vue3that runs optionally for pipeline:run-rspec-vue3 MRs. - Produce a stable list of currently failing specs to quarantine in Vue 3
-
Update
rspec system pg16 vue3to ignore quarantined files -
Enable
rspec system pg16 vue3in all pipelines, make it fail for non-quarantined files - (Swarm, ongoing) Fix failing specs: Current 75%
-
Remove quarantine list and keep running
rspec system pg16 vue3to ensure compatibility
Edited by Miguel Rincon