Skip to content

Commit c9a07ad

Browse files
committed
Fix tests
1 parent 33d9bda commit c9a07ad

File tree

2 files changed

+23
-21
lines changed

2 files changed

+23
-21
lines changed

packages/perspective-viewer-d3fc/test/js/integration/events.spec.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ utils.with_server({}, () => {
3737
// Await the table load
3838
await viewer.getTable();
3939

40-
viewer.restore({
40+
await viewer.restore({
4141
plugin: "Y Line",
4242
columns: ["Sales", "Profit"],
4343
});
@@ -55,7 +55,9 @@ utils.with_server({}, () => {
5555
await page.waitForFunction(() =>
5656
document
5757
.querySelector("perspective-viewer-d3fc-yline")
58-
.shadowRoot.querySelector(".y-label")
58+
.shadowRoot.querySelector(
59+
".y-label .splitter-label"
60+
)
5961
)
6062
).asElement();
6163
await axisLabel.click(axisLabel);
@@ -85,7 +87,7 @@ utils.with_server({}, () => {
8587
// Await the table load
8688
await viewer.getTable();
8789

88-
viewer.restore({
90+
await viewer.restore({
8991
plugin: "Y Line",
9092
columns: ["Sales", "Profit"],
9193
});

packages/perspective-viewer-d3fc/test/results/results.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"__GIT_COMMIT__": "9e69fd6a64d79303a423d5390869e1cc165d1fe6",
2+
"__GIT_COMMIT__": "d776202ff728f808f1d07060e5ce73bb392402f1",
33
"area_shows_a_grid_without_any_settings_applied": "3852532b8ee6abba3373a10d41bb4df2",
44
"area_displays_visible_columns_": "919cc6f6c2a2f2ec13b90dfb60e1b7ef",
55
"area_pivot_by_a_row": "7495976cfed69cfe9db2b3fdc6ef4707",
@@ -91,19 +91,19 @@
9191
"heatmap_filters_filters_by_a_numeric_column": "b9e271668af3836baf5a5d51226910a3",
9292
"heatmap_filters_filters_by_an_alpha_column": "b9e271668af3836baf5a5d51226910a3",
9393
"heatmap_filters_filters_with__in__comparator": "b9e271668af3836baf5a5d51226910a3",
94-
"scatter_shows_a_grid_without_any_settings_applied": "afb75b167c5ea6be21c7b2121901a17f",
94+
"scatter_shows_a_grid_without_any_settings_applied": "9cbb9843a44b830cf4a324706a7bd713",
9595
"scatter_displays_visible_columns_": "0519cc65006ebd80de93362817a7ce4f",
96-
"scatter_pivot_by_a_row": "afb75b167c5ea6be21c7b2121901a17f",
97-
"scatter_pivot_by_two_rows": "afb75b167c5ea6be21c7b2121901a17f",
98-
"scatter_pivot_by_a_column": "afb75b167c5ea6be21c7b2121901a17f",
99-
"scatter_pivot_by_a_row_and_a_column": "afb75b167c5ea6be21c7b2121901a17f",
100-
"scatter_pivot_by_two_rows_and_two_columns": "afb75b167c5ea6be21c7b2121901a17f",
101-
"scatter_sort_by_a_hidden_column": "afb75b167c5ea6be21c7b2121901a17f",
102-
"scatter_sort_by_a_numeric_column": "afb75b167c5ea6be21c7b2121901a17f",
103-
"scatter_sort_by_an_alpha_column": "3a0440b79d5a068fc3e2c48b3d15a01e",
104-
"scatter_filters_filters_by_a_numeric_column": "adbc354df9b4f69db72160fcad7bde74",
105-
"scatter_filters_filters_by_an_alpha_column": "cf64a7ffdc6f150d1f535cf08679f052",
106-
"scatter_filters_filters_with__in__comparator": "16fbc02857ffd2df180274a19c51c4f2",
96+
"scatter_pivot_by_a_row": "9cbb9843a44b830cf4a324706a7bd713",
97+
"scatter_pivot_by_two_rows": "9cbb9843a44b830cf4a324706a7bd713",
98+
"scatter_pivot_by_a_column": "9cbb9843a44b830cf4a324706a7bd713",
99+
"scatter_pivot_by_a_row_and_a_column": "9cbb9843a44b830cf4a324706a7bd713",
100+
"scatter_pivot_by_two_rows_and_two_columns": "9cbb9843a44b830cf4a324706a7bd713",
101+
"scatter_sort_by_a_hidden_column": "9cbb9843a44b830cf4a324706a7bd713",
102+
"scatter_sort_by_a_numeric_column": "9cbb9843a44b830cf4a324706a7bd713",
103+
"scatter_sort_by_an_alpha_column": "01fa363fa5ef2e1aa66a77ed87e9225f",
104+
"scatter_filters_filters_by_a_numeric_column": "37fd54838ea9dead5dc441bf1e62fbb9",
105+
"scatter_filters_filters_by_an_alpha_column": "2b3728cca2c7518bb10382dd7ef0d4fd",
106+
"scatter_filters_filters_with__in__comparator": "f44f7f144f9ee4827783a9b516f2a4e3",
107107
"yscatter_shows_a_grid_without_any_settings_applied": "006aa96e87e006a01a0349f0c20ea27a",
108108
"yscatter_displays_visible_columns_": "0bff95a36d9f0a0029599bb7adcc6af8",
109109
"yscatter_pivot_by_a_row": "fb6504a26b1b859619a180b27d35f73b",
@@ -121,10 +121,10 @@
121121
"sunburst_pivot_by_two_rows": "38fe70a8f88a3e0df185f8775c88317d",
122122
"sunburst_pivot_by_a_row_and_a_column": "fa789a00c03e04567bd45a8451e7a00a",
123123
"sunburst_pivot_by_two_rows_and_two_columns": "e03658ff241f45837b9d61227bf023a4",
124-
"treemap_pivot_by_a_row": "d9e965d744906a2320148b73dc1fcb29",
125-
"treemap_pivot_by_two_rows": "28390c90695be1b38bd2a05a984dd242",
126-
"treemap_pivot_by_a_row_and_a_column": "a36877ce32fed64d1ae16807de27e9de",
127-
"treemap_pivot_by_two_rows_and_two_columns": "92203a8d4778c041836361b56ff39174",
124+
"treemap_pivot_by_a_row": "7322fa73924e688662d36558a33ddb99",
125+
"treemap_pivot_by_two_rows": "ce30c9196e830d54d4960d4f9a53ad32",
126+
"treemap_pivot_by_a_row_and_a_column": "a9ee5c25d23fff12e57b7755ca310cb5",
127+
"treemap_pivot_by_two_rows_and_two_columns": "fe5616df5b45c5b0b2f86489f7a1dc22",
128128
"treemap_shows_a_grid_without_any_settings_applied": "10d1208b485425756fcc932229386b02",
129129
"treemap_displays_visible_columns_": "10d1208b485425756fcc932229386b02",
130130
"treemap_pivot_by_a_column": "10d1208b485425756fcc932229386b02",
@@ -144,6 +144,6 @@
144144
"sunburst_filters_filters_by_an_alpha_column": "10d1208b485425756fcc932229386b02",
145145
"sunburst_filters_filters_with__in__comparator": "10d1208b485425756fcc932229386b02",
146146
"bar_rendering_bugs_correctly_render_when_a_bar_chart_has_non_equidistant_times_on_a_datetime_axis": "9e7617a454d83e328aaa3d25c8145a0e",
147-
"events_perspective-config-update_event_is_fired_when_series_axis_is_changed": "c07cb12b00fe628aba8751721f8f5498",
147+
"events_perspective-config-update_event_is_fired_when_series_axis_is_changed": "6bf8e592d3aa69e0c141a9caca01bae2",
148148
"events_perspective-config-update_event_is_fired_when_legend_position_is_changed": "c07cb12b00fe628aba8751721f8f5498"
149149
}

0 commit comments

Comments
 (0)