Correct Firefox example artifacts and video #662
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR resolves the issue #661 "CI: Artifact and video warnings in example-firefox".
It corrects .github/workflows/example-firefox.yml by selecting the right directory to upload the screenshots captured by the Cypress v9 test and makes the name unique under which the artifacts are stored on GitHub.
It disables videos to prevent a video warning message appearing which is a known problem under Firefox (see Video functionality is not working on Firefox 93 and above cypress#18415).
Edit: removed..gitignore
files are created for both v9 and v10 Firefox tests in case the tests are used locally (rather than in the workflow).Verification
Find a successful run of the workflow example-firefox by searching on https://github.com/cypress-io/github-action/actions/workflows/example-firefox.yml?query=branch%3Amaster
In the "Artifacts" section check that
screenshots-in-firefox-v9
andscreenshots-in-firefox-v10
have both been uploaded. Download each artifact file and examine the contents.In the logs from
firefox-v9
andfirefox-v10
select and expand "Firefox". Check that there are no warnings regarding videos.Note: Since PR #660 has now been merged, the
v9
test is skipped, and therefore there is noscreenshots-in-firefox-v9
artifact uploaded and no detailed logs forfirefox-v9
available.