chore: update the tests and hierarchy #486
Annotations
2 errors, 2 warnings, and 1 notice
Run the tests:
tests/e2e/specs/chart-sources.spec.js#L20
1) [chromium] › chart-sources.spec.js:14:5 › Data Free Sources › import a local CSV file ─────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for frameLocator('iframe').getByRole('button', { name: 'Next' })
- locator resolved to <input value="Next" type="submit" class="button button-…/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element was detached from the DOM, retrying
18 |
19 | await selectChartAdmin( page.frameLocator('iframe'), CHART_JS_LABELS.pie );
> 20 | await page.frameLocator('iframe').getByRole('button', { name: 'Next' }).click();
| ^
21 |
22 | // Upload the CSV file
23 | await expect( page.frameLocator('iframe').locator('#csv-file') ).toBeVisible();
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/chart-sources.spec.js:20:81
|
Run the tests:
tests/e2e/specs/chart-sources.spec.js#L20
1) [chromium] › chart-sources.spec.js:14:5 › Data Free Sources › import a local CSV file ─────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 5000ms exceeded.
Call log:
- waiting for frameLocator('iframe').getByRole('button', { name: 'Next' })
- locator resolved to <input value="Next" type="submit" class="button button-…/>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
18 |
19 | await selectChartAdmin( page.frameLocator('iframe'), CHART_JS_LABELS.pie );
> 20 | await page.frameLocator('iframe').getByRole('button', { name: 'Next' }).click();
| ^
21 |
22 | // Upload the CSV file
23 | await expect( page.frameLocator('iframe').locator('#csv-file') ).toBeVisible();
at /home/runner/work/visualizer/visualizer/tests/e2e/specs/chart-sources.spec.js:20:81
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run the tests
1 flaky
[chromium] › chart-sources.spec.js:14:5 › Data Free Sources › import a local CSV file ──────────
14 passed (59.9s)
|
Loading