Skip to content

Flaky test GUI: tests/e2e/specs/document_context_menu.spec.ts:278:5 › Document popover on right click on multiple files in list with a folder #12034

@touilleMan

Description

@touilleMan

see https://github.com/Scille/parsec-cloud/actions/runs/20849648860/job/59901568648?pr=11889#step:12:2474

Testing stopped early after 1 maximum allowed failures.


  1) [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 

    Error: expect(locator).toHaveText(expected) failed

    Locator: locator('.file-context-menu').getByRole('listitem')
    Timeout: 5000ms
    - Expected  - 0
    + Received  + 9

      Array [
        "Folder management",
    +   "
    +
    +
    +
    + Rename",
        "Move to",
        "Make a copy",
    +   "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

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

          |                                                       ^
      297 |         }
      298 |         await entries.nth(0).click({ button: 'right' });
      299 |
        at /github/workspace/client/tests/e2e/specs/document_context_menu.spec.ts:296:55

  2) [Google Chrome] › tests/e2e/specs/account_create.spec.ts:7:1 › Parsec account create account ──

    Error: Element has a 'disabled' attribute.

      65 |   await expect(userInfoNext).toBeTrulyDisabled();
      66 |   await fillIonInput(inputContainers.nth(3).locator('ion-input'), EMAIL);
    > 67 |   await expect(userInfoNext).toBeTrulyEnabled();
         |                              ^
      68 |   await userInfoNext.click();
      69 |   await checkVisible(containers, 1);
      70 |   await expect(title).toHaveText('Validate your email');
        at /github/workspace/client/tests/e2e/specs/account_create.spec.ts:67:30

  3) [Google Chrome] › tests/e2e/specs/client_area_stats_page.spec.ts:47:3 › Test stats progress bars Data(0 B) 

    Error: Element has a 'disabled' attribute.

       at helpers/fixtures.ts:550

      548 |
      549 |     await expect(loginButton).toHaveText('Log in');
    > 550 |     await expect(loginButton).toBeTrulyEnabled();
          |                               ^
      551 |     await loginButton.click();
      552 |     await expect(home).toHaveURL(/.+\/clientArea$/);
      553 |
        at Object.clientArea (/github/workspace/client/tests/e2e/helpers/fixtures.ts:550:31)

    Error Context: test-results/specs-client_area_stats_pa-c91d7-ats-progress-bars-Data-0-B--Google-Chrome/error-context.md

  1 failed
    [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 
  2 interrupted
    [Google Chrome] › tests/e2e/specs/document_context_menu.spec.ts:65:5 › Document actions default state in grid mode for file 
    [Google Chrome] › tests/e2e/specs/document_context_menu.spec.ts:96:5 › Document actions default state in grid mode for folder 
  2 flaky
    [Google Chrome] › tests/e2e/specs/account_create.spec.ts:7:1 › Parsec account create account ───
    [Google Chrome] › tests/e2e/specs/client_area_stats_page.spec.ts:47:3 › Test stats progress bars Data(0 B) 
  1 skipped
  89 did not run
  177 passed (10.6m)
  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