You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2021/06/04 04:40:56 UTC

[echarts] 02/02: fix: test/-cases.html

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

sushuang pushed a commit to branch release-dev
in repository https://gitbox.apache.org/repos/asf/echarts.git

commit 60a9595d976f0df37b9633acdc6f288a0b92046d
Author: 100pah <su...@gmail.com>
AuthorDate: Thu Jun 3 16:50:29 2021 +0800

    fix: test/-cases.html
---
 test/lib/caseFrame.js | 3 ++-
 test/lib/config.js    | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/lib/caseFrame.js b/test/lib/caseFrame.js
index febc9d5..fb2a170 100644
--- a/test/lib/caseFrame.js
+++ b/test/lib/caseFrame.js
@@ -262,7 +262,8 @@
             '__RENDERER__=' + curr.renderer,
             '__USE_DIRTY_RECT__=' + curr.useDirtyRect,
             '__ECDIST__=' + curr.dist,
-            '__FILTER__=' + curr.listFilterName
+            '__FILTER__=' + curr.listFilterName,
+            '__CASE_FRAME__=1'
         ].join('&');
     }
 
diff --git a/test/lib/config.js b/test/lib/config.js
index 67dae59..1c99b35 100644
--- a/test/lib/config.js
+++ b/test/lib/config.js
@@ -36,7 +36,7 @@
 
     // Set echarts source code.
     var ecDistPath;
-    if (params.__ECDIST__) {
+    if (params.__ECDIST__ && !params.__CASE_FRAME__) {
         ecDistPath = ({
             'webpack-req-ec': '../../echarts-boilerplate/echarts-webpack/dist/webpack-req-ec',
             'webpack-req-eclibec': '../../echarts-boilerplate/echarts-webpack/dist/webpack-req-eclibec',

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