You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2020/10/28 13:58:08 UTC

[incubator-echarts] 03/03: test: fix some outdated recorded interaction

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch fix-test
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 21d0a3aadf4e4fe5f7616ae279c05b4fe7d74f7a
Author: pissang <bm...@gmail.com>
AuthorDate: Wed Oct 28 21:57:05 2020 +0800

    test: fix some outdated recorded interaction
---
 test/custom-hexbin.html                       |  8 ++++----
 test/graph.html                               | 12 ++++++++----
 test/hoverStyle.html                          |  4 ++--
 test/runTest/actions/__meta__.json            | 20 ++++++++++----------
 test/runTest/actions/appendData.json          |  2 +-
 test/runTest/actions/axis-interval2.json      |  2 +-
 test/runTest/actions/brush.json               |  2 +-
 test/runTest/actions/calendar-month.json      |  2 +-
 test/runTest/actions/clip.json                |  2 +-
 test/runTest/actions/color-mix-aqi.json       |  2 +-
 test/runTest/actions/connect-dynamic.json     |  2 +-
 test/runTest/actions/connect.json             |  2 +-
 test/runTest/actions/connect2.json            |  2 +-
 test/runTest/actions/custom-hexbin.json       |  2 +-
 test/runTest/actions/dataZoom-action.json     |  2 +-
 test/runTest/actions/dataZoom-axes.json       |  2 +-
 test/runTest/actions/dataZoom-rainfall.json   |  2 +-
 test/runTest/actions/dataZoom-scatter-hv.json |  2 +-
 test/runTest/actions/dataZoom-toolbox.json    |  2 +-
 test/runTest/actions/geo-map.json             |  2 +-
 test/runTest/actions/getOption.json           |  2 +-
 test/runTest/actions/heatmap.json             |  2 +-
 test/runTest/actions/homepage3.json           |  2 +-
 test/runTest/actions/hoverStyle.json          |  2 +-
 test/runTest/actions/legend.json              |  2 +-
 test/runTest/actions/mapWorld.json            |  2 +-
 test/runTest/actions/markArea.json            |  2 +-
 test/runTest/actions/pie-calculable.json      |  2 +-
 test/runTest/actions/scatter-single-axis.json |  2 +-
 test/runTest/client/client.js                 |  4 +---
 test/runTest/server.js                        |  4 ++--
 31 files changed, 52 insertions(+), 50 deletions(-)

diff --git a/test/custom-hexbin.html b/test/custom-hexbin.html
index 8efaa3d..910c900 100644
--- a/test/custom-hexbin.html
+++ b/test/custom-hexbin.html
@@ -323,7 +323,7 @@ under the License.
                             }]
                         };
 
-                        var width = 1000;
+                        // var width = 1000;
                         const myChart = testHelper.create(echarts, 'hexagonal-binning', {
                             option,
                             buttons: [{
@@ -346,9 +346,9 @@ under the License.
                                         }]
                                     });
                                 }
-                            }],
-                            width: width,
-                            height: width * nbaCourt.height / nbaCourt.width
+                            }]
+                            // width: width,
+                            // height: width * nbaCourt.height / nbaCourt.width
                         });
                     });
                 });
diff --git a/test/graph.html b/test/graph.html
index 80b279d..d8c4294 100644
--- a/test/graph.html
+++ b/test/graph.html
@@ -114,7 +114,9 @@ under the License.
                                         shadowColor: 'rgba(0, 0, 0, 0.3)'
                                     }
                                 },
-                                focusNodeAdjacency: true,
+                                emphasis: {
+                                    focus: 'adjacency'
+                                },
                                 // edgeSymbol: ['none', 'arrow'],
                                 // scaleLimit: {
                                 //     min: 1.5,
@@ -146,14 +148,14 @@ under the License.
                         focusNodeAdjacency: true,
                         manualFocusNodeAdjacency: function () {
                             chart.dispatchAction({
-                                type: 'focusNodeAdjacency',
+                                type: 'highlight',
                                 seriesName: 'Les Miserables',
                                 dataIndex: 2
                             });
                         },
                         manualUnfocusNodeAdjacency: function () {
                             chart.dispatchAction({
-                                type: 'unfocusNodeAdjacency',
+                                type: 'downplay',
                                 seriesName: 'Les Miserables'
                             });
                         },
@@ -179,7 +181,9 @@ under the License.
                             chart.setOption({
                                 series: [{
                                     name: 'Les Miserables',
-                                    focusNodeAdjacency: value
+                                    emphasis: {
+                                        focus: config.focusNodeAdjacency ? 'adjacency' : null
+                                    }
                                 }]
                             });
                         });
diff --git a/test/hoverStyle.html b/test/hoverStyle.html
index 245068c..1d85538 100644
--- a/test/hoverStyle.html
+++ b/test/hoverStyle.html
@@ -95,8 +95,8 @@ under the License.
                     '<span style="color:yellow">'
                         + (useHoverLayer ? 'Using HoverLayer' : 'NOT using HoverLayer')
                     + '</span>',
-                    'hoverLayerThreshold: ' + hoverLayerThreshold,
-                    'zr refresh base layer at: <span style="color:yellow">' + (zrRefreshTimestamp || null) + '</span>'
+                    'hoverLayerThreshold: ' + hoverLayerThreshold
+                    // 'zr refresh base layer at: <span style="color:yellow">' + (zrRefreshTimestamp || null) + '</span>'
                 ].join('<br>');
             }
 
