-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fix components-e2e Pipeline
#38704
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 components-e2e Pipeline
#38704
Conversation
Support for the `QuarantinedTest` attribute. Using the `Quarantined` trait defined here: https://github.com/dotnet/aspnetcore/blob/ba18614ec220c1209a3976f66aacc2c761568931/src/Testing/src/xunit/QuarantinedTestTraitDiscoverer.cs#L18 Extension of #38693 which got auto-merged.
|
Out of curiosity, where do quarantined Blazor e2e tests run? |
They're now being run as part of a new step of the |
- I pointed to an `xUnit` example, sorry
dougbu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More…
|
Thanks Doug, applied your suggestions (and replaced |
|
Looks like copying from Arcade didn't help you: |
|
|
| - script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter 'Quarantined!=true|Quarantined=false' | ||
| --logger:"trx%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.trx" | ||
| --logger:"html%3BLogFileName=Microsoft.AspNetCore.Components.E2ETests.html" | ||
| --results-directory $(Build.SourcesDirectory)/artifacts/TestResults/$(BuildConfiguration)/Unquarantined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: We don't include /Unquarantined elsewhere but I guess it doesn't matter much if the artifacts are a bit different from those we see in other non-quarantined pipelines.
* Fix `components-e2e` Pipeline Support for the `QuarantinedTest` attribute. Using the `Quarantined` trait defined here: https://github.com/dotnet/aspnetcore/blob/ba18614ec220c1209a3976f66aacc2c761568931/src/Testing/src/xunit/QuarantinedTestTraitDiscoverer.cs#L18 Extension of #38693 which got auto-merged. * Update components-e2e-tests.yml * PR Feedback * Update components-e2e-tests.yml - I pointed to an `xUnit` example, sorry * PR Feedback * PR Feedback * Update artifacts dir Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>
* Quarantine CanAddAndDisposeRootComponents (#38693) * Fix `components-e2e` Pipeline (#38704) * Fix `components-e2e` Pipeline Support for the `QuarantinedTest` attribute. Using the `Quarantined` trait defined here: https://github.com/dotnet/aspnetcore/blob/ba18614ec220c1209a3976f66aacc2c761568931/src/Testing/src/xunit/QuarantinedTestTraitDiscoverer.cs#L18 Extension of #38693 which got auto-merged. * Update components-e2e-tests.yml * PR Feedback * Update components-e2e-tests.yml - I pointed to an `xUnit` example, sorry * PR Feedback * PR Feedback * Update artifacts dir Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com> Co-authored-by: Doug Bunting <6431421+dougbu@users.noreply.github.com>

Support for the
QuarantinedTestattribute.Using the
Quarantinedtrait defined here:aspnetcore/src/Testing/src/xunit/QuarantinedTestTraitDiscoverer.cs
Line 18 in ba18614
Extension of #38693 which got auto-merged.