Refactor menu nodes #7746
playwright.yml
on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 18.x)
10m 41s
Annotations
5 errors, 5 warnings, and 1 notice
../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open:
examples/playwright/src/tests/theia-toolbar.test.ts#L62
1) ../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
60 | const commandPaletteTool = await toolbar.toolBarItem('workbench.action.showCommands');
61 | expect(commandPaletteTool).toBeDefined;
> 62 | expect(await commandPaletteTool!.isEnabled()).toBe(true);
| ^
63 |
64 | await commandPaletteTool!.trigger();
65 | expect(await app.quickCommandPalette.isOpen()).toBe(true);
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-toolbar.test.ts:62:55
|
../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open:
examples/playwright/src/tests/theia-toolbar.test.ts#L62
1) ../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
60 | const commandPaletteTool = await toolbar.toolBarItem('workbench.action.showCommands');
61 | expect(commandPaletteTool).toBeDefined;
> 62 | expect(await commandPaletteTool!.isEnabled()).toBe(true);
| ^
63 |
64 | await commandPaletteTool!.trigger();
65 | expect(await app.quickCommandPalette.isOpen()).toBe(true);
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-toolbar.test.ts:62:55
|
../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open:
examples/playwright/src/tests/theia-toolbar.test.ts#L62
1) ../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: true
Received: false
60 | const commandPaletteTool = await toolbar.toolBarItem('workbench.action.showCommands');
61 | expect(commandPaletteTool).toBeDefined;
> 62 | expect(await commandPaletteTool!.isEnabled()).toBe(true);
| ^
63 |
64 | await commandPaletteTool!.trigger();
65 | expect(await app.quickCommandPalette.isOpen()).toBe(true);
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-toolbar.test.ts:62:55
|
../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell:
examples/playwright/src/tests/theia-notebook-editor.test.ts#L119
2) ../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell
Error: elementHandle.click: Element is not attached to the DOM
Call log:
- attempting click action
- waiting for element to be visible, enabled and stable
117 | const box = await line?.boundingBox();
118 | console.log(`Split cell test: visible = ${await line?.isVisible()}, box = {${box?.x},${box?.y},${box?.width},${box?.height}}`);
> 119 | await line!.click();
| ^
120 | await line!.press('ArrowRight');
121 |
122 | // split cell
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:119:21
|
Playwright Tests (ubuntu-22.04, Node.js 18.x)
Process completed with exit code 1.
|
Slow Test:
src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 46.6s
|
Slow Test:
src/tests/theia-workspace.test.ts#L1
src/tests/theia-workspace.test.ts took 26.4s
|
Slow Test:
src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 17.9s
|
Slow Test:
src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 17.6s
|
Slow Test:
src/tests/theia-output-view.test.ts#L1
src/tests/theia-output-view.test.ts took 15.1s
|
🎭 Playwright Run Summary
1 failed
../../src/tests/theia-toolbar.test.ts:59:9 › Theia Toolbar › should trigger the "Command Palette" toolbar tool as expect the command palette to open
1 flaky
../../src/tests/theia-notebook-editor.test.ts:101:9 › Theia Notebook Editor interaction › should split cell
3 skipped
89 passed (5.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-test-results
|
2.15 MB |
|