diff --git a/test/runTest/actions/__meta__.json b/test/runTest/actions/__meta__.json
index 537ee89..57eeff3 100644
--- a/test/runTest/actions/__meta__.json
+++ b/test/runTest/actions/__meta__.json
@@ -33,19 +33,19 @@
   "bmap": 1,
   "boxplot": 1,
   "boxplot-multi": 1,
-  "brush": 7,
+  "brush": 6,
   "brush2": 3,
   "brush3": 3,
   "calendar-converter": 1,
   "calendar-heatmap": 1,
-  "calendar-month": 2,
+  "calendar-month": 1,
   "candlestick": 2,
   "candlestick-empty": 1,
   "candlestick-large": 4,
   "candlestick-large2": 1,
   "candlestickConnect": 4,
-  "clip": 11,
-  "color-mix-aqi": 1,
+  "clip": 12,
+  "color-mix-aqi": 2,
   "connect": 1,
   "connect-dynamic": 2,
   "connect-manually": 1,
@@ -53,14 +53,14 @@
   "css-transform": 4,
   "custom": 5,
   "custom-children-remove": 1,
-  "custom-hexbin": 1,
+  "custom-hexbin": 2,
   "custom-text-content": 6,
   "dataZoom-action": 4,
   "dataZoom-axes": 4,
   "dataZoom-axis-type": 3,
   "dataZoom-clip": 3,
   "dataZoom-extreme": 1,
-  "dataZoom-rainfall": 1,
+  "dataZoom-rainfall": 2,
   "dataZoom-rainfall-connect": 1,
   "dataZoom-rainfall-inside": 1,
   "dataZoom-scatter-category": 2,
@@ -85,11 +85,11 @@
   "heatmap": 1,
   "heatmap-map": 1,
   "homepage3": 1,
-  "hoverStyle": 12,
+  "hoverStyle": 14,
   "hoverStyle2": 1,
   "label-position": 1,
   "largeLine-tooltip": 1,
-  "legend": 7,
+  "legend": 11,
   "legend-visualMapColor": 2,
   "line": 1,
   "line-animation": 1,
@@ -101,7 +101,7 @@
   "map-parallel": 1,
   "map-province": 1,
   "mapWorld": 1,
-  "markArea": 1,
+  "markArea": 2,
   "media-dataZoom": 1,
   "media-finance": 2,
   "media-pie": 1,
@@ -125,7 +125,7 @@
   "sankey-jump": 1,
   "sankey-level": 1,
   "scatter-random-stream-fix-axis": 1,
-  "scatter-single-axis": 3,
+  "scatter-single-axis": 2,
   "scatterMatrix": 3,
   "stackBar-dataZoom": 7,
   "sunburst-book": 1,
