{"action":"opened","issue":{"url":"https://api.github.com/repos/webdriverio/webdrivercss/issues/128","labels_url":"https://api.github.com/repos/webdriverio/webdrivercss/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/webdriverio/webdrivercss/issues/128/comments","events_url":"https://api.github.com/repos/webdriverio/webdrivercss/issues/128/events","html_url":"https://github.com/webdriverio/webdrivercss/issues/128","id":114717086,"number":128,"title":"webdrivercss tests fail on travis CI","user":{"login":"pavloo","id":2216562,"avatar_url":"https://avatars.githubusercontent.com/u/2216562?v=3","gravatar_id":"","url":"https://api.github.com/users/pavloo","html_url":"https://github.com/pavloo","followers_url":"https://api.github.com/users/pavloo/followers","following_url":"https://api.github.com/users/pavloo/following{/other_user}","gists_url":"https://api.github.com/users/pavloo/gists{/gist_id}","starred_url":"https://api.github.com/users/pavloo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavloo/subscriptions","organizations_url":"https://api.github.com/users/pavloo/orgs","repos_url":"https://api.github.com/users/pavloo/repos","events_url":"https://api.github.com/users/pavloo/events{/privacy}","received_events_url":"https://api.github.com/users/pavloo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T00:38:35Z","updated_at":"2015-11-03T00:38:35Z","closed_at":null,"body":"Here is the content of my `.travis.yml`:\r\n\r\n```yml\r\nlanguage: node_js\r\nnode_js:\r\n  - \"4.2.1\"\r\nenv:\r\n  - CXX=g++-4.8\r\naddons:\r\n  apt:\r\n    sources:\r\n    - ubuntu-toolchain-r-test\r\n    packages:\r\n    - g++-4.8\r\n    \r\nbefore_install:\r\n  - sudo apt-get install graphicsmagick libcairo2-dev\r\n  - export PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig\r\n  - npm install -g bower  \r\n  \r\ninstall:\r\n  - npm install\r\n  - bower install\r\n  \r\nbefore_script:\r\n  - npm install -g gulp\r\n  - npm install -g karma\r\n  # see https://github.com/webdriverio/gulp-webdriver/issues/20\r\n  - npm install webdriverio\r\n\r\nscript: npm test\r\n```\r\n\r\nMy tests run ok locally, but all of them are failing with near the same error on Travis:\r\n```\r\n[ { baselinePath: 'test/css/screenshots/buttons.primary.1024px.baseline.png',\r\n    regressionPath: 'test/css/screenshots/buttons.primary.1024px.regression.png',\r\n    diffPath: 'test/css/diffs/buttons.primary.1024px.diff.png',\r\n    message: 'mismatch tolerance exceeded (+8.94), image-diff created',\r\n    misMatchPercentage: 8.99,\r\n    isExactSameImage: false,\r\n    isSameDimensions: true,\r\n    isWithinMisMatchTolerance: false,\r\n    properties: { name: 'primary', elem: '.bb-btn--primary' } } ]\r\n```\r\nHere is the code of the test:\r\n```javascript\r\n  it('buttons should have correct styles', function* () {\r\n    yield browser.url('/buttons.html');\r\n    const res = yield browser.webdrivercss('buttons',[\r\n      {\r\n        name: 'primary',\r\n        elem: '.bb-btn--primary'\r\n      }\r\n    ]);\r\n\r\n    assert.ok(res.primary[0].isWithinMisMatchTolerance, 'primary');\r\n  });\r\n```\r\nAny ideas what may cause the issue? Thanks."}}