another test

This commit is contained in:
Simon Knott 2025-01-03 10:37:14 +01:00
parent fe9a53556a
commit 081321918f
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -962,9 +962,10 @@ for (const useIntermediateMergeReport of [true, false] as const) {
await showReport(); await showReport();
await page.getByRole('link', { name: 'passing' }).click(); await page.getByRole('link', { name: 'passing' }).click();
const attachment = page.getByText('attachment', { exact: true }); const attachment = page.getByTestId('attachments').getByText('attachment', { exact: true });
await expect(attachment).not.toBeInViewport(); await expect(attachment).not.toBeInViewport();
await page.getByLabel('step').getByTitle('link to attachment').click(); await page.getByLabel('step').click();
await page.getByTitle('see "attachment"').click();
await expect(attachment).toBeInViewport(); await expect(attachment).toBeInViewport();
}); });