Wizard: edit compliance according to updated mockups

Changes the compliance step based on most recent mockups
This commit is contained in:
Katarina Sieklova 2025-04-16 17:01:25 +02:00 committed by Klara Simickova
parent ad6b38a115
commit cfa437a34b
5 changed files with 103 additions and 179 deletions

View file

@ -39,7 +39,9 @@ const goToComplianceStep = async () => {
await clickRegisterLater();
await clickNext(); // Compliance
await screen.findByRole('heading', { name: /Compliance/ });
const button = await screen.findByLabelText('Insights compliance');
const button = await screen.findByRole('button', {
name: /Compliance policies/,
});
await waitFor(() => user.click(button));
// wait until all policies are loaded
await screen.findByText('Select a policy');