Refactor <perspective-viewer> and add tests
#1592
Annotations
3 errors, 1 warning, and 1 notice
|
|
|
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
|
|
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
|
|
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/
|
|
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)
|
The logs for this run have expired and are no longer available.
Loading