Skip to content

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

Merged
Skn0tt merged 1 commit intomicrosoft:release-1.46from
Skn0tt:cp-32094
Aug 15, 2024
Merged

cherry-pick(#32094): fix(test runner): run project dependencies of --only-changed test files#32172
Skn0tt merged 1 commit intomicrosoft:release-1.46from
Skn0tt:cp-32094

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
@github-actions
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