Skip to content

Commit

Permalink
Silne30/visual regression rests 521 (#630)
Browse files Browse the repository at this point in the history
* Added webdriver config, testing framework, googledriver, chromedriver and iedriver config, and saucelabs configuration.

* package.json and yarn.lock changes.

* Added condition for ie only to run in CI or on windows machine.

* Added card and table sample apps to run tests against. Added configuration for webpack.

* Added dep to start dev server and then run tests and changed webdriver and webpack config to work together.

* Added jetbrains idea files to ignore

* Added baselines for chrome, ie, and FF.

* Removed old baselines and changed configurations.

* Added new baseline images for chrome and firefox.

* Added environment specific baseline snapshots.

* Changed config to use existing src-docs page and added toast test.

* Changed testing suites to use docs page. Edited table createDataStore to also be able to serve a static order for visual testing purposes.

* Changed wdio to use selenium 3.4 because of issue with selenium 3.7 and chromedriver.

* Added baseline images to npm_ignore along with other directories we don't want included. Added readme. Added script for jenkins to run tests.

* Renamed script to indicate that jenkins is to run it.

* Updated yarn.lock.

* Fixed merge conflicts.

* Added ability to check out master.

* Added javascript script to run tests against master for the current user. Also removed baseline images as the tests will run twice, the first will create the baselines.

* Added .keep file to maintain the folder structure.

* Changed the repo back to current repo.

* Moved webdriverio and nodegit to devDependencies

* refactor run-visual-tests.js into async/await

* Cleaned up the visual test code and some configs

* Use silne30/wdio-visual-regression-service#Add_Filename_To_Result for source of wdio-visual-regression-service
  • Loading branch information
cuff-links authored Apr 26, 2018
1 parent f619949 commit 2beada7
Show file tree
Hide file tree
Showing 18 changed files with 3,634 additions and 245 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
.idea
node_modules/
test/spec/screenshots/baseline/**/*.png
test/spec/screenshots/diff/**/*.png
test/spec/screenshots/screen/**/*.png
test/failure-screenshots/**/*.png

reports/
tmp/
Expand Down
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ node_modules/
docs/
reports/
tmp/
wiki/
generator-eui/
test/
src-docs/
scripts/


.DS_Store
Expand Down
Loading

0 comments on commit 2beada7

Please sign in to comment.