diff --git a/.circleci/test.sh b/.circleci/test.sh index 0a660879059..ea9b64140e4 100755 --- a/.circleci/test.sh +++ b/.circleci/test.sh @@ -33,7 +33,7 @@ case $1 in ;; jasmine2) - npm run test-jasmine -- --tags=gl --skip-tags=noCI,flaky || EXIT_STATE=$? + retry npm run test-jasmine -- --tags=gl --skip-tags=noCI,flaky retry npm run test-jasmine -- --tags=flaky --skip-tags=noCI npm run test-bundle || EXIT_STATE=$? exit $EXIT_STATE diff --git a/package-lock.json b/package-lock.json index db0b98e1d49..949e5516b13 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10075,9 +10075,9 @@ } }, "regl-line2d": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.0.2.tgz", - "integrity": "sha512-lIFjleuKg/tqHUVuWnd4fe1bn3RulaapHDThEaqPYM5XgKTWenzVrLvl7x0SIVkO5loc/n89/RYifBQQqzDuLg==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/regl-line2d/-/regl-line2d-3.0.3.tgz", + "integrity": "sha512-gHEZTmMJCw6UvbYFfGgZRQuo+HA5kr1UJyumH5/vvuxiZpm4adpUrPq8xwkW+xktMebdw/AgvkDsp5PT4dKhDg==", "requires": { "array-bounds": "1.0.1", "array-normalize": "1.1.3", diff --git a/package.json b/package.json index 3bd9dca07a8..8fd772c6647 100644 --- a/package.json +++ b/package.json @@ -99,7 +99,7 @@ "polybooljs": "^1.2.0", "regl": "^1.3.1", "regl-error2d": "^2.0.3", - "regl-line2d": "^3.0.2", + "regl-line2d": "^3.0.3", "regl-scatter2d": "^3.0.1", "regl-splom": "^1.0.0", "right-now": "^1.0.0", diff --git a/test/image/baselines/gl2d_horiz-lines.png b/test/image/baselines/gl2d_horiz-lines.png new file mode 100644 index 00000000000..a76fa114d50 Binary files /dev/null and b/test/image/baselines/gl2d_horiz-lines.png differ diff --git a/test/image/baselines/gl2d_simple_inset.png b/test/image/baselines/gl2d_simple_inset.png index 616b1c37656..14e28351f39 100644 Binary files a/test/image/baselines/gl2d_simple_inset.png and b/test/image/baselines/gl2d_simple_inset.png differ diff --git a/test/image/baselines/gl2d_stacked_subplots.png b/test/image/baselines/gl2d_stacked_subplots.png index c5953a8fd31..3490921751c 100644 Binary files a/test/image/baselines/gl2d_stacked_subplots.png and b/test/image/baselines/gl2d_stacked_subplots.png differ diff --git a/test/image/mocks/gl2d_horiz-lines.json b/test/image/mocks/gl2d_horiz-lines.json new file mode 100644 index 00000000000..56535777098 --- /dev/null +++ b/test/image/mocks/gl2d_horiz-lines.json @@ -0,0 +1,9 @@ +{ + "data": [{ + "type": "scattergl", + "mode": "lines", + "x": [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9, 3, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, 4, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7, 4.8, 4.9, 5, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 5.9, 6, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 7, 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 7.7, 7.8, 7.9, 8, 8.1, 8.2, 8.3, 8.4, 8.5, 8.6, 8.7, 8.8, 8.9, 9, 9.1, 9.2, 9.3, 9.4, 9.5, 9.6, 9.7, 9.8, 9.9, 10], + "y": [20.392, 20.388, 20.386, 20.374, 20.384, 20.384, 20.384, 20.38, 20.384, 20.384, 20.384, 20.372, 20.388, 20.384, 20.386, 20.376, 20.38, 20.384, 20.38, 20.386, 20.382, 20.378, 20.372, 20.378, 20.386, 20.384, 20.386, 20.394, 20.388, 20.38, 20.384, 20.384, 20.374, 20.36, 20.378, 20.384, 20.378, 20.378, 20.384, 20.38, 20.384, 20.386, 20.378, 20.384, 20.386, 20.384, 20.384, 20.384, 20.386, 20.384, 20.38, 20.374, 20.384, 20.384, 20.384, 20.384, 20.384, 20.384, 20.378, 20.384, 20.384, 20.38, 20.372, 20.384, 20.374, 20.38, 20.384, 20.378, 20.394, 20.384, 20.384, 20.384, 20.376, 20.38, 20.378, 20.378, 20.384, 20.372, 20.384, 20.378, 20.384, 20.384, 20.378, 20.378, 20.384, 20.38, 20.376, 20.38, 20.38, 20.384, 20.384, 20.378, 20.38, 20.384, 20.38, 20.394, 20.384, 20.384, 20.378, 20.372], + "line": { "color": "#80ffff", "width": 2, "dash": "solid" } + }] +}