File tree 3 files changed +29
-2
lines changed
3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 70
70
name : Run jasmine tests (batch 2)
71
71
command : ./.circleci/test.sh jasmine2
72
72
73
+ test-jasmine3 :
74
+ docker :
75
+ # need '-browsers' version to test in real (xvfb-wrapped) browsers
76
+ - image : circleci/node:10.9.0-browsers
77
+ working_directory : ~/plotly.js
78
+ steps :
79
+ - checkout
80
+ - attach_workspace :
81
+ at : ~/plotly.js
82
+ - run :
83
+ name : Run jasmine tests (batch 3)
84
+ command : ./.circleci/test.sh jasmine3
85
+
73
86
test-image :
74
87
docker :
75
88
- image : plotly/testbed:latest
@@ -165,6 +178,9 @@ workflows:
165
178
- test-jasmine2 :
166
179
requires :
167
180
- build
181
+ - test-jasmine3 :
182
+ requires :
183
+ - build
168
184
- test-image :
169
185
requires :
170
186
- build
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ case $1 in
45
45
set_tz
46
46
47
47
npm run test-jasmine -- --skip-tags=gl,noCI,flaky || EXIT_STATE=$?
48
- retry npm run test-jasmine -- --tags=flaky --skip-tags=noCI
49
48
npm run test-bundle || EXIT_STATE=$?
50
49
51
50
exit $EXIT_STATE
@@ -63,6 +62,18 @@ case $1 in
63
62
exit $EXIT_STATE
64
63
;;
65
64
65
+ jasmine3)
66
+ set_tz
67
+
68
+ SHARDS=($( node $ROOT /tasks/shard_jasmine_tests.js --tag=flaky) )
69
+
70
+ for s in ${SHARDS[@]} ; do
71
+ retry npm run test-jasmine -- " $s " --tags=flaky --skip-tags=noCI
72
+ done
73
+
74
+ exit $EXIT_STATE
75
+ ;;
76
+
66
77
image)
67
78
npm run test-image || EXIT_STATE=$?
68
79
exit $EXIT_STATE
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ describe('Click-to-select', function() {
175
175
} else {
176
176
setTimeout ( function ( ) {
177
177
click ( x , y , clickOpts ) ;
178
- } , DBLCLICKDELAY * 1.01 ) ;
178
+ } , DBLCLICKDELAY * 1.03 ) ;
179
179
}
180
180
181
181
return selectedPromise ;
You can’t perform that action at this time.
0 commit comments