diff --git a/test/runTest/actions/appendData.json b/test/runTest/actions/appendData.json
index 64f9de9..cbc9521 100644
--- a/test/runTest/actions/appendData.json
+++ b/test/runTest/actions/appendData.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":760,"x":107,"y":109},{"type":"mouseup","time":869,"x":107,"y":109},{"time":870,"delay":1000,"type":"screenshot-auto"},{"type":"mousedown","time":2305,"x":107,"y":109},{"type":"mouseup","time":2409,"x":107,"y":109},{"time":2410,"delay":1000,"type":"screenshot-auto"},{"type":"mousemove","time":3787,"x":108,"y":111},{"type":"mousemove","time":3989,"x":152,"y":213},{"type":"mousemove","time":4194,"x":159,"y":306},{"type":"mousemove","time [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":422,"x":153,"y":119},{"type":"mouseup","time":505,"x":153,"y":119},{"time":506,"delay":400,"type":"screenshot-auto"},{"type":"mousedown","time":1307,"x":153,"y":119},{"type":"mouseup","time":1415,"x":153,"y":119},{"time":1416,"delay":400,"type":"screenshot-auto"},{"type":"mousedown","time":2169,"x":153,"y":119},{"type":"mouseup","time":2259,"x":153,"y":119},{"time":2260,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/axis-interval2.json b/test/runTest/actions/axis-interval2.json
index ab9311d..a0c3326 100644
--- a/test/runTest/actions/axis-interval2.json
+++ b/test/runTest/actions/axis-interval2.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousemove","time":145,"x":415,"y":252},{"type":"mousemove","time":377,"x":418,"y":254},{"type":"mousemove","time":610,"x":428,"y":265},{"type":"mousemove","time":866,"x":430,"y":266},{"type":"mousemove","time":1227,"x":432,"y":266},{"type":"mousemove","time":1476,"x":434,"y":266},{"type":"mousewheel","time":1660,"x":434,"y":266,"deltaY":-1},{"type":"mousewheel","time":1747,"x":434,"y":266,"deltaY":-17},{"type":"mousewheel","time":1799,"x":434,"y":266," [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":145,"x":415,"y":252},{"type":"mousemove","time":377,"x":418,"y":254},{"type":"mousemove","time":610,"x":428,"y":265},{"type":"mousemove","time":866,"x":430,"y":266},{"type":"mousemove","time":1227,"x":432,"y":266},{"type":"mousemove","time":1476,"x":434,"y":266},{"type":"mousewheel","time":1660,"x":434,"y":266,"deltaY":-1},{"type":"mousewheel","time":1747,"x":434,"y":266,"deltaY":-17},{"type":"mousewheel","time":1799,"x":434,"y":266," [...]
\ No newline at end of file
diff --git a/test/runTest/actions/brush.json b/test/runTest/actions/brush.json
index 5b6c3ad..8c43ddf 100644
--- a/test/runTest/actions/brush.json
+++ b/test/runTest/actions/brush.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":306,"x":293,"y":336},{"type":"mousemove","time":439,"x":294,"y":337},{"type":"mousemove","time":646,"x":361,"y":342},{"type":"mousemove","time":852,"x":362,"y":343},{"type":"mouseup","time":1052,"x":362,"y":343},{"time":1053,"delay":300,"type":"screenshot-auto"},{"type":"mousemove","time":1184,"x":360,"y":346},{"type":"mousemove","time":1384,"x":345,"y":456},{"type":"mousemove","time":1586,"x":346,"y":471},{"type":"mousemove","time":1 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":306,"x":293,"y":336},{"type":"mousemove","time":439,"x":294,"y":337},{"type":"mousemove","time":646,"x":361,"y":342},{"type":"mousemove","time":852,"x":362,"y":343},{"type":"mouseup","time":1052,"x":362,"y":343},{"time":1053,"delay":300,"type":"screenshot-auto"},{"type":"mousemove","time":1184,"x":360,"y":346},{"type":"mousemove","time":1384,"x":345,"y":456},{"type":"mousemove","time":1586,"x":346,"y":471},{"type":"mousemove","time":1 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/calendar-month.json b/test/runTest/actions/calendar-month.json
index ab20941..b49805a 100644
--- a/test/runTest/actions/calendar-month.json
+++ b/test/runTest/actions/calendar-month.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"screenshot","time":958},{"type":"mousedown","time":1833,"x":465,"y":34},{"type":"mousemove","time":2462,"x":465,"y":34},{"type":"mousemove","time":2672,"x":425,"y":35},{"type":"mousemove","time":2912,"x":389,"y":35},{"type":"mousemove","time":3172,"x":388,"y":35},{"type":"mousemove","time":3380,"x":374,"y":36},{"type":"mouseup","time":3842,"x":374,"y":36},{"time":3843,"delay":400,"type":"screenshot-auto"},{"type":"mousedown","time":4428,"x":374,"y":36} [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":441,"x":465,"y":21},{"type":"mousemove","time":499,"x":462,"y":21},{"type":"mousemove","time":851,"x":395,"y":17},{"type":"mouseup","time":1037,"x":395,"y":17},{"time":1038,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1095,"x":391,"y":18},{"type":"mousemove","time":1329,"x":315,"y":19},{"type":"mousemove","time":1556,"x":322,"y":18},{"type":"mousedown","time":1856,"x":322,"y":18},{"type":"mousemove","time":1907,"x" [...]
\ No newline at end of file
diff --git a/test/runTest/actions/clip.json b/test/runTest/actions/clip.json
index b4246ef..36fd97a 100644
--- a/test/runTest/actions/clip.json
+++ b/test/runTest/actions/clip.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":447,"x":92,"y":75},{"type":"mouseup","time":559,"x":92,"y":75},{"time":560,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":749,"x":90,"y":75},{"type":"mousemove","time":949,"x":43,"y":75},{"type":"mousemove","time":1157,"x":34,"y":75},{"type":"mousedown","time":1225,"x":34,"y":75},{"type":"mouseup","time":1322,"x":34,"y":75},{"time":1323,"delay":400,"type":"screenshot-auto"}],"scrollY":0,"scrollX":0,"timestamp":156888 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":346,"x":118,"y":78},{"type":"mouseup","time":428,"x":118,"y":78},{"time":429,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":554,"x":100,"y":78},{"type":"mousemove","time":755,"x":53,"y":73},{"type":"mousemove","time":963,"x":43,"y":74},{"type":"mousedown","time":1104,"x":43,"y":74},{"type":"mouseup","time":1187,"x":43,"y":74},{"time":1188,"delay":400,"type":"screenshot-auto"}],"scrollY":0,"scrollX":0,"timestamp":1603 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/color-mix-aqi.json b/test/runTest/actions/color-mix-aqi.json
index 00e9b24..b4a0e9d 100644
--- a/test/runTest/actions/color-mix-aqi.json
+++ b/test/runTest/actions/color-mix-aqi.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":338,"x":728,"y":44},{"type":"mousemove","time":423,"x":728,"y":46},{"type":"mousemove","time":629,"x":726,"y":86},{"type":"mousemove","time":851,"x":728,"y":99},{"type":"mouseup","time":1247,"x":728,"y":99},{"time":1248,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1346,"x":730,"y":100},{"type":"mousemove","time":1546,"x":740,"y":115},{"type":"mousemove","time":1826,"x":741,"y":116},{"type":"mousedown","time":1943," [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":264,"x":740,"y":43},{"type":"mousemove","time":351,"x":740,"y":47},{"type":"mousemove","time":558,"x":740,"y":85},{"type":"mousemove","time":787,"x":740,"y":96},{"type":"mouseup","time":914,"x":740,"y":96},{"time":915,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":989,"x":739,"y":105},{"type":"mousemove","time":1190,"x":729,"y":173},{"type":"mousemove","time":1411,"x":733,"y":183},{"type":"mousemove","time":1624,"x": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/connect-dynamic.json b/test/runTest/actions/connect-dynamic.json
index 068649e..42d62de 100644
--- a/test/runTest/actions/connect-dynamic.json
+++ b/test/runTest/actions/connect-dynamic.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"screenshot","time":1322},{"type":"mousemove","time":1700,"x":244,"y":298},{"type":"mousemove","time":1906,"x":260,"y":444},{"type":"mousemove","time":2106,"x":264,"y":482},{"type":"mousemove","time":2307,"x":268,"y":498},{"type":"mousemove","time":2425,"x":269,"y":499},{"type":"mousemove","time":2625,"x":269,"y":500},{"type":"screenshot","time":3349},{"type":"mousemove","time":3457,"x":276,"y":501},{"type":"mousemove","time":3657,"x":327,"y":507},{"typ [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":83,"x":211,"y":545},{"type":"mousemove","time":333,"x":213,"y":543},{"type":"mousemove","time":533,"x":269,"y":505},{"type":"mousemove","time":742,"x":270,"y":504},{"type":"mousemove","time":917,"x":272,"y":504},{"type":"mousemove","time":1117,"x":315,"y":501},{"type":"mousedown","time":1344,"x":315,"y":501},{"type":"mousemove","time":1400,"x":315,"y":501},{"type":"mouseup","time":1444,"x":315,"y":501},{"time":1445,"delay":400,"type": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/connect.json b/test/runTest/actions/connect.json
index 8b57e97..a82ec36 100644
--- a/test/runTest/actions/connect.json
+++ b/test/runTest/actions/connect.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"screenshot","time":1275},{"type":"mousemove","time":1728,"x":216,"y":60},{"type":"mousemove","time":1928,"x":238,"y":166},{"type":"mousemove","time":2152,"x":231,"y":207},{"type":"mousemove","time":2447,"x":231,"y":207},{"type":"mousemove","time":3292,"x":231,"y":210},{"type":"mousemove","time":3495,"x":354,"y":496},{"type":"mousemove","time":3696,"x":355,"y":501},{"type":"mousemove","time":3913,"x":375,"y":508},{"type":"mousemove","time":4611,"x":375, [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":578,"x":381,"y":446},{"type":"mousemove","time":670,"x":381,"y":452},{"type":"mousemove","time":871,"x":378,"y":492},{"type":"mouseup","time":995,"x":378,"y":492},{"time":996,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1081,"x":378,"y":508},{"type":"mousemove","time":1290,"x":390,"y":598},{"type":"mousemove","time":1505,"x":381,"y":591},{"type":"mousemove","time":1716,"x":380,"y":585},{"type":"mousedown","time":17 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/connect2.json b/test/runTest/actions/connect2.json
index a68ac0a..1b204f8 100644
--- a/test/runTest/actions/connect2.json
+++ b/test/runTest/actions/connect2.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"screenshot","time":509},{"type":"mousemove","time":705,"x":343,"y":75},{"type":"mousemove","time":918,"x":338,"y":113},{"type":"mousemove","time":1138,"x":336,"y":127},{"type":"mousemove","time":1374,"x":336,"y":127},{"type":"mousemove","time":1574,"x":336,"y":127},{"type":"screenshot","time":2222},{"type":"mousemove","time":2640,"x":336,"y":126},{"type":"mousemove","time":2841,"x":336,"y":126},{"type":"mousemove","time":2875,"x":336,"y":125},{"type":" [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":160,"x":364,"y":109},{"type":"mousemove","time":377,"x":349,"y":90},{"type":"mousemove","time":589,"x":345,"y":87},{"type":"mousedown","time":834,"x":345,"y":87},{"type":"mouseup","time":916,"x":345,"y":87},{"time":917,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1219,"x":343,"y":95},{"type":"mousemove","time":1434,"x":334,"y":152},{"type":"mousedown","time":1665,"x":334,"y":152},{"type":"mousemove","time":1672,"x" [...]
\ No newline at end of file
diff --git a/test/runTest/actions/custom-hexbin.json b/test/runTest/actions/custom-hexbin.json
index d6a49ed..30e20b7 100644
--- a/test/runTest/actions/custom-hexbin.json
+++ b/test/runTest/actions/custom-hexbin.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":355,"x":668,"y":85},{"type":"mousemove","time":518,"x":664,"y":85},{"type":"mousemove","time":724,"x":611,"y":93},{"type":"mousemove","time":1152,"x":554,"y":98},{"type":"mouseup","time":1824,"x":554,"y":98},{"time":1825,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2275,"x":554,"y":97},{"type":"mousemove","time":2478,"x":556,"y":88},{"type":"mousemove","time":2678,"x":556,"y":87},{"type":"mousemove","time":2778,"x" [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":549,"x":745,"y":163},{"type":"mousemove","time":722,"x":739,"y":163},{"type":"mousemove","time":935,"x":677,"y":163},{"type":"mouseup","time":1533,"x":677,"y":163},{"time":1534,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1584,"x":667,"y":165},{"type":"mousemove","time":1796,"x":623,"y":171},{"type":"mousemove","time":2013,"x":613,"y":168},{"type":"mousemove","time":2240,"x":605,"y":168},{"type":"mousedown","time": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/dataZoom-action.json b/test/runTest/actions/dataZoom-action.json
index 0d3acbe..a0b430e 100644
--- a/test/runTest/actions/dataZoom-action.json
+++ b/test/runTest/actions/dataZoom-action.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":367,"x":36,"y":54},{"type":"mouseup","time":464,"x":36,"y":54},{"time":465,"delay":1100,"type":"screenshot-auto"},{"type":"mousemove","time":2032,"x":36,"y":54},{"type":"mousemove","time":2232,"x":160,"y":56},{"type":"mousedown","time":2399,"x":160,"y":56},{"type":"mouseup","time":2497,"x":160,"y":56},{"time":2498,"delay":1100,"type":"screenshot-auto"},{"type":"mousemove","time":3623,"x":163,"y":56},{"type":"mousemove","time":3823,"x" [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":392,"x":113,"y":59},{"type":"mouseup","time":475,"x":113,"y":59},{"time":476,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1429,"x":121,"y":59},{"type":"mousemove","time":1630,"x":196,"y":60},{"type":"mousemove","time":1830,"x":197,"y":61},{"type":"mousedown","time":2072,"x":197,"y":61},{"type":"mouseup","time":2187,"x":197,"y":61},{"time":2188,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":3281,"x [...]
\ No newline at end of file
diff --git a/test/runTest/actions/dataZoom-axes.json b/test/runTest/actions/dataZoom-axes.json
index 5313a80..301e190 100644
--- a/test/runTest/actions/dataZoom-axes.json
+++ b/test/runTest/actions/dataZoom-axes.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":323,"x":778,"y":120},{"type":"mousemove","time":466,"x":778,"y":122},{"type":"mousemove","time":672,"x":775,"y":164},{"type":"mousemove","time":884,"x":777,"y":236},{"type":"mousemove","time":1102,"x":778,"y":294},{"type":"mousemove","time":1302,"x":773,"y":351},{"type":"mousemove","time":1505,"x":772,"y":357},{"type":"mousemove","time":1823,"x":772,"y":358},{"type":"mouseup","time":1857,"x":772,"y":358},{"time":1858,"delay":400,"type [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":198,"x":772,"y":124},{"type":"mousemove","time":404,"x":773,"y":123},{"type":"mousedown","time":646,"x":773,"y":123},{"type":"mousemove","time":748,"x":773,"y":125},{"type":"mousemove","time":1041,"x":773,"y":206},{"type":"mousemove","time":1242,"x":777,"y":232},{"type":"mouseup","time":1339,"x":777,"y":232},{"time":1340,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1416,"x":777,"y":232},{"type":"mousemove","time":1 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/dataZoom-rainfall.json b/test/runTest/actions/dataZoom-rainfall.json
index 55d5558..7e3dddf 100644
--- a/test/runTest/actions/dataZoom-rainfall.json
+++ b/test/runTest/actions/dataZoom-rainfall.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":348,"x":682,"y":577},{"type":"mousemove","time":540,"x":678,"y":577},{"type":"mousemove","time":754,"x":522,"y":583},{"type":"mousemove","time":956,"x":396,"y":585},{"type":"mousemove","time":1157,"x":382,"y":585},{"type":"mouseup","time":1247,"x":382,"y":585},{"time":1248,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1806,"x":381,"y":585},{"type":"mousemove","time":2008,"x":251,"y":573},{"type":"mousemove","time":2 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":248,"x":678,"y":575},{"type":"mousemove","time":448,"x":680,"y":575},{"type":"mousedown","time":458,"x":680,"y":575},{"type":"mousemove","time":665,"x":597,"y":579},{"type":"mousemove","time":866,"x":408,"y":567},{"type":"mouseup","time":1065,"x":389,"y":566},{"time":1066,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1169,"x":373,"y":570},{"type":"mousemove","time":1369,"x":116,"y":582},{"type":"mousemove","time":15 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/dataZoom-scatter-hv.json b/test/runTest/actions/dataZoom-scatter-hv.json
index 33b37f7..6af1ce7 100644
--- a/test/runTest/actions/dataZoom-scatter-hv.json
+++ b/test/runTest/actions/dataZoom-scatter-hv.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":273,"x":774,"y":386},{"type":"mousemove","time":393,"x":774,"y":386},{"type":"mousemove","time":595,"x":775,"y":328},{"type":"mousemove","time":805,"x":776,"y":296},{"type":"mousemove","time":1005,"x":776,"y":287},{"type":"mouseup","time":1131,"x":776,"y":287},{"time":1132,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1168,"x":776,"y":287},{"type":"mousemove","time":1368,"x":781,"y":303},{"type":"mousedown","time":1 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":317,"x":780,"y":365},{"type":"mousemove","time":423,"x":780,"y":365},{"type":"mousemove","time":655,"x":772,"y":281},{"type":"mousemove","time":856,"x":772,"y":282},{"type":"mousemove","time":1077,"x":774,"y":287},{"type":"mousemove","time":1298,"x":775,"y":291},{"type":"mouseup","time":1313,"x":775,"y":291},{"time":1314,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1465,"x":775,"y":292},{"type":"mousemove","time":1 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/dataZoom-toolbox.json b/test/runTest/actions/dataZoom-toolbox.json
index ae79937..a7cfa54 100644
--- a/test/runTest/actions/dataZoom-toolbox.json
+++ b/test/runTest/actions/dataZoom-toolbox.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":409,"x":770,"y":435},{"type":"mousemove","time":509,"x":770,"y":434},{"type":"mousemove","time":712,"x":770,"y":252},{"type":"mousemove","time":913,"x":768,"y":150},{"type":"mousemove","time":1115,"x":767,"y":139},{"type":"mouseup","time":1480,"x":767,"y":139},{"time":1481,"delay":1000,"type":"screenshot-auto"},{"type":"mousemove","time":2065,"x":766,"y":139},{"type":"mousemove","time":2265,"x":727,"y":130},{"type":"mousemove","time": [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":409,"x":770,"y":435},{"type":"mousemove","time":509,"x":770,"y":434},{"type":"mousemove","time":712,"x":770,"y":252},{"type":"mousemove","time":913,"x":768,"y":150},{"type":"mousemove","time":1115,"x":767,"y":139},{"type":"mouseup","time":1480,"x":767,"y":139},{"time":1481,"delay":1000,"type":"screenshot-auto"},{"type":"mousemove","time":2065,"x":766,"y":139},{"type":"mousemove","time":2265,"x":727,"y":130},{"type":"mousemove","time": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/geo-map.json b/test/runTest/actions/geo-map.json
index c6138d7..ffbe5bc 100644
--- a/test/runTest/actions/geo-map.json
+++ b/test/runTest/actions/geo-map.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":750,"x":67,"y":8},{"type":"mouseup","time":835,"x":67,"y":8},{"time":836,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1086,"x":67,"y":8},{"type":"mousemove","time":1291,"x":65,"y":29},{"type":"mousemove","time":1491,"x":65,"y":30},{"type":"mousedown","time":1667,"x":65,"y":30},{"type":"mouseup","time":1785,"x":65,"y":30},{"time":1786,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2142,"x":65,"y":3 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":750,"x":67,"y":8},{"type":"mouseup","time":835,"x":67,"y":8},{"time":836,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1086,"x":67,"y":8},{"type":"mousemove","time":1291,"x":65,"y":29},{"type":"mousemove","time":1491,"x":65,"y":30},{"type":"mousedown","time":1667,"x":65,"y":30},{"type":"mouseup","time":1785,"x":65,"y":30},{"time":1786,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2142,"x":65,"y":3 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/getOption.json b/test/runTest/actions/getOption.json
index b28a783..309f585 100644
--- a/test/runTest/actions/getOption.json
+++ b/test/runTest/actions/getOption.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":663,"x":47,"y":12},{"type":"mouseup","time":770,"x":47,"y":12},{"time":771,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1443,"x":51,"y":12},{"type":"mousemove","time":1643,"x":109,"y":12},{"type":"mousemove","time":1853,"x":111,"y":11},{"type":"mousedown","time":1889,"x":111,"y":11},{"type":"mouseup","time":1973,"x":111,"y":11},{"time":1974,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2656,"x":1 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":542,"x":42,"y":7},{"type":"mouseup","time":646,"x":42,"y":7},{"time":647,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1333,"x":59,"y":6},{"type":"mousemove","time":1534,"x":203,"y":10},{"type":"mousedown","time":1746,"x":203,"y":10},{"type":"mousemove","time":1796,"x":203,"y":10},{"type":"mouseup","time":1814,"x":203,"y":10},{"time":1815,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2275,"x":204, [...]
\ No newline at end of file
diff --git a/test/runTest/actions/heatmap.json b/test/runTest/actions/heatmap.json
index e3cab3d..671b155 100644
--- a/test/runTest/actions/heatmap.json
+++ b/test/runTest/actions/heatmap.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousemove","time":460,"x":6,"y":476},{"type":"mousemove","time":663,"x":11,"y":497},{"type":"mousemove","time":863,"x":11,"y":505},{"type":"mousemove","time":1132,"x":11,"y":505},{"type":"mousedown","time":1165,"x":11,"y":505},{"type":"mouseup","time":1279,"x":11,"y":505},{"time":1280,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":2295,"x":11,"y":504},{"type":"mousemove","time":2495,"x":46,"y":441},{"type":"mousemove","time":2700,"x": [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":264,"x":12,"y":447},{"type":"mousemove","time":324,"x":12,"y":447},{"type":"mousemove","time":535,"x":13,"y":491},{"type":"mouseup","time":703,"x":13,"y":491},{"time":704,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":740,"x":13,"y":491},{"type":"mousemove","time":941,"x":12,"y":583},{"type":"mousemove","time":1142,"x":12,"y":584},{"type":"mousemove","time":1358,"x":13,"y":589},{"type":"mousedown","time":1366,"x":13, [...]
\ No newline at end of file
diff --git a/test/runTest/actions/homepage3.json b/test/runTest/actions/homepage3.json
index 2388a6e..11932f7 100644
--- a/test/runTest/actions/homepage3.json
+++ b/test/runTest/actions/homepage3.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousemove","time":277,"x":272,"y":333},{"type":"mousemove","time":478,"x":317,"y":341},{"type":"screenshot","time":1277},{"type":"mousemove","time":1683,"x":320,"y":341},{"type":"mousemove","time":1886,"x":463,"y":349},{"type":"mousemove","time":2087,"x":469,"y":350},{"type":"screenshot","time":3314},{"type":"mousemove","time":4136,"x":469,"y":350},{"type":"mousemove","time":4338,"x":452,"y":298},{"type":"mousemove","time":4540,"x":386,"y":215},{"type" [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":500,"x":382,"y":326},{"type":"mouseup","time":634,"x":382,"y":326},{"time":635,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1008,"x":379,"y":327},{"type":"mousemove","time":1213,"x":302,"y":327},{"type":"mousemove","time":1425,"x":289,"y":328},{"type":"mousedown","time":1447,"x":289,"y":328},{"type":"mouseup","time":1575,"x":289,"y":328},{"time":1576,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/hoverStyle.json b/test/runTest/actions/hoverStyle.json
index 7bfb26e..eb779df 100644
--- a/test/runTest/actions/hoverStyle.json
+++ b/test/runTest/actions/hoverStyle.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousemove","time":381,"x":326,"y":308},{"type":"mousemove","time":582,"x":363,"y":304},{"type":"mousemove","time":783,"x":363,"y":303},{"type":"mousedown","time":897,"x":363,"y":303},{"type":"mouseup","time":987,"x":363,"y":303},{"time":988,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1098,"x":372,"y":303},{"type":"mousemove","time":1300,"x":483,"y":306},{"type":"mousemove","time":1501,"x":512,"y":309},{"type":"mousemove","time":170 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":294,"x":370,"y":253},{"type":"mousemove","time":494,"x":364,"y":276},{"type":"mousemove","time":699,"x":361,"y":284},{"type":"mousemove","time":900,"x":359,"y":289},{"type":"mousedown","time":935,"x":359,"y":289},{"type":"mouseup","time":1028,"x":359,"y":289},{"time":1029,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1360,"x":365,"y":294},{"type":"mousemove","time":1563,"x":432,"y":351},{"type":"mousemove","time":17 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/legend.json b/test/runTest/actions/legend.json
index 9760567..9006384 100644
--- a/test/runTest/actions/legend.json
+++ b/test/runTest/actions/legend.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":287,"x":398,"y":538},{"type":"mousemove","time":321,"x":398,"y":538},{"type":"mousemove","time":534,"x":320,"y":484},{"type":"mousemove","time":743,"x":196,"y":432},{"type":"mouseup","time":1133,"x":196,"y":432},{"time":1134,"delay":400,"type":"screenshot-auto"},{"type":"mousedown","time":1574,"x":196,"y":432},{"type":"mousemove","time":1646,"x":200,"y":432},{"type":"mousemove","time":1846,"x":372,"y":443},{"type":"mousemove","time":2 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":296,"x":541,"y":83},{"type":"mouseup","time":397,"x":541,"y":83},{"time":398,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":698,"x":543,"y":83},{"type":"mousemove","time":900,"x":590,"y":85},{"type":"mousemove","time":1101,"x":592,"y":85},{"type":"mousedown","time":1122,"x":592,"y":85},{"type":"mouseup","time":1215,"x":592,"y":85},{"time":1216,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1549,"x": [...]
\ No newline at end of file
diff --git a/test/runTest/actions/mapWorld.json b/test/runTest/actions/mapWorld.json
index 8d706d8..dffbe22 100644
--- a/test/runTest/actions/mapWorld.json
+++ b/test/runTest/actions/mapWorld.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":2209,"x":33,"y":429},{"type":"mouseup","time":2319,"x":33,"y":429},{"time":2320,"delay":400,"type":"screenshot-auto"},{"type":"mousedown","time":2984,"x":33,"y":429},{"type":"mousemove","time":3113,"x":33,"y":430},{"type":"mousemove","time":3315,"x":32,"y":461},{"type":"mousemove","time":3587,"x":33,"y":493},{"type":"mousemove","time":3831,"x":34,"y":512},{"type":"mouseup","time":4158,"x":34,"y":512},{"time":4159,"delay":400,"type":"s [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":399,"x":12,"y":435},{"type":"mousedown","time":515,"x":15,"y":433},{"type":"mousemove","time":611,"x":16,"y":439},{"type":"mousemove","time":926,"x":21,"y":490},{"type":"mouseup","time":999,"x":21,"y":490},{"time":1000,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":1070,"x":20,"y":498},{"type":"mousemove","time":1327,"x":12,"y":597},{"type":"mousemove","time":1543,"x":14,"y":571},{"type":"mousemove","time":1754,"x":1 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/markArea.json b/test/runTest/actions/markArea.json
index d4b5566..a2730f0 100644
--- a/test/runTest/actions/markArea.json
+++ b/test/runTest/actions/markArea.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":1675,"x":365,"y":18},{"type":"mouseup","time":1774,"x":365,"y":18},{"time":1775,"delay":1000,"type":"screenshot-auto"},{"type":"mousedown","time":2690,"x":365,"y":18},{"type":"mouseup","time":2782,"x":365,"y":18},{"time":2783,"delay":1000,"type":"screenshot-auto"},{"type":"mousemove","time":3192,"x":366,"y":18},{"type":"mousemove","time":3393,"x":414,"y":21},{"type":"mousemove","time":3600,"x":414,"y":21},{"type":"mousedown","time":38 [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":1675,"x":365,"y":18},{"type":"mouseup","time":1774,"x":365,"y":18},{"time":1775,"delay":1000,"type":"screenshot-auto"},{"type":"mousedown","time":2690,"x":365,"y":18},{"type":"mouseup","time":2782,"x":365,"y":18},{"time":2783,"delay":1000,"type":"screenshot-auto"},{"type":"mousemove","time":3192,"x":366,"y":18},{"type":"mousemove","time":3393,"x":414,"y":21},{"type":"mousemove","time":3600,"x":414,"y":21},{"type":"mousedown","time":38 [...]
\ No newline at end of file
diff --git a/test/runTest/actions/pie-calculable.json b/test/runTest/actions/pie-calculable.json
index e9f534f..ce5e198 100644
--- a/test/runTest/actions/pie-calculable.json
+++ b/test/runTest/actions/pie-calculable.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousemove","time":76,"x":253,"y":213},{"type":"mousedown","time":247,"x":253,"y":213},{"type":"mousemove","time":320,"x":252,"y":212},{"type":"mousemove","time":521,"x":158,"y":177},{"type":"mousemove","time":727,"x":125,"y":159},{"type":"mouseup","time":942,"x":121,"y":156},{"time":943,"delay":600,"type":"screenshot-auto"},{"type":"mousemove","time":948,"x":121,"y":156},{"type":"mousemove","time":1437,"x":136,"y":163},{"type":"mousemove","time":1646," [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousedown","time":238,"x":290,"y":315},{"type":"mousemove","time":290,"x":300,"y":311},{"type":"mousemove","time":490,"x":421,"y":214},{"type":"mouseup","time":648,"x":425,"y":209},{"time":649,"delay":400,"type":"screenshot-auto"},{"type":"mousemove","time":700,"x":425,"y":209},{"type":"mousemove","time":790,"x":425,"y":212},{"type":"mousemove","time":991,"x":460,"y":277},{"type":"mousemove","time":1191,"x":471,"y":304},{"type":"mousemove","time":1397, [...]
\ No newline at end of file
diff --git a/test/runTest/actions/scatter-single-axis.json b/test/runTest/actions/scatter-single-axis.json
index f9b969a..8747338 100644
--- a/test/runTest/actions/scatter-single-axis.json
+++ b/test/runTest/actions/scatter-single-axis.json
@@ -1 +1 @@
-[{"name":"Action 1","ops":[{"type":"mousedown","time":564,"x":37,"y":327},{"type":"mousemove","time":719,"x":39,"y":328},{"type":"mousemove","time":926,"x":61,"y":328},{"type":"mousemove","time":1135,"x":207,"y":323},{"type":"mousemove","time":1335,"x":384,"y":323},{"type":"mousemove","time":1536,"x":513,"y":322},{"type":"mousemove","time":1740,"x":576,"y":323},{"type":"mousemove","time":1942,"x":615,"y":323},{"type":"mouseup","time":2225,"x":615,"y":323},{"time":2226,"delay":200,"type": [...]
\ No newline at end of file
+[{"name":"Action 1","ops":[{"type":"mousemove","time":9,"x":42,"y":334},{"type":"mousemove","time":213,"x":44,"y":333},{"type":"mousemove","time":357,"x":43,"y":333},{"type":"mousedown","time":488,"x":43,"y":333},{"type":"mousemove","time":563,"x":43,"y":333},{"type":"mousemove","time":608,"x":44,"y":334},{"type":"mousemove","time":813,"x":205,"y":341},{"type":"mousemove","time":1020,"x":282,"y":341},{"type":"mouseup","time":1156,"x":282,"y":341},{"time":1157,"delay":400,"type":"screensh [...]
\ No newline at end of file
diff --git a/test/runTest/client/client.js b/test/runTest/client/client.js
index 053e73f..37e7aef 100644
--- a/test/runTest/client/client.js
+++ b/test/runTest/client/client.js
@@ -319,9 +319,7 @@ socket.on('abort', res => {
 });
 socket.on('versions', versions => {
     app.versions = versions.filter(version => {
-        return !version.startsWith('2.')
-            && !version.match('beta')
-            && !version.match('rc');
+        return !version.startsWith('2.');
     }).reverse();
     if (!app.runConfig.expectedVersion) {
         app.runConfig.expectedVersion = app.versions[0];
diff --git a/test/runTest/server.js b/test/runTest/server.js
index 2a91b97..688b4c9 100644
--- a/test/runTest/server.js
+++ b/test/runTest/server.js
@@ -162,7 +162,7 @@ function startTests(testsNameList, socket, {
                 '--speed', replaySpeed || 5,
                 '--actual', actualVersion,
                 '--expected', expectedVersion,
-                '--renderer', renderer,
+                '--renderer', renderer || '',
                 ...(noHeadless ? ['--no-headless'] : []),
                 ...(noSave ? ['--no-save'] : [])
             ]);
@@ -298,7 +298,7 @@ async function start() {
                     replaySpeed: 2,
                     actualVersion: data.actualVersion,
                     expectedVersion: data.expectedVersion,
-                    renderer: data.renderer,
+                    renderer: data.renderer || '',
                     noSave: true
                 });
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org