diff --git a/.travis.yml b/.travis.yml index a3229c15f..64ce276a4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,18 @@ node_js: - 6 - 7 +# Environment variables +env: + global: + secure: U8r1b4Wejuuj3j4E69kKKk4gG877UomF3XH2Sj3ujELaGn644WeTvSpMwlnPEq/Vlo17z+OctUqLp2jbWUHuZUA/+2V1clZlWDnQNAG9xEEm6zrxsR0NF8q7v6itix9gWZpRd1Ynlbq4uW0sZM/IJCvY7f4H1p2yB4JAsnHj9WjlFfrnDssTNx6WF9my8fgfyZeI9pZbVI8+fV6YTfbYs5qVVlydP33BNNN4tsC4GZ+Bc4VYiIUmiwDJMP/Nd2hMV9SIVf7LnaKK7ucH2fFW7xXhuFPsxc+ZX6Qyb5cfuaE5Ta65RXDtMSfPd8O3d8sHjpjEC7jlnlzyo6WumWNIvAXhWkbmHQbdIFpZCYYkD6GMNoET/eJJBwmzpqV4wsMCxx1MNb7/OWdvrf9rGvv6+ZZ+xZvGzzupIDXusXjsm/Xa+WI1fBDtuhRRtM3fBcb596T9NkpAjKCQBZYBCrKn/teDgUNd2uCcNpJxni0EuQiWcIQ0Mkc3XISfvVXliSZDNc3x5FTl1GsCZqmKiio2ZU+cO92XIkJoztKuNbC7N+0oZMBPcL294Kl245khMRWJYqBlWG+oFS1MQwDMGvScIpB8ojgsFzpolV1wJdtCjANbNs6Z6e4sEaNr7Ry8sLWu6ltSpo1h3xNv8mzObMjMEeDUNJ6i8JtjyVWnwhT2eXE= + secure: ZMPpw2nMwzH9Y+gHY+ana8oa9HL1Lhi631GFv38Vh6NYWSW/Mx7lpB3jh9BWoxpLRrJTztLfbt68rDxjTEcn6/FfJY6EMkmfBRYYCQOhtwAbgozvXiS/F6sEVMPHX+D3wjlM3FrH6uMKYEYm3XIchp3E/U76NhunpJNyzk9vnOySp/CH7ToXhHVh/NttdCQsE7JfJQoFyatayrg7gOsiiNqL7Zz1fYm02uhUq5e4Vb29jKX3QQLgrNmkElHpBxlBHdxaiMmtY57slhLgBLM8WRLL+0hWO6H74xFs4TSTVN9ECko7bpNQLUH2P7tStk4Jf+tLNryOjUhECeehptQhEAYVW1bHS+eRIv5kYugMpu0M12KF4w5s+gkbhaW1Pbs2AvSy+yZjTChzLkjgxdk9j048y+GroCuQuG3nBl2M2Bx7j2aJToOh9+EFIoCi9qezAsrEMdjVgp0dWsInXnOJEb+te3UX/UuMN9lCzVFEorkvN5eVFE2okggPEfHcO2TfRP6khSuTpgRUfBnOUwViDCsZaYxrA3Tbf7ChQKgs4Oy0C0QqBqbKt/wGI2YpZggX6iRp+XgZxNofmSF7xthnQmLyy3M2hfwj5+WWFfrBrAsCBfudbhToSEUc5Xmw9iopXsbkBabCF8wjSCdh/2+bvm5Z6B/7mxYdRwM8OsRr8D4= + +# Build visual tests on Node.js 7 +matrix: + include: + - node_js: 7 + script: yarn run build && yarn run test:visual:run + # Install a C++11 compatible compiler addons: apt: diff --git a/tests/visual/baseline/ci/admonition/#bug/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#bug/@screen/chrome.png new file mode 100644 index 000000000..4ccf0e966 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#bug/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#custom-title/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#custom-title/@screen/chrome.png new file mode 100644 index 000000000..1782463a1 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#custom-title/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#danger/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#danger/@screen/chrome.png new file mode 100644 index 000000000..e0f398456 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#danger/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#empty-title/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#empty-title/@screen/chrome.png new file mode 100644 index 000000000..2b3c4aa59 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#empty-title/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#failure/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#failure/@screen/chrome.png new file mode 100644 index 000000000..a5c5a3f4e Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#failure/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#long-title/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#long-title/@screen/chrome.png new file mode 100644 index 000000000..6b3ade2eb Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#long-title/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#note/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#note/@screen/chrome.png new file mode 100644 index 000000000..09adda507 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#note/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#success/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#success/@screen/chrome.png new file mode 100644 index 000000000..3fd4669d7 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#success/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#summary/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#summary/@screen/chrome.png new file mode 100644 index 000000000..2570f04ea Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#summary/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#tip/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#tip/@screen/chrome.png new file mode 100644 index 000000000..09e2d44fa Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#tip/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/#warning/@screen/chrome.png b/tests/visual/baseline/ci/admonition/#warning/@screen/chrome.png new file mode 100644 index 000000000..e33690e29 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/#warning/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/@mobile-landscape/chrome.png b/tests/visual/baseline/ci/admonition/@mobile-landscape/chrome.png new file mode 100644 index 000000000..48c972f2d Binary files /dev/null and b/tests/visual/baseline/ci/admonition/@mobile-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/@mobile-portrait/chrome.png b/tests/visual/baseline/ci/admonition/@mobile-portrait/chrome.png new file mode 100644 index 000000000..397fda7ac Binary files /dev/null and b/tests/visual/baseline/ci/admonition/@mobile-portrait/chrome.png differ diff --git a/tests/visual/baseline/ci/admonition/@tablet-portrait/chrome.png b/tests/visual/baseline/ci/admonition/@tablet-portrait/chrome.png new file mode 100644 index 000000000..e11512e05 Binary files /dev/null and b/tests/visual/baseline/ci/admonition/@tablet-portrait/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/@screen/chrome.png new file mode 100644 index 000000000..e3d3ed243 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/@tablet-landscape/chrome.png new file mode 100644 index 000000000..1d8a828a4 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@screen/chrome.png new file mode 100644 index 000000000..0754f895e Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@tablet-landscape/chrome.png new file mode 100644 index 000000000..860d12e53 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@screen/chrome.png new file mode 100644 index 000000000..68c8faa99 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@tablet-landscape/chrome.png new file mode 100644 index 000000000..be1b16948 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:focus/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@screen/chrome.png new file mode 100644 index 000000000..68c8faa99 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@tablet-landscape/chrome.png new file mode 100644 index 000000000..e86e13489 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/:hover/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@screen/chrome.png new file mode 100644 index 000000000..39b39096c Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@tablet-landscape/chrome.png new file mode 100644 index 000000000..674191021 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item--nested/md-nav__link/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@screen/chrome.png new file mode 100644 index 000000000..f4029a9c3 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@tablet-landscape/chrome.png new file mode 100644 index 000000000..7eb039de4 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/:last-child/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@screen/chrome.png new file mode 100644 index 000000000..47a9bf09f Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@tablet-landscape/chrome.png new file mode 100644 index 000000000..120d4aa3e Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__item/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@screen/chrome.png new file mode 100644 index 000000000..9bb8460c7 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@tablet-landscape/chrome.png new file mode 100644 index 000000000..2ebf16e27 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:focus/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@screen/chrome.png new file mode 100644 index 000000000..9bb8460c7 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@tablet-landscape/chrome.png new file mode 100644 index 000000000..2ebf16e27 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/:hover/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@screen/chrome.png new file mode 100644 index 000000000..d779a4917 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@tablet-landscape/chrome.png new file mode 100644 index 000000000..120d4aa3e Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link--active/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@screen/chrome.png new file mode 100644 index 000000000..69bfe76d4 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@tablet-landscape/chrome.png new file mode 100644 index 000000000..21a619674 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:focus/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@screen/chrome.png new file mode 100644 index 000000000..69bfe76d4 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@tablet-landscape/chrome.png new file mode 100644 index 000000000..21a619674 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/:hover/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@screen/chrome.png new file mode 100644 index 000000000..62d9fdeeb Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@tablet-landscape/chrome.png new file mode 100644 index 000000000..aadfbfb43 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__link/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@screen/chrome.png new file mode 100644 index 000000000..ffe044216 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@tablet-landscape/chrome.png new file mode 100644 index 000000000..710701a0c Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/@tablet-landscape/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@screen/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@screen/chrome.png new file mode 100644 index 000000000..3930ff933 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@screen/chrome.png differ diff --git a/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@tablet-landscape/chrome.png b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@tablet-landscape/chrome.png new file mode 100644 index 000000000..9785e5a79 Binary files /dev/null and b/tests/visual/baseline/ci/md-nav--primary/md-nav__title/~overflow/@tablet-landscape/chrome.png differ diff --git a/tests/visual/config/gemini.sauce-connect.json b/tests/visual/config/gemini.sauce-connect.json index b76b180e5..eee4e3bff 100644 --- a/tests/visual/config/gemini.sauce-connect.json +++ b/tests/visual/config/gemini.sauce-connect.json @@ -3,12 +3,55 @@ "gridUrl": "http://ondemand.saucelabs.com/wd/hub", "screenshotsDir": "./tests/visual/baseline/ci", "browsers": { + "chrome": { + "desiredCapabilities": { + "browserName": "chrome", + "platform": "Windows 10", + "screenResolution": "1280x1024", + "recordVideo": "false" + } + }, + "firefox": { + "desiredCapabilities": { + "browserName": "firefox", + "platform": "Windows 10", + "screenResolution": "1280x1024", + "recordVideo": "false" + } + }, + "safari": { + "desiredCapabilities": { + "browserName": "safari", + "platform": "macOS 10.12", + "screenResolution": "1280x1024", + "recordVideo": "false" + } + }, + "edge": { + "desiredCapabilities": { + "browserName": "edge", + "version": "14.14393", + "platform": "Windows 10", + "screenResolution": "1280x1024", + "recordVideo": "false" + } + }, "ie11": { "desiredCapabilities": { "browserName": "internet explorer", "version": "11.103", "platform": "Windows 10", - "screenResolution": "1280x1024" + "screenResolution": "1280x1024", + "recordVideo": "false" + } + }, + "ie10": { + "desiredCapabilities": { + "browserName": "internet explorer", + "version": "10.0", + "platform": "Windows 8", + "screenResolution": "1280x1024", + "recordVideo": "false" } } },