Improve the test execution #1
ui-tests.yml
on: pull_request
Integration tests jupyterlab
11m 2s
Integration tests notebook
6m 23s
Annotations
10 errors, 1 warning, and 2 notices
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata:
ui-tests/tests/chat-file.spec.ts#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Test timeout of 60000ms exceeded.
|
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata:
ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4#L1
1) tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ────────────────
Error: proxy.evaluate: Error: Invalid response: 404 Not Found
at i.create (http://localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098)
at async m.get (http://localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887)
at async eval (eval at evaluate (:226:30), <anonymous>:2:12)
at async <anonymous>:252:30
at i.create (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1432098)
at async m.get (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/http:/localhost:8888/static/lab/jlab_core.9ae09eead5139c587af4.js?v=9ae09eead5139c587af4:1:1376887)
at async eval (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/eval at evaluate (:226:30), <anonymous>:2:12)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/async <anonymous>:252:30
at readFileContent (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:32:21)
at hasId (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/chat-file.spec.ts:173:27)
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should set the message as deleted:
ui-tests/tests/message-toolbar.spec.ts#L1
2) tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should set the message as deleted ─────
Test timeout of 60000ms exceeded.
|
tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should set the message as deleted:
ui-tests/tests/message-toolbar.spec.ts#L140
2) tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should set the message as deleted ─────
Error: locator.hover: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-messages-container .jp-chat-message').first().locator('.jp-chat-rendered-markdown')
138 |
139 | // Should display the message toolbar
> 140 | await messageContent.hover({ position: { x: 5, y: 5 } });
| ^
141 | await messageContent.locator('.jp-chat-toolbar jp-button').last().click();
142 |
143 | await expect(messageContent).not.toBeVisible();
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/message-toolbar.spec.ts:140:26
|
tests/raw-time.spec.ts:75:7 › #raw_time › time for new message should not be raw:
ui-tests/tests/raw-time.spec.ts#L1
3) tests/raw-time.spec.ts:75:7 › #raw_time › time for new message should not be raw ──────────────
Test timeout of 60000ms exceeded.
|
tests/raw-time.spec.ts:75:7 › #raw_time › time for new message should not be raw:
ui-tests/tests/test-utils.ts#L107
3) tests/raw-time.spec.ts:75:7 › #raw_time › time for new message should not be raw ──────────────
Error: locator.click: Test timeout of 60000ms exceeded.
Call log:
- waiting for getByRole('main').getByRole('tabpanel', { name: 'my-chat.chat' }).locator('.jp-chat-input-container .jp-chat-send-button')
- locator resolved to <button tabindex="0" type="button" title="Send message (…>…</button>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #1
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #2
- waiting 20ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #3
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #4
- waiting 100ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #5
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #6
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #7
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #8
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #9
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #10
- waiting 500ms
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- <div tabindex="-1" class="lm-Widget jp-Spinner">…</div> intercepts pointer events
- retrying click action, attempt #1
|
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user:
ui-tests/tests/ui-config.spec.ts#L1
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Test timeout of 60000ms exceeded.
|
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user:
ui-tests/tests/test-utils.ts#L51
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Error: locator.isChecked: Target page, context or browser has been closed
at tests/test-utils.ts:51
49 | const tabName = splitPath[splitPath.length - 1];
50 | await page.waitForCondition(
> 51 | async () => await page.activity.isTabActive(tabName)
| ^
52 | );
53 | panel = await page.activity.getPanelLocator(tabName);
54 |
at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user:
ui-tests/tests/ui-config.spec.ts#L1
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 60000ms exceeded.
|
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user:
ui-tests/tests/test-utils.ts#L51
4) tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ──────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.isChecked: Target page, context or browser has been closed
at tests/test-utils.ts:51
49 | const tabName = splitPath[splitPath.length - 1];
50 | await page.waitForCondition(
> 51 | async () => await page.activity.isTabActive(tabName)
| ^
52 | );
53 | panel = await page.activity.getPanelLocator(tabName);
54 |
at Object.isInSimpleMode (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:311:17)
at ActivityHelper.isTabActive (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/helpers/activity.ts:46:21)
at /home/runner/work/jupyter-chat/jupyter-chat/ui-tests/tests/test-utils.ts:51:37
at Timeout.check (/home/runner/work/jupyter-chat/jupyter-chat/ui-tests/node_modules/@jupyterlab/galata/src/utils.ts:183:33)
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "integration-jupyterlab", "integration-notebook".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
2 passed (12.2s)
|
🎭 Playwright Run Summary
4 flaky
tests/chat-file.spec.ts:166:7 › #ychat › should add an id to the chat metadata ─────────────────
tests/message-toolbar.spec.ts:132:7 › #messageToolbar › should set the message as deleted ──────
tests/raw-time.spec.ts:75:7 › #raw_time › time for new message should not be raw ───────────────
tests/ui-config.spec.ts:198:7 › #typingNotification › should display typing user ───────────────
84 passed (7.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-jupyterlab
|
14.6 MB |
|
integration-notebook
|
436 KB |
|