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 test results CI path on Windows #6585

Merged
merged 2 commits into from
Sep 3, 2024
Merged

Conversation

moughxyz
Copy link
Contributor

@moughxyz moughxyz commented Sep 2, 2024

Playwright test results on Windows are not being uploaded to GitHub artifacts when a test fails.

Run actions/upload-artifact@v4
Warning: No files were found with the provided path: ~/.npm/_logs/. No artifacts will be uploaded.

It was refactored here: #6029

You can see examples of failed tests not uploading the .webm files here:

The playwright run log shows it's saving the video to test-results/ and not ~/.npm/_logs/

attachment #1: video (video/webm) ──────────────────────────────────────────────────────────────
test-results\e2e-Selection-Selection-Se-61a62--should-select-entire-table-chromium-retry1\video.webm

Video results do get uploaded correctly on non-Windows failures.

Ultimately I can't be sure this is the correct fix since I imagine I don't have permission to run modified workflows, but hoping to open this up to someone that may know better what's going on (cc @etrepum).

Copy link

vercel bot commented Sep 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 10:04pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 10:04pm

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 2, 2024
Copy link

github-actions bot commented Sep 2, 2024

size-limit report 📦

Path Size
lexical - cjs 29.38 KB (0%)
lexical - esm 29.22 KB (0%)
@lexical/rich-text - cjs 37.87 KB (0%)
@lexical/rich-text - esm 31.08 KB (0%)
@lexical/plain-text - cjs 36.45 KB (0%)
@lexical/plain-text - esm 28.44 KB (0%)
@lexical/react - cjs 39.64 KB (0%)
@lexical/react - esm 32.52 KB (0%)

@ivailop7 ivailop7 added the extended-tests Run extended e2e tests on a PR label Sep 3, 2024
Copy link
Collaborator

@etrepum etrepum left a comment

Choose a reason for hiding this comment

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

I also don't know why it was done this way originally. I did refactor it, but this path is from the whoever implemented it before. I don't currently have access to a windows machine to test this, but it couldn't hurt to try since we know the current setting is incorrect.

@etrepum etrepum added this pull request to the merge queue Sep 3, 2024
Merged via the queue into facebook:main with commit 4573fb0 Sep 3, 2024
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. extended-tests Run extended e2e tests on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants