diff --git a/.travis.yml b/.travis.yml index 262cf0c37ee..8f8a0e52fb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,11 +74,11 @@ jobs: node_js: "8" script: npm run test:visual - stage: Visual Tests - env: LAUNCHER=Chrome CANFAIL=TRUE + env: LAUNCHER=Chrome install: npm install testem@1.18.4 qunit@2.4.1 script: npm run build:fast && testem ci --port 8080 -f testem-visual.json -l $LAUNCHER - stage: Visual Tests - env: LAUNCHER=Firefox CANFAIL=TRUE + env: LAUNCHER=Firefox install: npm install testem@1.18.4 qunit@2.4.1 script: npm run build:fast && testem ci --port 8080 -f testem-visual.json -l $LAUNCHER diff --git a/test/visual/svg_import.js b/test/visual/svg_import.js index 1cba8af324e..aa2a107613b 100644 --- a/test/visual/svg_import.js +++ b/test/visual/svg_import.js @@ -6,10 +6,10 @@ } var fabricCanvas = this.canvas = new fabric.Canvas(null, {enableRetinaScaling: false, renderOnAddRemove: false}); var pixelmatchOptions = { - includeAA: true, - threshold: 0.1 + includeAA: false, + threshold: 0.095 }; - + fabric.Object.prototype.objectCaching = false; function getAbsolutePath(path) { var isAbsolute = /^https?:/.test(path); if (isAbsolute) { return path; };