Mito AI: Restore chat on refresh #3479
Annotations
3 errors and 1 notice
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
1) [firefox] › streamlit_ui_tests\graph.spec.ts:94:7 › Graph Functionality › Graph from selection
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.text-button:not(.text-button-disabled)').filter({ hasText: 'Import Files' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.text-button:not(.text-button-disabled)').filter({ hasText: 'Import Files' })
at streamlit_ui_tests\utils.ts:8
6 | await page.goto('http://localhost:8555/');
7 | const mito = page.frameLocator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]');
> 8 | await expect(mito.locator('.text-button:not(.text-button-disabled)', { hasText: 'Import Files' })).toBeVisible();
| ^
9 | return mito;
10 | };
11 |
at getMitoFrame (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:8:104)
at getMitoFrameWithTestCSV (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:36:18)
at C:\a\mito\mito\tests\streamlit_ui_tests\graph.spec.ts:95:18
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
2) [firefox] › streamlit_ui_tests\graph.spec.ts:106:7 › Graph Functionality › Graph from selection with columns selected in reverse order
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.text-button:not(.text-button-disabled)').filter({ hasText: 'Import Files' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.text-button:not(.text-button-disabled)').filter({ hasText: 'Import Files' })
at streamlit_ui_tests\utils.ts:8
6 | await page.goto('http://localhost:8555/');
7 | const mito = page.frameLocator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]');
> 8 | await expect(mito.locator('.text-button:not(.text-button-disabled)', { hasText: 'Import Files' })).toBeVisible();
| ^
9 | return mito;
10 | };
11 |
at getMitoFrame (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:8:104)
at getMitoFrameWithTestCSV (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:36:18)
at C:\a\mito\mito\tests\streamlit_ui_tests\graph.spec.ts:107:18
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L29
2) [firefox] › streamlit_ui_tests\graph.spec.ts:106:7 › Graph Functionality › Graph from selection with columns selected in reverse order
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.tab')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.tab')
8 × locator resolved to 0 elements
- unexpected value "0"
at streamlit_ui_tests\utils.ts:29
27 |
28 | // Wait until the number of tabs has increased by 1
> 29 | await expect(mito.locator('.tab')).toHaveCount(tabCount + 1);
| ^
30 |
31 | await awaitResponse(page);
32 | await closeTaskpane(mito);
at importCSV (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:29:40)
at getMitoFrameWithTestCSV (C:\a\mito\mito\tests\streamlit_ui_tests\utils.ts:37:5)
at C:\a\mito\mito\tests\streamlit_ui_tests\graph.spec.ts:107:18
|
Start a server and run tests (windows)
2 flaky
[firefox] › streamlit_ui_tests\graph.spec.ts:94:7 › Graph Functionality › Graph from selection ─
[firefox] › streamlit_ui_tests\graph.spec.ts:106:7 › Graph Functionality › Graph from selection with columns selected in reverse order
42 passed (2.4m)
|
Loading