woocommerce/tests/e2e-tests
Brent Sessions c64a35300a Take screenshots of failed e2e tests (#20313)
This adds screenshots for broken e2e tests. The screenshots will also be uploaded to an Amazon S3 instance from Travis CI so they can be viewed. If run locally, there will be a screenshots directory created where they can be viewed

If there is a failed e2e test you'll see a block under `travis.sh after` in the build log in Travis CI that will give the URLs for the images.

* Adding screenshot capabilities to all tests

* trying screenshots on S3

* try to get a failed test

* finding the right path

* fixing yml

* only taking failed screenshots

* fixing yml

* moving paths to env

* fixing target

* try without artifact target

* fixing test

* setting back temporary changes

* fixing spacing

* unneeded change

* trying different uploader

* Force a failed test

* fixing test again

* fixing  unneeded change

* updating git ignore
2018-06-07 11:31:37 -03:00
..
config Run e2e tests on Travis builds (#18374) 2018-01-18 16:42:19 -02:00
data Update e2e sql db 2017-12-13 12:58:18 -08:00
wp-admin Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
cart-page.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
checkout-page.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
my-account-page.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
single-product.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00