Add index()
, col()
, and vlookup()
to ExprTk
#1414
build.yml
on: pull_request
initialize
3s
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
Annotations
12 errors, 8 warnings, and 1 notice
build_pyodide (ubuntu-20.04)
Process completed with exit code 1.
|
[perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression:
packages/perspective/test/js/expressions/functionality.spec.js#L435
1) [perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression
Error: expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 4
Array [
- 16.5,
- 30,
- 42,
- 54,
+ 0,
+ 0,
+ 0,
+ 0,
]
433 | `switch { case "w" > 2: (sqrt(144) * "w"); case "y" == 'a': (sqrt(121) * "w"); default: "x"; }`
434 | ]
> 435 | ).toEqual([16.5, 30, 42, 54]);
| ^
436 |
437 | await view.delete();
438 | await table.delete();
at /home/runner/work/perspective/perspective/packages/perspective/test/js/expressions/functionality.spec.js:435:19
|
[perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression:
packages/perspective/test/js/expressions/functionality.spec.js#L435
1) [perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 4
Array [
- 16.5,
- 30,
- 42,
- 54,
+ 0,
+ 0,
+ 0,
+ 0,
]
433 | `switch { case "w" > 2: (sqrt(144) * "w"); case "y" == 'a': (sqrt(121) * "w"); default: "x"; }`
434 | ]
> 435 | ).toEqual([16.5, 30, 42, 54]);
| ^
436 |
437 | await view.delete();
438 | await table.delete();
at /home/runner/work/perspective/perspective/packages/perspective/test/js/expressions/functionality.spec.js:435:19
|
[perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression:
packages/perspective/test/js/expressions/functionality.spec.js#L435
1) [perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 4
Array [
- 16.5,
- 30,
- 42,
- 54,
+ 0,
+ 0,
+ 0,
+ 0,
]
433 | `switch { case "w" > 2: (sqrt(144) * "w"); case "y" == 'a': (sqrt(121) * "w"); default: "x"; }`
434 | ]
> 435 | ).toEqual([16.5, 30, 42, 54]);
| ^
436 |
437 | await view.delete();
438 | await table.delete();
at /home/runner/work/perspective/perspective/packages/perspective/test/js/expressions/functionality.spec.js:435:19
|
[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
2) [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
2) [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
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
2) [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/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling:
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L160
3) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling
TimeoutError: locator.click: Timeout 100ms exceeded.
=========================== logs ===========================
waiting for locator('perspective-viewer').locator('#column_settings_sidebar').locator('.style_contents').locator('input[type=checkbox]:not(:disabled)').first()
locator resolved to <input type="checkbox"/>
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
click action done
waiting for scheduled navigations to finish
============================================================
158 | );
159 | await checkbox.waitFor();
> 160 | await checkbox.click({ timeout: 100 });
| ^
161 | expect(await listener()).toBe(true);
162 | let newStyle = await td.evaluate((node) => {
163 | console.log(node.innerHTML, node.style.cssText);
at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:160:28
|
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling:
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L160
3) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 100ms exceeded.
=========================== logs ===========================
waiting for locator('perspective-viewer').locator('#column_settings_sidebar').locator('.style_contents').locator('input[type=checkbox]:not(:disabled)').first()
locator resolved to <input type="checkbox"/>
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
click action done
waiting for scheduled navigations to finish
============================================================
158 | );
159 | await checkbox.waitFor();
> 160 | await checkbox.click({ timeout: 100 });
| ^
161 | expect(await listener()).toBe(true);
162 | let newStyle = await td.evaluate((node) => {
163 | console.log(node.innerHTML, node.style.cssText);
at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:160:28
|
[perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling:
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L160
3) [perspective-viewer-desktop-chrome] › ../../rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 100ms exceeded.
=========================== logs ===========================
waiting for locator('perspective-viewer').locator('#column_settings_sidebar').locator('.style_contents').locator('input[type=checkbox]:not(:disabled)').first()
locator resolved to <input type="checkbox"/>
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
click action done
waiting for scheduled navigations to finish
============================================================
158 | );
159 | await checkbox.waitFor();
> 160 | await checkbox.click({ timeout: 100 });
| ^
161 | expect(await listener()).toBe(true);
162 | let newStyle = await td.evaluate((node) => {
163 | console.log(node.innerHTML, node.style.cssText);
at /home/runner/work/perspective/perspective/rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts:160:28
|
test_js (ubuntu-20.04, 3.9, 18.x)
Process completed with exit code 1.
|
build_python (ubuntu-20.04, 3.9, 2014, 18.x, false, false)
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.2m
|
Slow Test:
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts#L1
rust/perspective-viewer/test/js/column_settings/datagrid.spec.ts took 58.2s
|
Slow Test:
packages/perspective/test/js/leaks.spec.js#L1
packages/perspective/test/js/leaks.spec.js took 54.8s
|
Slow Test:
rust/perspective-viewer/test/js/leaks.spec.js#L1
rust/perspective-viewer/test/js/leaks.spec.js took 28.1s
|
Slow Test:
rust/perspective-viewer/test/js/expressions.spec.js#L1
rust/perspective-viewer/test/js/expressions.spec.js took 22.5s
|
🎭 Playwright Run Summary
3 failed
[perspective-node] › ../../packages/perspective/test/js/expressions/functionality.spec.js:420:13 › Expression structures › Switch › Switch on multiple columns with resulting expression
[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/column_settings/datagrid.spec.ts:133:13 › Datagrid Column Styles - Split-by › Calendar styling
47 skipped
1255 passed (8.8m)
|
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-viewer-d3fc-dist
Expired
|
11.2 MB |
|
perspective-viewer-datagrid-dist
Expired
|
936 KB |
|
perspective-viewer-dist
Expired
|
3.48 MB |
|
perspective-viewer-openlayers-dist
Expired
|
2.22 MB |
|
perspective-workspace-dist
Expired
|
5.42 MB |
|