Quarantine CanAddAndDisposeRootComponents (#38693)

This commit is contained in:
Tanay Parikh 2021-11-29 14:08:06 -08:00 коммит произвёл GitHub
Родитель e521f8663b
Коммит ba18614ec2
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 15 добавлений и 1 удалений

Просмотреть файл

@ -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"));