debian-image-builder-frontend/src/test/Components
Thomas Lavocat 8144aaa76d test/ShareImageModal: only render the modal
Before, the LandingPage was not properly rendering because
EdgeImagesTable has a dependency to Scalprum. Scalprum is a service that
is provided by Insight that enables up to access shared components.
However scalprum wasn't getting initialized properly during the
execution of the unit tests making the entire LandingPage not rendering.

There are ways to mock scalprum but this commit takes another decision
to fix the issue. Instead of having a test environment rendering the
LandingPage and the Wizard to test the ShareImageModal, the rendering is
tailored to ShareImageModal needs, which only contains the rendering of
that said module + static routes to avoid 404 on final redirections.

This makes the scalprum errors go without hurting the coverage of the
tests.
2023-08-09 16:03:00 +02:00
..
CreateImageWizard test/fixtures: Update compose fixture and migrate it to TypeScript 2023-08-07 10:20:44 +02:00
ImagesTable test/fixtures: Update timestamps of mock composes 2023-08-07 14:36:19 +02:00
LandingPage LandingPage: Add edge images table 2023-06-26 12:54:10 +02:00
ShareImageModal test/ShareImageModal: only render the modal 2023-08-09 16:03:00 +02:00