Mito AI: Restore chat on refresh #3461
Annotations
10 errors and 1 notice
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L180
1) [firefox] › streamlit_ui_tests/graph.spec.ts:165:7 › Graph Functionality › Close Select Data taskpane then open it again and make an edit
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
Expected string: "variableColumn1Column2"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
178 |
179 | // Check that the graph has been updated by checking the legend
> 180 | await expect(mito.locator('.legend')).toHaveText('variableColumn1Column2');
| ^
181 | });
182 |
183 | test('Can scroll in the select data taskpane', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:180:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L180
1) [firefox] › streamlit_ui_tests/graph.spec.ts:165:7 › Graph Functionality › Close Select Data taskpane then open it again and make an edit
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
Expected string: "variableColumn1Column2"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
178 |
179 | // Check that the graph has been updated by checking the legend
> 180 | await expect(mito.locator('.legend')).toHaveText('variableColumn1Column2');
| ^
181 | });
182 |
183 | test('Can scroll in the select data taskpane', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:180:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L180
1) [firefox] › streamlit_ui_tests/graph.spec.ts:165:7 › Graph Functionality › Close Select Data taskpane then open it again and make an edit
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
Expected string: "variableColumn1Column2"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
178 |
179 | // Check that the graph has been updated by checking the legend
> 180 | await expect(mito.locator('.legend')).toHaveText('variableColumn1Column2');
| ^
181 | });
182 |
183 | test('Can scroll in the select data taskpane', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:180:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L180
1) [firefox] › streamlit_ui_tests/graph.spec.ts:165:7 › Graph Functionality › Close Select Data taskpane then open it again and make an edit
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveText(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
Expected string: "variableColumn1Column2"
Received: <element(s) not found>
Call log:
- expect.toHaveText with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('.legend')
178 |
179 | // Check that the graph has been updated by checking the legend
> 180 | await expect(mito.locator('.legend')).toHaveText('variableColumn1Column2');
| ^
181 | });
182 |
183 | test('Can scroll in the select data taskpane', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:180:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L219
2) [firefox] › streamlit_ui_tests/graph.spec.ts:204:7 › Graph Functionality › Make a histogram and change the histogram specific configurations
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
Expected: 6
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
9 × locator resolved to 0 elements
- unexpected value "0"
217 | // so we're checking that there are initially 3 bars (and 3 bars in the range slider), then when
218 | // we change the bin size to 1, there are 2 bars (and 2 bars in the range slider)
> 219 | await expect(mito.locator('g.point')).toHaveCount(6);
| ^
220 | await mito.locator('.mito-graph-configuration-container').locator('input[type="number"]').fill('1');
221 | await awaitResponse(page);
222 | await expect(mito.locator('g.point')).toHaveCount(4);
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:219:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L219
2) [firefox] › streamlit_ui_tests/graph.spec.ts:204:7 › Graph Functionality › Make a histogram and change the histogram specific configurations
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
Expected: 6
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
9 × locator resolved to 0 elements
- unexpected value "0"
217 | // so we're checking that there are initially 3 bars (and 3 bars in the range slider), then when
218 | // we change the bin size to 1, there are 2 bars (and 2 bars in the range slider)
> 219 | await expect(mito.locator('g.point')).toHaveCount(6);
| ^
220 | await mito.locator('.mito-graph-configuration-container').locator('input[type="number"]').fill('1');
221 | await awaitResponse(page);
222 | await expect(mito.locator('g.point')).toHaveCount(4);
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:219:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L219
2) [firefox] › streamlit_ui_tests/graph.spec.ts:204:7 › Graph Functionality › Make a histogram and change the histogram specific configurations
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
Expected: 6
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
9 × locator resolved to 0 elements
- unexpected value "0"
217 | // so we're checking that there are initially 3 bars (and 3 bars in the range slider), then when
218 | // we change the bin size to 1, there are 2 bars (and 2 bars in the range slider)
> 219 | await expect(mito.locator('g.point')).toHaveCount(6);
| ^
220 | await mito.locator('.mito-graph-configuration-container').locator('input[type="number"]').fill('1');
221 | await awaitResponse(page);
222 | await expect(mito.locator('g.point')).toHaveCount(4);
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:219:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L219
2) [firefox] › streamlit_ui_tests/graph.spec.ts:204:7 › Graph Functionality › Make a histogram and change the histogram specific configurations
Retry #3 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
Expected: 6
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('g.point')
9 × locator resolved to 0 elements
- unexpected value "0"
217 | // so we're checking that there are initially 3 bars (and 3 bars in the range slider), then when
218 | // we change the bin size to 1, there are 2 bars (and 2 bars in the range slider)
> 219 | await expect(mito.locator('g.point')).toHaveCount(6);
| ^
220 | await mito.locator('.mito-graph-configuration-container').locator('input[type="number"]').fill('1');
221 | await awaitResponse(page);
222 | await expect(mito.locator('g.point')).toHaveCount(4);
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:219:43
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L236
3) [firefox] › streamlit_ui_tests/graph.spec.ts:225:7 › Graph Functionality › Make a box plot and change the box plot specific configurations
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('path.point')
Expected: 8
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('path.point')
9 × locator resolved to 0 elements
- unexpected value "0"
234 | await mito.locator('.mito-dropdown-item', { hasText: 'all' }).click();
235 | await awaitResponse(page);
> 236 | await expect(mito.locator('path.point')).toHaveCount(8);
| ^
237 | });
238 |
239 | test('Switch between graph and data tab', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:236:46
|
Start a server and run tests (ubuntu, macos):
tests/streamlit_ui_tests/graph.spec.ts#L236
3) [firefox] › streamlit_ui_tests/graph.spec.ts:225:7 › Graph Functionality › Make a box plot and change the box plot specific configurations
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('path.point')
Expected: 8
Received: 0
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('iframe[title="mitosheet\\.streamlit\\.v1\\.spreadsheet\\.my_component"]').contentFrame().locator('path.point')
9 × locator resolved to 0 elements
- unexpected value "0"
234 | await mito.locator('.mito-dropdown-item', { hasText: 'all' }).click();
235 | await awaitResponse(page);
> 236 | await expect(mito.locator('path.point')).toHaveCount(8);
| ^
237 | });
238 |
239 | test('Switch between graph and data tab', async ({ page }) => {
at /home/runner/work/mito/mito/tests/streamlit_ui_tests/graph.spec.ts:236:46
|
Start a server and run tests (ubuntu, macos)
5 failed
[firefox] › streamlit_ui_tests/graph.spec.ts:165:7 › Graph Functionality › Close Select Data taskpane then open it again and make an edit
[firefox] › streamlit_ui_tests/graph.spec.ts:204:7 › Graph Functionality › Make a histogram and change the histogram specific configurations
[firefox] › streamlit_ui_tests/graph.spec.ts:225:7 › Graph Functionality › Make a box plot and change the box plot specific configurations
[firefox] › streamlit_ui_tests/graph.spec.ts:253:7 › Graph Functionality › Update graph when data changes
[firefox] › streamlit_ui_tests/graph.spec.ts:465:7 › Graph Functionality › Hide and show gridlines
39 passed (4.7m)
|
Loading