From 5bb07851d1538b14eba9c34606892f2cf8b36510 Mon Sep 17 00:00:00 2001 From: jinzisen Date: Wed, 15 Jan 2025 18:19:26 +0800 Subject: [PATCH] test(series):mismatched dimension index when canOmitUnusedDimensions is true --- test/runTest/actions/__meta__.json | 1 + .../actions/series-omitUnusedDimensions.json | 1 + test/series-omitUnusedDimensions.html | 221 ++++++++++++++++++ 3 files changed, 223 insertions(+) create mode 100644 test/runTest/actions/series-omitUnusedDimensions.json create mode 100644 test/series-omitUnusedDimensions.html diff --git a/test/runTest/actions/__meta__.json b/test/runTest/actions/__meta__.json index 3a9a4d28cd..41c40c69f6 100644 --- a/test/runTest/actions/__meta__.json +++ b/test/runTest/actions/__meta__.json @@ -177,6 +177,7 @@ "scatter-random-stream-fix-axis": 1, "scatter-single-axis": 2, "scatterMatrix": 3, + "series-omitUnusedDimensions": 1, "setOption": 2, "splitLine": 1, "stackBar-dataZoom": 7, diff --git a/test/runTest/actions/series-omitUnusedDimensions.json b/test/runTest/actions/series-omitUnusedDimensions.json new file mode 100644 index 0000000000..b672a7a166 --- /dev/null +++ b/test/runTest/actions/series-omitUnusedDimensions.json @@ -0,0 +1 @@ +[{"name":"Action 1","ops":[{"type":"mousemove","time":775,"x":179,"y":106},{"type":"mousemove","time":975,"x":181,"y":133},{"type":"mousemove","time":1175,"x":180,"y":186},{"type":"mousemove","time":1375,"x":180,"y":189},{"type":"screenshot","time":2140},{"type":"mousedown","time":2725,"x":180,"y":189},{"type":"mouseup","time":2839,"x":180,"y":189},{"time":2840,"delay":400,"type":"screenshot-auto"},{"type":"screenshot","time":4155},{"type":"mousemove","time":4712,"x":180,"y":191},{"type":"mousemove","time":4912,"x":186,"y":248},{"type":"mousemove","time":5112,"x":186,"y":300},{"type":"mousemove","time":5312,"x":186,"y":309},{"type":"screenshot","time":6300},{"type":"mousedown","time":6901,"x":186,"y":309},{"type":"mouseup","time":7011,"x":186,"y":309},{"time":7012,"delay":400,"type":"screenshot-auto"},{"type":"screenshot","time":8123},{"type":"mousemove","time":8732,"x":187,"y":309},{"type":"mousemove","time":8932,"x":317,"y":328},{"type":"mousemove","time":9132,"x":372,"y":330},{"type":"mousemove","time":9336,"x":382,"y":327},{"type":"screenshot","time":12129},{"type":"mousemove","time":13385,"x":382,"y":327},{"type":"mousemove","time":13586,"x":385,"y":346},{"type":"mousemove","time":13786,"x":386,"y":367},{"type":"mousemove","time":13986,"x":387,"y":369},{"type":"mousemove","time":14186,"x":387,"y":369},{"type":"screenshot","time":15386},{"type":"mousemove","time":16505,"x":387,"y":369},{"type":"mousedown","time":16543,"x":387,"y":369},{"type":"mouseup","time":16642,"x":387,"y":369},{"time":16643,"delay":400,"type":"screenshot-auto"},{"type":"screenshot","time":17627},{"type":"mousemove","time":19440,"x":387,"y":369}],"scrollY":0,"scrollX":0,"timestamp":1736936098873}] \ No newline at end of file diff --git a/test/series-omitUnusedDimensions.html b/test/series-omitUnusedDimensions.html new file mode 100644 index 0000000000..7fdf898517 --- /dev/null +++ b/test/series-omitUnusedDimensions.html @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + +