Update Upgrade to Pro CTAs #505
Annotations
6 errors, 1 warning, and 1 notice
Start a server and run tests:
tests/mitoai_ui_tests/notifications.spec.ts#L71
1) [chromium] › mitoai_ui_tests/notifications.spec.ts:31:9 › Mito AI status item › should show upgrade to pro notification
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.jp-toast-message')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-toast-message')
69 | await replyDone.promise;
70 |
> 71 | await expect(page.locator(".jp-toast-message")).toBeVisible();
| ^
72 | await expect(page.locator('.jp-toast-button').getByRole('button', { name: 'Upgrade to Mito Pro' })).toBeVisible();
73 | });
74 | });
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/notifications.spec.ts:71:57
|
Start a server and run tests:
tests/mitoai_ui_tests/notifications.spec.ts#L71
1) [chromium] › mitoai_ui_tests/notifications.spec.ts:31:9 › Mito AI status item › should show upgrade to pro notification
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.jp-toast-message')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-toast-message')
69 | await replyDone.promise;
70 |
> 71 | await expect(page.locator(".jp-toast-message")).toBeVisible();
| ^
72 | await expect(page.locator('.jp-toast-button').getByRole('button', { name: 'Upgrade to Mito Pro' })).toBeVisible();
73 | });
74 | });
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/notifications.spec.ts:71:57
|
Start a server and run tests:
tests/mitoai_ui_tests/notifications.spec.ts#L71
1) [chromium] › mitoai_ui_tests/notifications.spec.ts:31:9 › Mito AI status item › should show upgrade to pro notification
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.jp-toast-message')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-toast-message')
69 | await replyDone.promise;
70 |
> 71 | await expect(page.locator(".jp-toast-message")).toBeVisible();
| ^
72 | await expect(page.locator('.jp-toast-button').getByRole('button', { name: 'Upgrade to Mito Pro' })).toBeVisible();
73 | });
74 | });
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/notifications.spec.ts:71:57
|
Start a server and run tests:
tests/mitoai_ui_tests/notifications.spec.ts#L71
1) [chromium] › mitoai_ui_tests/notifications.spec.ts:31:9 › Mito AI status item › should show upgrade to pro notification
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('.jp-toast-message')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('.jp-toast-message')
69 | await replyDone.promise;
70 |
> 71 | await expect(page.locator(".jp-toast-message")).toBeVisible();
| ^
72 | await expect(page.locator('.jp-toast-button').getByRole('button', { name: 'Upgrade to Mito Pro' })).toBeVisible();
73 | });
74 | });
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/notifications.spec.ts:71:57
|
Start a server and run tests:
tests/mitoai_ui_tests/mitoAdvice.spec.ts#L62
2) [chromium] › mitoai_ui_tests/mitoAdvice.spec.ts:38:5 › should display an advice message in empty markdown cell
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: getByRole('main').locator('[role="tabpanel"][id="id-e89c7b10-3d50-4370-9bf2-b58533e1125b"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').getByRole('textbox')
Expected string: "Start writing markdown."
Received string: "Start writing markdown.print(\"Hello, World!\")"
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for getByRole('main').locator('[role="tabpanel"][id="id-e89c7b10-3d50-4370-9bf2-b58533e1125b"]').locator('.jp-NotebookPanel-notebook').first().locator('.jp-Cell[data-windowed-list-index="0"]').getByRole('textbox')
9 × locator resolved to <div tabindex="-1" translate="no" role="textbox" autocorrect="off" spellcheck="false" autocapitalize="off" aria-multiline="true" contenteditable="true" data-language="markdown" class="cm-content cm-lineWrapping">…</div>
- unexpected value "Start writing markdown.print("Hello, World!")"
60 | // Should display the advice message if cell content is erased
61 | await expect((await page.notebook.getCellLocator(0))!.getByRole('textbox'))
> 62 | .toHaveText('Start writing markdown.');
| ^
63 | });
64 |
65 | test('should not display an advice message in raw cell', async ({ page }) => {
at /home/runner/work/mito/mito/tests/mitoai_ui_tests/mitoAdvice.spec.ts:62:6
|
Start a server and run tests
Process completed with exit code 1.
|
Install dependencies
You are using a frozen webkit browser which does not receive updates anymore on ubuntu20.04-x64. Please update to the latest version of your operating system to test up-to-date browsers.
|
Start a server and run tests
1 failed
[chromium] › mitoai_ui_tests/notifications.spec.ts:31:9 › Mito AI status item › should show upgrade to pro notification
1 flaky
[chromium] › mitoai_ui_tests/mitoAdvice.spec.ts:38:5 › should display an advice message in empty markdown cell
2 skipped
26 passed (3.4m)
|
Loading