Skip to content

Flaky test GUI: tests/e2e/specs/file_editor.spec.ts:29:5 › Open cryptpad in edit mode with header #12033

@touilleMan

Description

@touilleMan

see https://github.com/Scille/parsec-cloud/actions/runs/20849946590/job/59902754327?pr=12002#step:12:3598


Testing stopped early after 1 maximum allowed failures.


  1) [Google Chrome] › tests/e2e/specs/file_editor.spec.ts:29:5 › Open cryptpad in edit mode with header 

    Error: expect(locator).toBeVisible() failed

    Locator: locator('.file-editor')
    Expected: visible
    Timeout: 5000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" with timeout 5000ms
      - waiting for locator('.file-editor')


      54 |         }
      55 |       }
    > 56 |       await expect(parsecEditics.locator('.file-editor')).toBeVisible();
         |                                                           ^
      57 |       const frame = parsecEditics.frameLocator('.file-editor');
      58 |       await expect(frame.locator('#editor-container')).toBeVisible();
      59 |       const topbar = parsecEditics.locator('.file-handler-topbar');
        at /github/workspace/client/tests/e2e/specs/file_editor.spec.ts:56:59

    Error Context: test-results/specs-file_editor-Open-cryptpad-in-edit-mode-with-header-Google-Chrome/error-context.md

    Retry #1 ───────────────────────────────────────────────────────────────────────────────────────

    Error: expect(locator).toBeVisible() failed

    Locator: locator('.file-editor')
    Expected: visible
    Timeout: 5000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" with timeout 5000ms
      - waiting for locator('.file-editor')


      54 |         }
      55 |       }
    > 56 |       await expect(parsecEditics.locator('.file-editor')).toBeVisible();
         |                                                           ^
      57 |       const frame = parsecEditics.frameLocator('.file-editor');
      58 |       await expect(frame.locator('#editor-container')).toBeVisible();
      59 |       const topbar = parsecEditics.locator('.file-handler-topbar');
        at /github/workspace/client/tests/e2e/specs/file_editor.spec.ts:56:59

    Error Context: test-results/specs-file_editor-Open-cryptpad-in-edit-mode-with-header-Google-Chrome-retry1/error-context.md

    attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    test-results/specs-file_editor-Open-cryptpad-in-edit-mode-with-header-Google-Chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace test-results/specs-file_editor-Open-cryptpad-in-edit-mode-with-header-Google-Chrome-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

    Retry #2 ───────────────────────────────────────────────────────────────────────────────────────

    Error: expect(locator).toBeVisible() failed

    Locator: locator('.file-editor')
    Expected: visible
    Timeout: 5000ms
    Error: element(s) not found

    Call log:
      - Expect "toBeVisible" with timeout 5000ms
      - waiting for locator('.file-editor')


      54 |         }
      55 |       }
    > 56 |       await expect(parsecEditics.locator('.file-editor')).toBeVisible();
         |                                                           ^
      57 |       const frame = parsecEditics.frameLocator('.file-editor');
    +   "History",
    +   "Details",
        "Delete",
    +   "Collaboration",
    +   "Copy link",
      ]

    Call log:
      - Expect "toHaveText" with timeout 5000ms
      - waiting for locator('.file-context-menu').getByRole('listitem')
        9 × locator resolved to 9 elements


      301 |         const popover = documents.locator('.file-context-menu');
      302 |         await expect(popover).toBeVisible();
    > 303 |         await expect(popover.getByRole('listitem')).toHaveText(['Folder management', 'Move to', 'Make a copy', 'Delete']);
          |                                                     ^
      304 |       },
      305 |     );
      306 |
        at /github/workspace/client/tests/e2e/specs/document_context_menu.spec.ts:303:53

    attachment #1: trace (application/zip) ─────────────────────────────────────────────────────────
    test-results/specs-document_context_men-4008c-files-in-list-with-a-folder-Google-Chrome-retry1/trace.zip
    Usage:

        npx playwright show-trace test-results/specs-document_context_men-4008c-files-in-list-with-a-folder-Google-Chrome-retry1/trace.zip

    ────────────────────────────────────────────────────────────────────────────────────────────────

  1 failed
    [Google Chrome] › tests/e2e/specs/file_editor.spec.ts:29:5 › Open cryptpad in edit mode with header 
  1 interrupted
    [Google Chrome] › tests/e2e/specs/file_editor.spec.ts:152:5 › File editor failing to get frame because of openFail 
  4 flaky
    [Google Chrome] › tests/e2e/specs/client_area_custom_order_contract.spec.ts:5:1 › Test initial status for an org 
    [Google Chrome] › tests/e2e/specs/client_area_custom_order_contract.spec.ts:93:1 › Custom order contract stats timeout error 
    [Google Chrome] › tests/e2e/specs/client_area_stats_page.spec.ts:47:3 › Test stats progress bars Data(351 GB) 
    [Google Chrome] › tests/e2e/specs/document_context_menu.spec.ts:278:5 › Document popover on right click on multiple files in list with a folder 
  3 skipped
  263 passed (16.4m)
  1 error was not a part of any test, see above for details

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-GUICategory: Graphical User Interface issueinconsistent testingFlaky tests, missing tests, wrong tests

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions