fix: visualizer getCSV method throwing constant errors #1263
+2,037
−97
Annotations
7 errors and 1 notice
|
Run the tests
Process completed with exit code 1.
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L66
2) [chromium] › gutenberg-editor.spec.js:54:5 › Charts with Gutenberg Editor › insert an existing chart
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Done' })
64 | expect( page.getByLabel('Block: Visualizer Chart').getByText('Visualizer') ).not.toBeNull();
65 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 66 | await page.getByRole('button', { name: 'Done' }).click();
| ^
67 |
68 | // Check if the Chart did not crash the editor.
69 | expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:66:58
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L66
2) [chromium] › gutenberg-editor.spec.js:54:5 › Charts with Gutenberg Editor › insert an existing chart
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Done' })
64 | expect( page.getByLabel('Block: Visualizer Chart').getByText('Visualizer') ).not.toBeNull();
65 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 66 | await page.getByRole('button', { name: 'Done' }).click();
| ^
67 |
68 | // Check if the Chart did not crash the editor.
69 | expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:66:58
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L66
2) [chromium] › gutenberg-editor.spec.js:54:5 › Charts with Gutenberg Editor › insert an existing chart
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Done' })
64 | expect( page.getByLabel('Block: Visualizer Chart').getByText('Visualizer') ).not.toBeNull();
65 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 66 | await page.getByRole('button', { name: 'Done' }).click();
| ^
67 |
68 | // Check if the Chart did not crash the editor.
69 | expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:66:58
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L46
1) [chromium] › gutenberg-editor.spec.js:31:5 › Charts with Gutenberg Editor › new chart creation
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Done' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Done' })
44 | await expect( page.getByRole('button', { name: 'Save', exact: true }) ).toBeVisible();
45 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 46 | await expect( page.getByRole('button', { name: 'Done' }) ).toBeVisible();
| ^
47 | await page.getByRole('button', { name: 'Done' }).click();
48 |
49 | await expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:46:68
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L46
1) [chromium] › gutenberg-editor.spec.js:31:5 › Charts with Gutenberg Editor › new chart creation
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Done' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Done' })
44 | await expect( page.getByRole('button', { name: 'Save', exact: true }) ).toBeVisible();
45 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 46 | await expect( page.getByRole('button', { name: 'Done' }) ).toBeVisible();
| ^
47 | await page.getByRole('button', { name: 'Done' }).click();
48 |
49 | await expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:46:68
|
|
Run the tests:
tests/e2e/specs/gutenberg-editor.spec.js#L46
1) [chromium] › gutenberg-editor.spec.js:31:5 › Charts with Gutenberg Editor › new chart creation
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Done' })
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('button', { name: 'Done' })
44 | await expect( page.getByRole('button', { name: 'Save', exact: true }) ).toBeVisible();
45 | await page.getByRole('button', { name: 'Save', exact: true }).click();
> 46 | await expect( page.getByRole('button', { name: 'Done' }) ).toBeVisible();
| ^
47 | await page.getByRole('button', { name: 'Done' }).click();
48 |
49 | await expect( page.locator('.wp-block-visualizer-chart').count() ).resolves.toBe( 1 );
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/gutenberg-editor.spec.js:46:68
|
|
Run the tests
2 failed
[chromium] › gutenberg-editor.spec.js:31:5 › Charts with Gutenberg Editor › new chart creation ─
[chromium] › gutenberg-editor.spec.js:54:5 › Charts with Gutenberg Editor › insert an existing chart
24 passed (2.7m)
|
Loading