feat: policy signature flow #857
playwright.yml
on: pull_request
Annotations
11 errors, 3 warnings, and 1 notice
|
[chromium] › playwright/e2e/mobile-pdf-horizontal-scroll.spec.ts:13:5 › PDF viewer allows horizontal scrolling on mobile viewport:
apps/libresign/playwright/e2e/mobile-pdf-horizontal-scroll.spec.ts#L23
4) [chromium] › playwright/e2e/mobile-pdf-horizontal-scroll.spec.ts:13:5 › PDF viewer allows horizontal scrolling on mobile viewport
Error: expect(locator).toBeVisible() failed
Locator: locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
Expected: visible
Timeout: 20000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 20000ms
- waiting for locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
21 |
22 | const addFooterSwitch = page.locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
> 23 | await expect(addFooterSwitch).toBeVisible({ timeout: 20000 })
| ^
24 | const addFooterCheckbox = addFooterSwitch.locator('input[type="checkbox"]').first()
25 | if (!await addFooterCheckbox.isChecked()) {
26 | await addFooterSwitch.click()
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/mobile-pdf-horizontal-scroll.spec.ts:23:32
|
|
[chromium] › playwright/e2e/footer-reset-persistence.spec.ts:27:5 › footer template persists after reset and page reload:
apps/libresign/playwright/e2e/footer-reset-persistence.spec.ts#L37
3) [chromium] › playwright/e2e/footer-reset-persistence.spec.ts:27:5 › footer template persists after reset and page reload
Error: expect(locator).toBeVisible() failed
Locator: locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
Expected: visible
Timeout: 20000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 20000ms
- waiting for locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
35 |
36 | const addFooterSwitch = page.locator('.checkbox-radio-switch').filter({ hasText: /Add visible footer/i }).first()
> 37 | await expect(addFooterSwitch).toBeVisible({ timeout: 20000 })
| ^
38 |
39 | const customizeSwitch = page.locator('.checkbox-radio-switch').filter({ hasText: /Customize footer template/i }).first()
40 |
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-reset-persistence.spec.ts:37:32
|
|
[chromium] › playwright/e2e/footer-policy-hierarchy-ui.spec.ts:235:1 › footer hierarchy works through policies and preferences UI:
apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts#L114
2) [chromium] › playwright/e2e/footer-policy-hierarchy-ui.spec.ts:235:1 › footer hierarchy works through policies and preferences UI
Error: page.waitForRequest: Test ended.
112 |
113 | async function waitForPolicyRequest(page: Page, method: 'PUT' | 'DELETE', urlPart: string, action: () => Promise<void>) {
> 114 | const requestPromise = page.waitForRequest((request) => {
| ^
115 | return request.method() === method
116 | && request.url().includes(urlPart)
117 | })
at waitForPolicyRequest (/home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts:114:30)
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts:283:8
|
|
[chromium] › playwright/e2e/footer-policy-hierarchy-ui.spec.ts:235:1 › footer hierarchy works through policies and preferences UI:
apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts#L284
2) [chromium] › playwright/e2e/footer-policy-hierarchy-ui.spec.ts:235:1 › footer hierarchy works through policies and preferences UI
Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'Reset to default' }) resolved to 2 elements:
1) <button type="button" data-v-09093702="" data-v-25aa07ae="" class="button-vue button-vue--size-normal button-vue--tertiary">…</button> aka locator('button').filter({ hasText: 'Reset to default' })
2) <button type="button" data-v-09093702="" data-v-c48494aa="" aria-label="Reset to default" class="button-vue button-vue--size-normal button-vue--tertiary">…</button> aka getByLabel('Reset to default')
Call log:
- waiting for getByRole('button', { name: 'Reset to default' })
282 |
283 | await waitForPolicyRequest(page, 'DELETE', `/apps/libresign/api/v1/policies/user/${FOOTER_POLICY_KEY}`, async () => {
> 284 | await page.getByRole('button', { name: 'Reset to default' }).click()
| ^
285 | })
286 | await expectFooterTemplateValue(page, groupTemplate)
287 |
at action (/home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts:284:64)
at waitForPolicyRequest (/home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts:119:8)
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/footer-policy-hierarchy-ui.spec.ts:283:8
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L40
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('Account')
38 | await page.getByRole('button', { name: 'Send' }).click()
39 | await page.getByRole('button', { name: 'Add signer' }).click()
> 40 | await page.getByPlaceholder('Account').fill('a')
| ^
41 | await page.getByRole('option', { name: '[email protected]' }).click()
42 | await page.getByRole('button', { name: 'Save' }).click()
43 | await page.getByRole('button', { name: 'Request signatures' }).click()
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/delete-pending-request.spec.ts:40:41
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L0
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L40
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('Account')
38 | await page.getByRole('button', { name: 'Send' }).click()
39 | await page.getByRole('button', { name: 'Add signer' }).click()
> 40 | await page.getByPlaceholder('Account').fill('a')
| ^
41 | await page.getByRole('option', { name: '[email protected]' }).click()
42 | await page.getByRole('button', { name: 'Save' }).click()
43 | await page.getByRole('button', { name: 'Request signatures' }).click()
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/delete-pending-request.spec.ts:40:41
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L0
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L40
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Error: locator.fill: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByPlaceholder('Account')
38 | await page.getByRole('button', { name: 'Send' }).click()
39 | await page.getByRole('button', { name: 'Add signer' }).click()
> 40 | await page.getByPlaceholder('Account').fill('a')
| ^
41 | await page.getByRole('option', { name: '[email protected]' }).click()
42 | await page.getByRole('button', { name: 'Save' }).click()
43 | await page.getByRole('button', { name: 'Request signatures' }).click()
at /home/runner/work/libresign/libresign/apps/libresign/playwright/e2e/delete-pending-request.spec.ts:40:41
|
|
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request:
apps/libresign/playwright/e2e/delete-pending-request.spec.ts#L0
1) [chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
Test timeout of 60000ms exceeded.
|
|
playwright-summary
Process completed with exit code 1.
|
|
matrix
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright E2E Tests (master)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: icewind1991/nextcloud-version-matrix@8a7bac6300b2f0f3100088b297995a229558ddba, skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Playwright E2E Tests (master)
No files were found with the provided path: apps/libresign/playwright-report/. No artifacts will be uploaded.
|
|
🎭 Playwright Run Summary
19 failed
[chromium] › playwright/e2e/delete-pending-request.spec.ts:10:5 › delete pending signature request
[chromium] › playwright/e2e/footer-policy-hierarchy-ui.spec.ts:235:1 › footer hierarchy works through policies and preferences UI
[chromium] › playwright/e2e/footer-reset-persistence.spec.ts:27:5 › footer template persists after reset and page reload
[chromium] › playwright/e2e/mobile-pdf-horizontal-scroll.spec.ts:13:5 › PDF viewer allows horizontal scrolling on mobile viewport
[chromium] › playwright/e2e/multi-signer-parallel.spec.ts:11:5 › request signatures from two signers in parallel
[chromium] › playwright/e2e/multi-signer-sequential.spec.ts:89:1 › request signatures from two signers in sequential order
[chromium] › playwright/e2e/send-reminder.spec.ts:17:5 › admin can send a reminder to a pending signer
[chromium] › playwright/e2e/sign-email-token-authenticated.spec.ts:23:5 › sign document with email token as authenticated signer
[chromium] › playwright/e2e/sign-email-token-unauthenticated.spec.ts:14:5 › sign document with email token as unauthenticated signer
[chromium] › playwright/e2e/sign-herself-updates-files-list-with-native-engine.spec.ts:24:5 › updates files list status after signing with native engine
[chromium] › playwright/e2e/sign-herself-with-click-to-sign.spec.ts:10:5 › sign herself with click to sign
[chromium] › playwright/e2e/sign-herself-with-drawn-signature.spec.ts:15:5 › sign herself with drawn signature
[chromium] › playwright/e2e/sign-herself-with-pkcs12-certificate.spec.ts:10:5 › sign herself with pkcs12 certificate
[chromium] › playwright/e2e/sign-password-non-retriable-error.spec.ts:66:5 › switches from blocked (enabled) to normal (disabled) without extra scenarios
[chromium] › playwright/e2e/sign-wrong-session.spec.ts:20:5 › authenticated user sees error when accessing another signer's email link
[chromium] › playwright/e2e/signature-flow-policy-request-sidebar.spec.ts:77:1 › request sidebar persists signature flow preference through policies endpoint
[chromium] › playwright/e2e/signature-footer-template-editor-fixed.spec.ts:27:5 › signature footer template editor updates preview and controls correctly
[chromium] › playwright/e2e/signature-footer-template-editor.spec.ts:259:5 › footer template reset reverts to inherited default after save and reload
[chromium] › playwright/e2e/visible-element-persistence.spec.ts:15:5 › visible signature element persists and can be deleted
3 did not run
16 passed (53.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-test-results
|
72.2 MB |
sha256:9eaf05dd73fb30360988abbac61fa56b924ad5574a3a262d116319136420925b
|
|