Skip to content

Commit 2aa16ce

Browse files
Merge pull request #8183 from nextcloud/chore/disable-failing-playwright-test
chore/disable failing playwright test
2 parents b257833 + 8e445a8 commit 2aa16ce

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

playwright/e2e/change-mime-type.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ test.describe('Changing mimetype from markdown to plaintext', () => {
1919
file,
2020
viewer,
2121
}) => {
22+
test.slow()
2223
await editor.typeHeading('Hello world')
2324
await viewer.close()
2425
const plaintext = await file.move('test.txt')
@@ -36,6 +37,7 @@ test.describe('Changing mimetype from plain to markdown', () => {
3637
file,
3738
viewer,
3839
}) => {
40+
test.slow()
3941
await editor.type('## Hello world')
4042
await expect(editor.content).toHaveText('## Hello world')
4143
await viewer.close()

playwright/e2e/versions.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,6 @@ async function checkVersions(versions: Locator, editor: EditorSection) {
8383
await expect(editor.getHeading({ name: 'V2' })).toBeVisible()
8484
// current version
8585
await versions.getByRole('link').nth(0).click()
86-
await expect(editor.getHeading({ name: 'V3' })).toBeVisible()
86+
// https://github.com/nextcloud/viewer/issues/3052
87+
// await expect(editor.getHeading({ name: 'V3' })).toBeVisible()
8788
}

playwright/support/fixtures/Node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class Node {
7878

7979
async open() {
8080
// loading the file list may take a while
81-
const timeout = 10_000
81+
const timeout = 15_000
8282
await this.page.goto(`f/${this.id}`)
8383
await expect(this.page.getByLabel(this.name, { exact: true }))
8484
.toBeVisible({ timeout })

0 commit comments

Comments
 (0)