({ page }: { page: Page })
| 140 | |
| 141 | test.describe('Invalid certification page', () => { |
| 142 | const testInvalidCertification = async ({ page }: { page: Page }) => { |
| 143 | { |
| 144 | await page.goto('/certification/certifieduser/invalid-certification'); |
| 145 | await expect(page).toHaveURL('/'); |
| 146 | await alertToBeVisible(page, translations.flash['certificate-missing']); |
| 147 | } |
| 148 | }; |
| 149 | test.describe('for authenticated user', () => { |
| 150 | test( |
| 151 | 'it should redirect to / and display an error message', |
nothing calls this directly
no test coverage detected