Skip to content

Replace hardcoded mock job data with fixtures (3)

Miguel Rincon requested to merge mrincon-reduce-mock-data-3 into master

What does this MR do and why?

Depends on !91346 (merged)

Replace hardcoded mock job data with a fixtures.

This fixtures are generated by the same queries that are used in the frontend, allowing them to stay in sync with the frontend changes.

Note I added pipeline:skip-undercoverage while #366653 (closed) is resolved.

Screenshots or screen recordings

NA

How to set up and validate locally

You may generate the fixtures and list them by running:

$ bundle exec rspec spec/frontend/fixtures/jobs.rb
$ ls tmp/tests/frontend/fixtures-ee/graphql/jobs/

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Miguel Rincon

Merge request reports

Loading