Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix VT video test fail in firefox #12188

Merged
merged 5 commits into from
Oct 11, 2024
Merged

Fix VT video test fail in firefox #12188

merged 5 commits into from
Oct 11, 2024

Conversation

bluwy
Copy link
Member

@bluwy bluwy commented Oct 11, 2024

Changes

Fix the fail happening in main now due to archive.org being down. This commits a video (493KB) to git so we can fetch the video locally.

I also fixed the tests where the video didn't really run at all.

UPDATE: I simply skipped in on firefox for now as for some reason it keeps on failing on CI, even if it works for me locally.

Testing

pnpm test:e2e:firefox view-transitions

Docs

n/a

Copy link

changeset-bot bot commented Oct 11, 2024

⚠️ No Changeset found

Latest commit: 65b491c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Oct 11, 2024
test('<video> can persist using transition:persist', async ({ page, astro }) => {
test('<video> can persist using transition:persist', async ({ page, astro, browserName }) => {
// NOTE: works locally but fails on CI
test.skip(browserName === 'firefox', 'Firefox has issues playing the video. Errors on play()');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't run it in firefox in CI do we?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do with test:e2e:firefox

@matthewp
Copy link
Contributor

My PR didn't need to disable firefox, so hopefully it was the video that was the issue.

@bluwy
Copy link
Member Author

bluwy commented Oct 11, 2024

I want to disable firefox because the test is not testing on firefox correctly due to a weird firefox behaviour. It's not due to the archive.org video bug.

@bluwy bluwy merged commit 650dd22 into main Oct 11, 2024
13 checks passed
@bluwy bluwy deleted the fix-firefox-video-test-fail branch October 11, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants