Playwright API for Notebooks #6944
Annotations
7 errors, 6 warnings, and 1 notice
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L135
1) ../../src/tests/theia-notebook-editor.test.ts:129:9 › Theia Notebook Cell interaction › Execute code cell and read output
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hallo Notebook!"
Received: "Running cells with 'Python 3.10.12' requires the ipykernel package.Run the following command to install 'ipykernel' into the Python environment.Command: '/bin/python -m pip install ipykernel -U --user --force-reinstall'"
133 |
134 | const cellOutput = await cell.outputText();
> 135 | expect(cellOutput).toBe('Hallo Notebook!');
| ^
136 | });
137 |
138 | test('Check execution count matches', async () => {
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:135:28
|
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L135
1) ../../src/tests/theia-notebook-editor.test.ts:129:9 › Theia Notebook Cell interaction › Execute code cell and read output
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hallo Notebook!"
Received: "Running cells with 'Python 3.10.12' requires the ipykernel package.Run the following command to install 'ipykernel' into the Python environment.Command: '/bin/python -m pip install ipykernel -U --user --force-reinstall'"
133 |
134 | const cellOutput = await cell.outputText();
> 135 | expect(cellOutput).toBe('Hallo Notebook!');
| ^
136 | });
137 |
138 | test('Check execution count matches', async () => {
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:135:28
|
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L135
1) ../../src/tests/theia-notebook-editor.test.ts:129:9 › Theia Notebook Cell interaction › Execute code cell and read output
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "Hallo Notebook!"
Received: "Running cells with 'Python 3.10.12' requires the ipykernel package.Run the following command to install 'ipykernel' into the Python environment.Command: '/bin/python -m pip install ipykernel -U --user --force-reinstall'"
133 |
134 | const cellOutput = await cell.outputText();
> 135 | expect(cellOutput).toBe('Hallo Notebook!');
| ^
136 | });
137 |
138 | test('Check execution count matches', async () => {
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:135:28
|
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L145
2) ../../src/tests/theia-notebook-editor.test.ts:138:9 › Theia Notebook Cell interaction › Check execution count matches
Error: expect(received).toBe(expected) // Object.is equality
Expected: "3"
Received: " "
143 | await cell.execute();
144 |
> 145 | expect(await cell.executionCount()).toBe('3');
| ^
146 | });
147 |
148 | });
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:145:45
|
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L145
2) ../../src/tests/theia-notebook-editor.test.ts:138:9 › Theia Notebook Cell interaction › Check execution count matches
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "3"
Received: " "
143 | await cell.execute();
144 |
> 145 | expect(await cell.executionCount()).toBe('3');
| ^
146 | });
147 |
148 | });
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:145:45
|
Test (playwright):
examples/playwright/src/tests/theia-notebook-editor.test.ts#L145
2) ../../src/tests/theia-notebook-editor.test.ts:138:9 › Theia Notebook Cell interaction › Check execution count matches
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "3"
Received: " "
143 | await cell.execute();
144 |
> 145 | expect(await cell.executionCount()).toBe('3');
| ^
146 | });
147 |
148 | });
at /home/runner/work/theia/theia/examples/playwright/src/tests/theia-notebook-editor.test.ts:145:45
|
Test (playwright)
Process completed with exit code 1.
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744, actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7, actions/setup-python@b64ffcaf5b410884ad320a9cfac8866006a109aa. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Test (playwright):
src/tests/theia-notebook-editor.test.ts#L1
src/tests/theia-notebook-editor.test.ts took 59.3s
|
Test (playwright):
src/tests/theia-quick-command.test.ts#L1
src/tests/theia-quick-command.test.ts took 46.7s
|
Test (playwright):
src/tests/theia-workspace.test.ts#L1
src/tests/theia-workspace.test.ts took 25.2s
|
Test (playwright):
src/tests/theia-explorer-view.test.ts#L1
src/tests/theia-explorer-view.test.ts took 19.1s
|
Test (playwright):
src/tests/theia-text-editor.test.ts#L1
src/tests/theia-text-editor.test.ts took 18.4s
|
Test (playwright)
2 failed
../../src/tests/theia-notebook-editor.test.ts:129:9 › Theia Notebook Cell interaction › Execute code cell and read output
../../src/tests/theia-notebook-editor.test.ts:138:9 › Theia Notebook Cell interaction › Check execution count matches
1 skipped
83 passed (6.0m)
|
Loading