diff --git a/app/forms/image-upload.tsx b/app/forms/image-upload.tsx index a60ea16ce..1f584e8fc 100644 --- a/app/forms/image-upload.tsx +++ b/app/forms/image-upload.tsx @@ -101,7 +101,11 @@ function Step({ children, state, label, className }: StepProps) { /* eslint-enable react/jsx-key */ return ( // data-status used only for e2e testing -
+
{/* padding on icon to align it with text since everything is aligned to top */}
{icon}
{ await page.click('role=button[name="Upload image"]') - const steps = page.locator('div[data-status]') - - for (const step of await steps.all()) { - await expect(step).toHaveAttribute('data-status', 'ready') - } - const step = page.locator('[data-status]').filter({ hasText: stepText }).first() await expect(step).toHaveAttribute('data-status', 'error', { timeout: 15000 }) await expectVisible(page, [