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

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


The following commit(s) were added to refs/heads/enhance-visual-regression-test 
by this push:
     new 2a9fd86  test(visual): selected tests should from visible list not 
full list.
2a9fd86 is described below

commit 2a9fd861bc0e29baea30d0556fdb3a88d86b5332
Author: pissang <[email protected]>
AuthorDate: Fri Apr 30 10:50:52 2021 +0800

    test(visual): selected tests should from visible list not full list.
---
 test/runTest/client/client.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/test/runTest/client/client.js b/test/runTest/client/client.js
index 46a9505..2db45fd 100644
--- a/test/runTest/client/client.js
+++ b/test/runTest/client/client.js
@@ -172,7 +172,8 @@ const app = new Vue({
         },
 
         selectedTests() {
-            return this.fullTests.filter(test => {
+            // Only run visible tests.
+            return this.tests.filter(test => {
                 return test.selected;
             });
         },

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to