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

cherry-pick(#32094): fix(test runner): run project dependencies of --only-changed test files #32172

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Aug 15, 2024

Closes #32070. We were applying additionalFileMatcher not just to filteredProjectSuites, but also to projectSuites. projectSuites is where we take dependency projects from, though - so --only-changed led to empty dependency projects, resulting in the reported bug.

The fix is to only apply additionalFileMatcher on filteredProjectSuites.

…iles (microsoft#32094)

Closes microsoft#32070. We were
applying `additionalFileMatcher` not just to `filteredProjectSuites`,
but also to `projectSuites`. `projectSuites` is where we take dependency
projects from, though - so `--only-changed` led to empty dependency
projects, resulting in the reported bug.

The fix is to only apply `additionalFileMatcher` on
`filteredProjectSuites`.
@Skn0tt Skn0tt self-assigned this Aug 15, 2024
@Skn0tt Skn0tt merged commit 7cf7aec into microsoft:release-1.46 Aug 15, 2024
29 checks passed
Copy link
Contributor

Test results for "tests 1"

4 flaky ⚠️ [playwright-test] › ui-mode-test-setup.spec.ts:87:5 › should show errors in config
⚠️ [chromium-library] › library/browsercontext-fetch-happy-eyeballs.spec.ts:46:3 › get should work
⚠️ [playwright-test] › ui-mode-test-screencast.spec.ts:21:5 › should show screenshots
⚠️ [webkit-library] › library/browsercontext-clearcookies.spec.ts:92:3 › should remove cookies by domain

29492 passed, 855 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant