Skip to content

Provide range to completion item to allow for correct inline display #8785

Provide range to completion item to allow for correct inline display

Provide range to completion item to allow for correct inline display #8785

Triggered via pull request April 4, 2025 13:08
Status Success
Total duration 9m 35s
Artifacts 1

playwright.yml

on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 18.x)
9m 27s
Playwright Tests (ubuntu-22.04, Node.js 18.x)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 4 warnings, and 1 notice
src/tests/theia-notebook-editor.test.ts:231:9 › Theia Notebook Cell interaction › Check x/c/v works: examples/playwright/src/theia-monaco-editor.ts#L62
1) src/tests/theia-notebook-editor.test.ts:231:9 › Theia Notebook Cell interaction › Check x/c/v works TypeError: Cannot read properties of undefined (reading 'lineElement') at ../../src/theia-monaco-editor.ts:62 60 | } 61 | linesWithXCoordinates.sort((a, b) => a.x.toString().localeCompare(b.x.toString())); > 62 | return linesWithXCoordinates[lineNumber - 1].lineElement; | ^ 63 | } 64 | 65 | async textContentOfLineContainingText(text: string): Promise<string | undefined> { at TheiaEmbeddedMonacoEditor.lineByLineNumber (/home/runner/work/theia/theia/examples/playwright/src/theia-monaco-editor.ts:62:54) at TheiaEmbeddedMonacoEditor.addEditorText (/home/runner/work/theia/theia/examples/playwright/src/theia-monaco-editor.ts:102:22) at TheiaNotebookCell.addEditorText (/home/runner/work/theia/theia/examples/playwright/src/theia-notebook-cell.ts:107:9) at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:236:9
Slow Test: examples/playwright/src/tests/theia-quick-command.test.ts#L1
examples/playwright/src/tests/theia-quick-command.test.ts took 46.3s
Slow Test: examples/playwright/src/tests/theia-workspace.test.ts#L1
examples/playwright/src/tests/theia-workspace.test.ts took 22.7s
Slow Test: examples/playwright/src/tests/theia-explorer-view.test.ts#L1
examples/playwright/src/tests/theia-explorer-view.test.ts took 16.7s
Slow Test: examples/playwright/src/tests/theia-text-editor.test.ts#L1
examples/playwright/src/tests/theia-text-editor.test.ts took 15.5s
🎭 Playwright Run Summary
1 flaky src/tests/theia-notebook-editor.test.ts:231:9 › Theia Notebook Cell interaction › Check x/c/v works 3 skipped 90 passed (4.9m)

Artifacts

Produced during runtime
Name Size Digest
playwright-test-results Expired
835 KB
sha256:dc7af739bd8f4932475cd5e5c92ec999a5a4d63de8c0acb0862604c332aaf237