Skip to content

Intermittent Playwright test failures in theia-notebook-editor.test #14450

@planger

Description

@planger

I'm monitoring the stability of the Playwright tests and observed that there are a number of intermittent, recurring test failures at the theia-notebook-editor.test.ts.

Error:   1) ../../src/tests/theia-notebook-editor.test.ts:98:9 › Theia Notebook Editor interaction › should split cell 
    Error: elementHandle.waitForElementState: Element is not attached to the DOM
    Call log:
      -   waiting for element to be visible


      111 |         */
      112 |         const line = await cell.editor.lineByLineNumber(1);
    > 113 |         await line?.waitForElementState('visible');
          |                     ^
      114 |         await line?.click();
      115 |         await line?.press('ArrowRight');
      116 |

        at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:113:21

It is not alarmingly frequent, but it might be good to look into it anyway to avoid false-positives.

Metadata

Metadata

Assignees

Labels

notebookissues related to notebooksplaywrightissues related to playwright tests

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions