chore: make Docker image run without root user #130
Annotations
3 errors and 1 notice
[chromium] › application-configuration.spec.ts:24:1 › Update email configuration:
frontend/tests/application-configuration.spec.ts#L33
1) [chromium] › application-configuration.spec.ts:24:1 › Update email configuration ──────────────
Error: locator.click: Error: strict mode violation: getByRole('status') resolved to 2 elements:
1) <li tabindex="0" role="status" data-index="0" data-front="true" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-type="success" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.t…>…</li> aka getByRole('status').first()
2) <li tabindex="0" role="status" data-index="1" aria-atomic="true" aria-live="polite" data-styled="true" data-front="false" data-mounted="true" data-visible="true" data-type="success" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.…>…</li> aka getByRole('status').nth(1)
Call log:
- waiting for getByRole('status')
31 | await page.getByLabel('SMTP From').fill('[email protected]');
32 | await page.getByRole('button', { name: 'Enable' }).click();
> 33 | await page.getByRole('status').click();
| ^
34 |
35 | await expect(page.getByRole('status')).toHaveText('Email configuration updated successfully');
36 | await expect(page.getByRole('button', { name: 'Disable' })).toBeVisible();
at /home/runner/work/pocket-id/pocket-id/frontend/tests/application-configuration.spec.ts:33:33
|
[chromium] › application-configuration.spec.ts:24:1 › Update email configuration:
frontend/tests/application-configuration.spec.ts#L33
1) [chromium] › application-configuration.spec.ts:24:1 › Update email configuration ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: getByRole('status') resolved to 2 elements:
1) <li tabindex="0" role="status" data-index="0" data-front="true" aria-atomic="true" aria-live="polite" data-styled="true" data-mounted="true" data-visible="true" data-type="success" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.t…>…</li> aka getByRole('status').first()
2) <li tabindex="0" role="status" data-index="1" aria-atomic="true" aria-live="polite" data-styled="true" data-front="false" data-mounted="true" data-visible="true" data-type="success" data-invert="false" data-sonner-toast="" data-promise="false" data-removed="false" data-swiping="false" data-expanded="false" data-swipe-out="false" data-x-position="right" data-y-position="bottom" class="group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.…>…</li> aka getByRole('status').nth(1)
Call log:
- waiting for getByRole('status')
31 | await page.getByLabel('SMTP From').fill('[email protected]');
32 | await page.getByRole('button', { name: 'Enable' }).click();
> 33 | await page.getByRole('status').click();
| ^
34 |
35 | await expect(page.getByRole('status')).toHaveText('Email configuration updated successfully');
36 | await expect(page.getByRole('button', { name: 'Disable' })).toBeVisible();
at /home/runner/work/pocket-id/pocket-id/frontend/tests/application-configuration.spec.ts:33:33
|
build-and-test
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › application-configuration.spec.ts:24:1 › Update email configuration ───────────────
30 passed (34.2s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
Expired
|
4.69 MB |
|