Skip to content

Refactor <perspective-viewer> and add tests #1592

Refactor <perspective-viewer> and add tests

Refactor <perspective-viewer> and add tests #1592

Re-run triggered March 17, 2026 03:07
Status Failure
Total duration 6m 30s
Artifacts 6

build.yaml

on: pull_request
Matrix: lint_and_docs
Matrix: build_js
Matrix: build_python
Matrix: build_and_test_rust
Matrix: build_emscripten_wheel
Matrix: benchmark_js
Matrix: test_js
Matrix: build_and_test_jupyterlab
Matrix: benchmark_python
Matrix: test_python
Matrix: test_emscripten_wheel
Matrix: test_python_sdist
Matrix: publish
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 1 warning, and 1 notice
test_js (ubuntu-22.04, 3.11, 22.x)
Process completed with exit code 1.
[viewer-datagrid-desktop-chrome] › packages/viewer-datagrid/test/js/superstore.spec.js:124:5 › Datagrid with superstore data set › An editable datagrid is editable through mouse interaction: packages/viewer-datagrid/test/js/superstore.spec.js#L163
2) [viewer-datagrid-desktop-chrome] › packages/viewer-datagrid/test/js/superstore.spec.js:124:5 › Datagrid with superstore data set › An editable datagrid is editable through mouse interaction Error: expect(received).toEqual(expected) // deep equality Expected: "[{\"State\":\"Test\",\"City\":\"Henderson\",\"Customer ID\":\"CG-12520\"},{\"State\":\"Kentucky\",\"City\":\"Henderson\",\"Customer ID\":\"CG-12520\"},{\"State\":\"California\",\"City\":\"Los Angeles\",\"Customer ID\":\"DV-13045\"},{\"State\":\"Florida\",\"City\":\"Fort Lauderdale\",\"Customer ID\":\"SO-20335\"}]" Received: "[{\"State\":\"Kentucky\",\"City\":\"Henderson\",\"Customer ID\":\"CG-12520\"},{\"State\":\"Kentucky\",\"City\":\"Henderson\",\"Customer ID\":\"CG-12520\"},{\"State\":\"California\",\"City\":\"Los Angeles\",\"Customer ID\":\"DV-13045\"},{\"State\":\"Florida\",\"City\":\"Fort Lauderdale\",\"Customer ID\":\"SO-20335\"}]" 161 | }); 162 | > 163 | test.expect(result).toEqual( | ^ 164 | '[{"State":"Test","City":"Henderson","Customer ID":"CG-12520"},{"State":"Kentucky","City":"Henderson","Customer ID":"CG-12520"},{"State":"California","City":"Los Angeles","Customer ID":"DV-13045"},{"State":"Florida","City":"Fort Lauderdale","Customer ID":"SO-20335"}]', 165 | ); 166 | }); at /home/runner/work/perspective/perspective/packages/viewer-datagrid/test/js/superstore.spec.js:163:29
[viewer-desktop-chrome] › rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts:188:5 › Column Settings Sidebar › tabs > preserves selected tab when toggling and saving expression: rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts#L36
1) [viewer-desktop-chrome] › rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts:188:5 › Column Settings Sidebar › tabs > preserves selected tab when toggling and saving expression Error: expect(received).toBe(expected) // Object.is equality Expected: "Style" Received: "Attributes" 34 | if (expression) { 35 | if (hasStyles) { > 36 | expect(await titles[0].getAttribute("id")).toBe("Style"); | ^ 37 | expect(await titles[1].getAttribute("id")).toBe("Attributes"); 38 | } else { 39 | expect(await titles[0].getAttribute("id")).toBe("Attributes"); at checkTab (/home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts:36:60) at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts:212:9
test_js (ubuntu-22.04, 3.11, 22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/download-artifact@v4, actions/setup-node@v4, jwlawson/actions-setup-cmake@v2, pnpm/action-setup@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
2 failed [viewer-desktop-chrome] › rust/perspective-viewer/test/js/column_settings/sidebar.spec.ts:188:5 › Column Settings Sidebar › tabs > preserves selected tab when toggling and saving expression [viewer-datagrid-desktop-chrome] › packages/viewer-datagrid/test/js/superstore.spec.js:124:5 › Datagrid with superstore data set › An editable datagrid is editable through mouse interaction 112 skipped 1562 passed (4.6m)