From ae84ea0f21ec4ea606636da624633aea94ca7b8b Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 4 Nov 2024 10:23:24 +0100 Subject: [PATCH] focus different attachment first --- tests/playwright-test/ui-mode-test-attachments.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/playwright-test/ui-mode-test-attachments.spec.ts b/tests/playwright-test/ui-mode-test-attachments.spec.ts index 9f3f6d3920..0e3b91f87d 100644 --- a/tests/playwright-test/ui-mode-test-attachments.spec.ts +++ b/tests/playwright-test/ui-mode-test-attachments.spec.ts @@ -167,6 +167,7 @@ test('should link from attachment step to attachments view', async ({ runUITest const panel = page.getByRole('tabpanel', { name: 'Attachments' }); const attachment = panel.getByLabel('my-attachment'); + await page.getByText('attach "spacer-1"').click(); await expect(attachment).not.toBeInViewport(); await page.getByText('attach "my-attachment"').click(); await expect(attachment).toBeInViewport();