[EE] Simplify JavaScriptFixturesHelpers
requested to merge ee-58844-follow-up-from-don-t-create-ee-specific-files-when-creating-emojis-fixture-files into master
What does this MR do?
EE port of https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/26045.
Simplify JavaScriptFixturesHelpers
by:
- Only storing fixtures in one place
- This place changes whether we are in CE or EE
We discovered with @winh that only fixtures located under spec/javascripts/fixtures
are used, even in EE so there's no need to clean/create fixtures in ee/spec/javascripts/fixtures
.
What are the relevant issue numbers?
Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58844, https://gitlab.com/gitlab-org/gitlab-ce/issues/58898, https://gitlab.com/gitlab-org/gitlab-ee/issues/10386.
Does this MR meet the acceptance criteria?
-
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
EE specific content should be in the top level /ee
folder -
Security reports checked/validated by reviewer
Edited by Rémy Coutable