Skip to content

[EE] Simplify JavaScriptFixturesHelpers

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?

Edited by Rémy Coutable

Merge request reports