Skip to content

Fix one feature test

Eduardo Sanz García requested to merge eduardosanz/fix-popover-spec into master

What does this MR do and why?

Because browsers don't respect the loading order of the scripts, sometimes s__ function is not defined. This caused an error and the spec failed.

Adding Vue.use(Translate) remediates this issue.

A more proper solution has been proposed here: !156523 (merged)

Closes: #444684 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

No changes.

How to set up and validate locally

It should pass this test: bundle exec rspec 'spec/features/admin/users/users_spec.rb:53'

Merge request reports