woocommerce/tests/e2e-tests/wp-admin
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
..
wp-admin-coupon-new.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
wp-admin-order-new.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
wp-admin-product-new.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
wp-admin-wc-settings-general.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
wp-admin-wc-settings-products-downloadable.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00
wp-admin-wc-settings-tax.js Take screenshots of failed e2e tests (#20313) 2018-06-07 11:31:37 -03:00