Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion playwright/e2e/whiteboard-basic.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
/**
* SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
Expand All @@ -19,7 +19,7 @@
await openFilesApp(page)
})

test.skip('whiteboard content persists after reload and reopen', async ({ page }) => {
test('whiteboard content persists after reload and reopen', async ({ page }) => {
const boardName = `Persistent whiteboard ${Date.now()}`

await createWhiteboard(page, { name: boardName })
Expand All @@ -46,16 +46,16 @@
interval: 500,
}).toContain('Persistent content')

await page.reload()

Check failure on line 49 in playwright/e2e/whiteboard-basic.spec.ts

View workflow job for this annotation

GitHub Actions / Playwright Tests on Nextcloud stable30

[chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen

2) [chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen Error: page.reload: Target page, context or browser has been closed Call log: - waiting for navigation until "load" - navigated to "http://localhost:8089/index.php/apps/files/files/592?dir=/&editing=false&openfile=true" 47 | }).toContain('Persistent content') 48 | > 49 | await page.reload() | ^ 50 | await waitForCanvas(page) 51 | 52 | await expect.poll(async () => fetchContent(auth), { at /home/runner/actions-runner/_work/whiteboard/whiteboard/playwright/e2e/whiteboard-basic.spec.ts:49:13
await waitForCanvas(page)

await expect.poll(async () => fetchContent(auth), {

Check failure on line 52 in playwright/e2e/whiteboard-basic.spec.ts

View workflow job for this annotation

GitHub Actions / Playwright Tests on Nextcloud stable29

[chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen

1) [chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Test timeout of 30000ms exceeded 50 | await waitForCanvas(page) 51 | > 52 | await expect.poll(async () => fetchContent(auth), { | ^ 53 | timeout: 10000, 54 | interval: 500, 55 | }).toContain('Persistent content') at /home/runner/actions-runner/_work/whiteboard/whiteboard/playwright/e2e/whiteboard-basic.spec.ts:52:2
timeout: 10000,
interval: 500,
}).toContain('Persistent content')

await openWhiteboardFromFiles(page, boardName)
await expect.poll(async () => fetchContent(auth), {

Check failure on line 58 in playwright/e2e/whiteboard-basic.spec.ts

View workflow job for this annotation

GitHub Actions / Playwright Tests on Nextcloud master

[chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen

1) [chromium] › playwright/e2e/whiteboard-basic.spec.ts:22:1 › whiteboard content persists after reload and reopen Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Test timeout of 30000ms exceeded 56 | 57 | await openWhiteboardFromFiles(page, boardName) > 58 | await expect.poll(async () => fetchContent(auth), { | ^ 59 | timeout: 10000, 60 | interval: 500, 61 | }).toContain('Persistent content') at /home/runner/work/whiteboard/whiteboard/playwright/e2e/whiteboard-basic.spec.ts:58:2
timeout: 10000,
interval: 500,
}).toContain('Persistent content')
Expand Down
Loading