Add default context resolution for custom agents #9052
playwright.yml
on: pull_request
Playwright Tests (ubuntu-22.04, Node.js 18.x)
9m 57s
Annotations
2 errors 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
2) 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
|
|
src/tests/theia-notebook-editor.test.ts:188:9 › Theia Notebook Cell interaction › Check execution count matches:
examples/playwright/src/tests/theia-notebook-editor.test.ts#L195
1) src/tests/theia-notebook-editor.test.ts:188:9 › Theia Notebook Cell interaction › Check execution count matches
Error: expect(received).toBe(expected) // Object.is equality
Expected: "3"
Received: " "
193 | await cell.execute();
194 |
> 195 | expect(await cell.executionCount()).toBe('3');
| ^
196 | });
197 |
198 | test('Check arrow up and down works', async () => {
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:195:45
|
|
🎭 Playwright Run Summary
2 flaky
src/tests/theia-notebook-editor.test.ts:188:9 › Theia Notebook Cell interaction › Check execution count matches
src/tests/theia-notebook-editor.test.ts:231:9 › Theia Notebook Cell interaction › Check x/c/v works
3 skipped
89 passed (5.2m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-test-results
Expired
|
1.23 MB |
sha256:121e58b09c27ddb67c08a1b94972b8be4900f6d91f24d395629c4c2b442f829c
|
|