зеркало из https://github.com/dotnet/aspnetcore.git
Quarantine CanAddAndDisposeRootComponents (#38693)
This commit is contained in:
Родитель
e521f8663b
Коммит
ba18614ec2
|
@ -44,8 +44,11 @@ jobs:
|
|||
displayName: NPM install
|
||||
- script: .dotnet/dotnet build ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-restore
|
||||
displayName: Build
|
||||
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --logger trx
|
||||
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter QuarantinedTest\!~github --logger trx
|
||||
displayName: Run E2E tests
|
||||
- script: .dotnet/dotnet test ./src/Components/test/E2ETest -c $(BuildConfiguration) --no-build --filter QuarantinedTest~github -p:RunQuarantinedTests=true --logger trx
|
||||
displayName: Run Quarantined E2E tests
|
||||
continueOnError: true
|
||||
- task: PublishTestResults@2
|
||||
displayName: Publish E2E Test Results
|
||||
inputs:
|
||||
|
@ -54,6 +57,16 @@ jobs:
|
|||
searchFolder: '$(Build.SourcesDirectory)/src/Components/test/E2ETest/TestResults'
|
||||
testRunTitle: ComponentsE2E-$(AgentOsName)-$(BuildConfiguration)-xunit
|
||||
condition: always()
|
||||
- task: PublishTestResults@2
|
||||
displayName: Publish Quarantined E2E Test Results
|
||||
inputs:
|
||||
testResultsFormat: 'xUnit'
|
||||
testResultsFiles: '*.xml'
|
||||
searchFolder: '$(Build.SourcesDirectory)/artifacts/TestResults/$(_BuildConfig)/Quarantined'
|
||||
testRunTitle: Quarantine-$(AgentOsName)-$(BuildConfiguration)-xunit
|
||||
mergeTestResults: true
|
||||
condition: always()
|
||||
|
||||
artifacts:
|
||||
- name: Components_E2E_Test_Logs
|
||||
path: ./src/Components/test/E2ETest/TestResults
|
||||
|
|
|
@ -36,6 +36,7 @@ public class JSRootComponentsTest : ServerTestBase<ToggleExecutionModeServerFixt
|
|||
[InlineData(false, true)]
|
||||
[InlineData(true, false)]
|
||||
[InlineData(true, true)]
|
||||
[QuarantinedTest("https://github.com/dotnet/aspnetcore/issues/38613")]
|
||||
public void CanAddAndDisposeRootComponents(bool intoBlazorUi, bool attachShadowRoot)
|
||||
{
|
||||
var message = app.FindElement(By.Id("message"));
|
||||
|
|
Загрузка…
Ссылка в новой задаче