Skip to content

Fix tests

Fix tests #1422

Triggered via pull request October 8, 2023 00:16
Status Failure
Total duration 47m 51s
Artifacts 11

build.yml

on: pull_request
initialize
3s
initialize
Matrix: build_js
Matrix: build_pyodide
Matrix: lint_python
Matrix: build_python
Matrix: benchmark_js
Matrix: test_js
Matrix: benchmark_python
Matrix: test_js_and_python
Matrix: test_python
Matrix: test_python_sdist
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 9 warnings, and 2 notices
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling: rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L176
1) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling TimeoutError: locator.click: Timeout 100ms exceeded. =========================== logs =========================== waiting for locator('perspective-viewer').locator('#active-columns :not(.top-panel) .column-selector-column').filter({ has: locator('.string') }).first().locator('div .expression-edit-button') locator resolved to <span class="expression-edit-button"></span> 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 performing click action ============================================================ 174 | 175 | let col = await view.getOrCreateColumnByType("string"); > 176 | await col.editBtn.click({ timeout: 100 }); | ^ 177 | let name = await col.name.innerText(); 178 | expect(name).toBeTruthy(); 179 | let td = await table.getFirstCellByColumnName(name); at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:176:31
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling: rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L176
1) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 100ms exceeded. =========================== logs =========================== waiting for locator('perspective-viewer').locator('#active-columns :not(.top-panel) .column-selector-column').filter({ has: locator('.string') }).first().locator('div .expression-edit-button') locator resolved to <span class="expression-edit-button"></span> 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 ============================================================ 174 | 175 | let col = await view.getOrCreateColumnByType("string"); > 176 | await col.editBtn.click({ timeout: 100 }); | ^ 177 | let name = await col.name.innerText(); 178 | expect(name).toBeTruthy(); 179 | let td = await table.getFirstCellByColumnName(name); at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:176:31
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling: rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L176
1) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 100ms exceeded. =========================== logs =========================== waiting for locator('perspective-viewer').locator('#active-columns :not(.top-panel) .column-selector-column').filter({ has: locator('.string') }).first().locator('div .expression-edit-button') locator resolved to <span class="expression-edit-button"></span> 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 performing click action ============================================================ 174 | 175 | let col = await view.getOrCreateColumnByType("string"); > 176 | await col.editBtn.click({ timeout: 100 }); | ^ 177 | let name = await col.name.innerText(); 178 | expect(name).toBeTruthy(); 179 | let td = await table.getFirstCellByColumnName(name); at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:176:31
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode': tools/perspective-test/src/js/utils.ts#L131
2) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode' Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/perspective-test/dist/snapshots/perspective-viewer-desktop-chrome/migrate_viewer.spec.js/migrate-restore-Plugin config color mode.txt. at src/js/utils.ts:131 129 | .replace(/(min-|max-)?(width|height): *\d+\.*\d+(px)?;? */g, ""); 130 | > 131 | await expect(cleanedContents).toMatchSnapshot(snapshotPath); | ^ 132 | } 133 | 134 | export async function compareSVGContentsToSnapshot( at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/perspective-test/src/js/utils.ts:131:35) at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/migrate_viewer.spec.js:327:48
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode': tools/perspective-test/src/js/utils.ts#L131
2) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode' Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/perspective-test/dist/snapshots/perspective-viewer-desktop-chrome/migrate_viewer.spec.js/migrate-restore-Plugin config color mode.txt. at src/js/utils.ts:131 129 | .replace(/(min-|max-)?(width|height): *\d+\.*\d+(px)?;? */g, ""); 130 | > 131 | await expect(cleanedContents).toMatchSnapshot(snapshotPath); | ^ 132 | } 133 | 134 | export async function compareSVGContentsToSnapshot( at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/perspective-test/src/js/utils.ts:131:35) at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/migrate_viewer.spec.js:327:48
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode': tools/perspective-test/src/js/utils.ts#L131
2) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode' Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: A snapshot doesn't exist at /home/runner/work/perspective/perspective/tools/perspective-test/dist/snapshots/perspective-viewer-desktop-chrome/migrate_viewer.spec.js/migrate-restore-Plugin config color mode.txt, writing actual. at src/js/utils.ts:131 129 | .replace(/(min-|max-)?(width|height): *\d+\.*\d+(px)?;? */g, ""); 130 | > 131 | await expect(cleanedContents).toMatchSnapshot(snapshotPath); | ^ 132 | } 133 | 134 | export async function compareSVGContentsToSnapshot( at compareContentsToSnapshot (/home/runner/work/perspective/perspective/tools/perspective-test/src/js/utils.ts:131:35) at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/migrate_viewer.spec.js:327:48
test_js (ubuntu-20.04, 3.9, 18.x)
Process completed with exit code 1.
build_js (ubuntu-20.04, 3.9, 18.x)
No files were found with the provided path: packages/perspective-esbuild-plugin/dist. No artifacts will be uploaded.
build_js (ubuntu-20.04, 3.9, 18.x)
No files were found with the provided path: packages/perspective-cli/dist. No artifacts will be uploaded.
build_js (ubuntu-20.04, 3.9, 18.x)
No files were found with the provided path: packages/perspective-webpack-plugin/dist. No artifacts will be uploaded.
Slow Test: [perspective-viewer-d3fc-desktop-chrome] › src/js/simple_viewer_tests.ts#L1
[perspective-viewer-d3fc-desktop-chrome] › src/js/simple_viewer_tests.ts took 3.6m
Slow Test: packages/perspective/test/js/leaks.spec.js#L1
packages/perspective/test/js/leaks.spec.js took 1.1m
Slow Test: rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L1
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts took 48.1s
Slow Test: rust/perspective-viewer/test/js/leaks.spec.js#L1
rust/perspective-viewer/test/js/leaks.spec.js took 33.2s
Slow Test: rust/perspective-viewer/test/js/expressions.spec.js#L1
rust/perspective-viewer/test/js/expressions.spec.js took 24.5s
Slow Test: packages/perspective-jupyterlab/dist/esm/packages/perspective-jupyterlab/test/jupyter/utils.js#L1
packages/perspective-jupyterlab/dist/esm/packages/perspective-jupyterlab/test/jupyter/utils.js took 1.9m
🎭 Playwright Run Summary
2 failed [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:171:13 › Datagrid Column Styles › String styling [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/migrate_viewer.spec.js:301:17 › Migrate Viewer › migrate › restore 'Plugin config color mode' 42 skipped 1261 passed (9.7m)
🎭 Playwright Run Summary
11 passed (2.0m)

Artifacts

Produced during runtime
Name Size
labextension-dist Expired
4.08 MB
nbextension-dist Expired
10.5 MB
perspective-dist Expired
11.3 MB
perspective-jupyterlab-dist Expired
9.05 MB
perspective-python-dist-pyodide Expired
2.32 MB
perspective-python-dist-ubuntu-20.04-3.9 Expired
38.3 MB
perspective-viewer-d3fc-dist Expired
11.2 MB
perspective-viewer-datagrid-dist Expired
936 KB
perspective-viewer-dist Expired
3.49 MB
perspective-viewer-openlayers-dist Expired
2.22 MB
perspective-workspace-dist Expired
5.42 MB