diff --git a/test/e2e/tests/config_tests.json b/test/e2e/tests/config_tests.json index 658815ced..62b1b65bb 100644 --- a/test/e2e/tests/config_tests.json +++ b/test/e2e/tests/config_tests.json @@ -45,9 +45,6 @@ }, "dimension_axis_density": { "refs": ["9b330fb"] - }, - "x_axis_label_autorotate": { - "refs": ["1dc0fcf"] } } } diff --git a/test/e2e/tests/style_tests.json b/test/e2e/tests/style_tests.json index dcb04f7ad..0ed072249 100644 --- a/test/e2e/tests/style_tests.json +++ b/test/e2e/tests/style_tests.json @@ -1026,6 +1026,9 @@ }, "plot/yAxis/ticks/position/static_outside": { "refs": ["aabb1c2"] + }, + "plot/xAxis/label/autorotate": { + "refs": ["1dc0fcf"] } } } diff --git a/test/e2e/tests/config_tests/x_axis_label_autorotate.mjs b/test/e2e/tests/style_tests/plot/xAxis/label/autorotate.mjs similarity index 100% rename from test/e2e/tests/config_tests/x_axis_label_autorotate.mjs rename to test/e2e/tests/style_tests/plot/xAxis/label/autorotate.mjs diff --git a/test/qtest/window.cpp b/test/qtest/window.cpp index f3633b792..403dff958 100644 --- a/test/qtest/window.cpp +++ b/test/qtest/window.cpp @@ -64,27 +64,24 @@ bool Window::eventFilter(QObject *, QEvent *event) if (type == QEvent::MouseButtonPress) { auto *e = static_cast(event); const Geom::Point pos(e->x(), e->y()); - chart.getChart().onPointerDown({}, - GUI::PointerEvent(0, pos)); + chart.getChart().onPointerDown({0, pos}); return true; } if (type == QEvent::MouseButtonRelease) { auto *e = static_cast(event); const Geom::Point pos(e->x(), e->y()); - chart.getChart().onPointerUp({}, - GUI::PointerEvent(0, pos)); + chart.getChart().onPointerUp({0, pos}); return true; } if (type == QEvent::HoverMove) { auto *e = static_cast(event); const Geom::Point pos(e->pos().x(), e->pos().y()); - chart.getChart().onPointerMove({}, - GUI::PointerEvent(0, pos)); + chart.getChart().onPointerMove({0, pos}); return true; } if (type == QEvent::HoverLeave) { - chart.getChart().onPointerLeave({}, - GUI::PointerEvent(0, Geom::Point::Invalid())); + chart.getChart().onPointerLeave( + {0, Geom::Point::Invalid()}); return true; } }