Skip to content

Support property Text in DocumentDropOrPasteEditKind (#14605) #7886

Support property Text in DocumentDropOrPasteEditKind (#14605)

Support property Text in DocumentDropOrPasteEditKind (#14605) #7886

Triggered via push January 28, 2025 10:23
Status Failure
Total duration 13m 31s
Artifacts 1

playwright.yml

on: push
Playwright Tests (ubuntu-22.04, Node.js 18.x)
13m 21s
Playwright Tests (ubuntu-22.04, Node.js 18.x)
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 4 warnings, and 1 notice
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L1
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Test timeout of 30000ms exceeded.
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L48
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Test timeout of 30000ms exceeded while running "afterEach" hook. 46 | }); 47 | > 48 | test.afterEach(async () => { | ^ 49 | if (editor) { 50 | await editor.closeWithoutSave(); 51 | } at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:48:10
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/theia-view.ts#L105
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Error: elementHandle.click: Target page, context or browser has been closed Call log: - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_9_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_9_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 58 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_9_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 500ms at ../../src/theia-view.ts:105 103 | if (side === 'main' || side === 'bottom') { 104 | const closeIcon = await tab?.waitForSelector('div.p-TabBar-tabCloseIcon'); > 105 | await closeIcon?.click(); | ^ 106 | } else { 107 | const menu = await this.openContextMenuOnTab(); 108 | const closeItem = await menu.menuItemByName('Close'); at TheiaNotebookEditor.close (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:105:30) at TheiaNotebookEditor.closeWithoutSave (/home/runner/work/theia/theia/examples/playwright/src/theia-editor.ts:42:9) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:50:13
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/theia-notebook-cell.ts#L193
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Error: locator.waitFor: Target page, context or browser has been closed Call log: - waiting for locator('#notebook\\:file\\:\\/\\/\\/tmp\\/cloud-ws-Pujt2u\\/sample\\.ipynb').locator('div.theia-notebook-cell-output-webview').locator('iframe.webview').contentFrame().locator('iframe').contentFrame().locator('div#cellHandle0').locator('div.output-container') to be visible at ../../src/theia-notebook-cell.ts:193 191 | async outputText(): Promise<string> { 192 | const outputContainer = await this.outputContainer(); > 193 | await outputContainer.waitFor({ state: 'visible' }); | ^ 194 | // By default just collect all spans text. 195 | const spansLocator: Locator = outputContainer.locator('span:not(:has(*))'); // ignore nested spans 196 | const spanTexts = await spansLocator.evaluateAll(spans => spans.map(span => span.textContent?.trim()) at TheiaNotebookCell.outputText (/home/runner/work/theia/theia/examples/playwright/src/theia-notebook-cell.ts:193:31) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:97:16
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L1
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L48
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded while running "afterEach" hook. 46 | }); 47 | > 48 | test.afterEach(async () => { | ^ 49 | if (editor) { 50 | await editor.closeWithoutSave(); 51 | } at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:48:10
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/theia-view.ts#L105
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: elementHandle.click: Target page, context or browser has been closed Call log: - attempting click action 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_5_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 20ms 2 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_5_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 100ms 58 × waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <input wrap="off" type="text" role="combobox" autocorrect="off" spellcheck="false" aria-label="input" class="input empty" autocapitalize="off" aria-haspopup="menu" aria-expanded="true" aria-autocomplete="list" aria-controls="quickInput_list" aria-activedescendant="list_id_5_0" aria-describedby="quickInput_message" placeholder="Select kernel for 'current'"/> from <div id="quick-input-container">…</div> subtree intercepts pointer events - retrying click action - waiting 500ms at ../../src/theia-view.ts:105 103 | if (side === 'main' || side === 'bottom') { 104 | const closeIcon = await tab?.waitForSelector('div.p-TabBar-tabCloseIcon'); > 105 | await closeIcon?.click(); | ^ 106 | } else { 107 | const menu = await this.openContextMenuOnTab(); 108 | const closeItem = await menu.menuItemByName('Close'); at TheiaNotebookEditor.close (/home/runner/work/theia/theia/examples/playwright/src/theia-view.ts:105:30) at TheiaNotebookEditor.closeWithoutSave (/home/runner/work/theia/theia/examples/playwright/src/theia-editor.ts:42:9) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:50:13
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/theia-notebook-cell.ts#L193
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Target page, context or browser has been closed Call log: - waiting for locator('#notebook\\:file\\:\\/\\/\\/tmp\\/cloud-ws-yhJZu8\\/sample\\.ipynb').locator('div.theia-notebook-cell-output-webview').locator('iframe.webview').contentFrame().locator('iframe').contentFrame().locator('div#cellHandle0').locator('div.output-container') to be visible at ../../src/theia-notebook-cell.ts:193 191 | async outputText(): Promise<string> { 192 | const outputContainer = await this.outputContainer(); > 193 | await outputContainer.waitFor({ state: 'visible' }); | ^ 194 | // By default just collect all spans text. 195 | const spansLocator: Locator = outputContainer.locator('span:not(:has(*))'); // ignore nested spans 196 | const spanTexts = await spansLocator.evaluateAll(spans => spans.map(span => span.textContent?.trim()) at TheiaNotebookCell.outputText (/home/runner/work/theia/theia/examples/playwright/src/theia-notebook-cell.ts:193:31) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:97:16
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L1
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells: examples/playwright/src/tests/theia-notebook-editor.test.ts#L48
1) ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded while running "afterEach" hook. 46 | }); 47 | > 48 | test.afterEach(async () => { | ^ 49 | if (editor) { 50 | await editor.closeWithoutSave(); 51 | } at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:48:10
Slow Test: src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 46.2s
Slow Test: src/tests/theia-workspace.test.ts#L1
src/tests/theia-workspace.test.ts took 22.1s
Slow Test: src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 16.2s
Slow Test: src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 15.3s
🎭 Playwright Run Summary
1 failed ../../src/tests/theia-notebook-editor.test.ts:87:9 › Theia Notebook Editor interaction › should execute all cells 1 flaky ../../src/tests/theia-notebook-editor.test.ts:70:9 › Theia Notebook Editor interaction › should add a new code cell 3 skipped 89 passed (8.6m)

Artifacts

Produced during runtime
Name Size
playwright-test-results Expired
1.04 MB