hackgvl / open-map-data-multi-layers-demo

A bookmarkable map displaying all layers from HackGreenville Labs' Open Map Data
https://hackgvl.github.io/open-map-data-multi-layers-demo/
MIT License
2 stars 2 forks source link

Add upload-artifact step to ci.yml #22

Closed ThorntonMatthewD closed 1 year ago

ThorntonMatthewD commented 1 year ago

Fixes #21

Summary

Uploads screenshots of test failures produced by Cypress in CI workflows.

They can be found in the "Artifacts" section of the summary pages of runs that have had e2e test failures. Screenshot_2023-10-08_19-51-32

These can be downloaded for use with troubleshooting test failures.

Example Workflow Summary with Artifacts

ThorntonMatthewD commented 1 year ago

The impetus behind this PR is myself scratching my head on the test failure seen in #20 's latest workflow run. :joy: It looks like maybe like the dev server didn't start in time before Cypress timed out on the first test? I'm hoping having the screenshots available from CI runs will prove helpful in debugging this and other test failures.