diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 318ae7907a..3e4af2798e 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -9,6 +9,11 @@ parameters: displayName: Run SQL Server Linux Acceptance Tests type: boolean default: false + # Skipped due to DB locks, the tests are still being run on the Nightly build + - name: sqliteAcceptanceTests + displayName: Run SQLite Acceptance Tests + type: boolean + default: false - name: myGetDeploy displayName: Deploy to MyGet type: boolean @@ -484,6 +489,8 @@ stages: # E2E Tests - job: displayName: E2E Tests (SQLite) + # currently disabled due to DB locks randomly occuring. + condition: eq(${{parameters.sqliteAcceptanceTests}}, True) variables: # Connection string CONNECTIONSTRINGS__UMBRACODBDSN: Data Source=Umbraco;Mode=Memory;Cache=Shared;Foreign Keys=True;Pooling=True @@ -593,7 +600,6 @@ stages: # Test - pwsh: $(testCommand) displayName: Run Playwright tests - continueOnError: true workingDirectory: tests/Umbraco.Tests.AcceptanceTest env: CI: true @@ -750,7 +756,6 @@ stages: # Test - pwsh: $(testCommand) displayName: Run Playwright tests - continueOnError: true workingDirectory: tests/Umbraco.Tests.AcceptanceTest env: CI: true @@ -798,7 +803,7 @@ stages: dependsOn: - Unit - Integration - # - E2E + - E2E condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.myGetDeploy}})) jobs: - job: diff --git a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentType.spec.ts b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentType.spec.ts index 940de04f86..281969564d 100644 --- a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentType.spec.ts +++ b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentType.spec.ts @@ -83,7 +83,9 @@ test('can rename a document type', {tag: '@smoke'}, async ({umbracoApi, umbracoU // Act await umbracoUi.documentType.goToDocumentType(wrongName); + await umbracoUi.waitForTimeout(1000); await umbracoUi.documentType.enterDocumentTypeName(documentTypeName); + await umbracoUi.waitForTimeout(1000); await umbracoUi.documentType.clickSaveButton(); // Assert