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 2021/09/14 02:17:03 UTC

[echarts] 01/01: test: optimize test cases for visual regression test

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/echarts.git

commit 3bea75a994ffb9ebb01ea1e6927c912b9cc9606a
Author: pissang <bm...@gmail.com>
AuthorDate: Tue Sep 14 10:16:18 2021 +0800

    test: optimize test cases for visual regression test
---
 test/line-animation.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/line-animation.html b/test/line-animation.html
index 853e3b8..9ce3c38 100644
--- a/test/line-animation.html
+++ b/test/line-animation.html
@@ -49,8 +49,6 @@ under the License.
             }
         </style>
 
-        <div class="chart" id="main3"></div>
-
         <button onclick="change()">CHANGE</button>
         <div class="chart" id="main2"></div>
 
@@ -61,6 +59,8 @@ under the License.
         <h2>Label Animation with animationDelay callback</h2>
         <div class="chart" id="main1"></div>
 
+        <h2>Line Animation should be continued when calling setOption again.</h2>
+        <div class="chart" id="main3"></div>
 
 
 
@@ -424,8 +424,8 @@ under the License.
                         type: 'line',
                         areaStyle: {}
                     }],
-                    animationDuration: 5000,
-                    animationDurationUpdate: 5000
+                    animationDuration: 10000,
+                    animationDurationUpdate: 10000
                 };
 
                 chart.setOption(option);

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