Mito AI: Restore chat on refresh #3478
Annotations
5 errors and 1 notice
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
1) [chromium] › streamlit_ui_tests\taskpanes\code_config.spec.ts:6:7 › Code Config › Configure Code to generate function with new name for function
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\taskpanes\code_config.spec.ts:7:18
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
2) [chromium] › streamlit_ui_tests\taskpanes\column_control_panel.spec.ts:27:9 › Column Control Panel › Changing dtype
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\taskpanes\column_control_panel.spec.ts:28:22
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
3) [chromium] › streamlit_ui_tests\taskpanes\file_import.spec.ts:13:7 › File Import Taskpane › Test import CSV file
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\taskpanes\file_import.spec.ts:14:18
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\utils.ts#L8
4) [chromium] › streamlit_ui_tests\taskpanes\formatting.spec.ts:5:9 › Formatting › Add a suggested style
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\taskpanes\formatting.spec.ts:6:22
|
Start a server and run tests (windows):
tests\streamlit_ui_tests\taskpanes\formatting.spec.ts#L39
5) [chromium] › streamlit_ui_tests\taskpanes\formatting.spec.ts:33:9 › Formatting › Add a custom style to rows
Error: Timed out 5000ms waiting for expect(locator).toHaveCSS(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.mito-grid-row-even').first()
Expected string: "rgb(43, 78, 238)"
Received string: "rgb(255, 255, 255)"
Call log:
- expect.toHaveCSS with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.mito-grid-row-even').first()
9 × locator resolved to <div class="mito-grid-row mito-grid-row-even ">…</div>
- unexpected value "rgb(255, 255, 255)"
37 | await mito.locator('.mito-blue-container', { hasText: 'Rows'}).click();
38 | await mito.locator('.spacing-row', { hasText: 'Even Row: Background Color' }).locator('.color-input').fill('#2b4eee');
> 39 | await expect(mito.locator('.mito-grid-row-even').first()).toHaveCSS('background-color', 'rgb(43, 78, 238)')
| ^
40 |
41 | await mito.locator('.spacing-row', { hasText: 'Even Row: Text Color' }).locator('.color-input').fill('#ffffff');
42 | await expect(mito.locator('.mito-grid-row-even').first()).toHaveCSS('color', 'rgb(255, 255, 255)')
at C:\a\mito\mito\tests\streamlit_ui_tests\taskpanes\formatting.spec.ts:39:67
|
Start a server and run tests (windows)
5 flaky
[chromium] › streamlit_ui_tests\taskpanes\code_config.spec.ts:6:7 › Code Config › Configure Code to generate function with new name for function
[chromium] › streamlit_ui_tests\taskpanes\column_control_panel.spec.ts:27:9 › Column Control Panel › Changing dtype
[chromium] › streamlit_ui_tests\taskpanes\file_import.spec.ts:13:7 › File Import Taskpane › Test import CSV file
[chromium] › streamlit_ui_tests\taskpanes\formatting.spec.ts:5:9 › Formatting › Add a suggested style
[chromium] › streamlit_ui_tests\taskpanes\formatting.spec.ts:33:9 › Formatting › Add a custom style to rows
1 skipped
33 passed (2.1m)
|
Loading