Skip to content

Commit b360762

Browse files
authored
V15 QA disabled SQLite test workers for acceptance tests (#18306)
* Added a parameter that by default skips the sqlite acceptance tests * Added timeout for flaky test * Removed continue on error * Created tests that fails to ensure that the update is working as expected * Fixed tests
1 parent edeac44 commit b360762

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

build/azure-pipelines.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ parameters:
99
displayName: Run SQL Server Linux Acceptance Tests
1010
type: boolean
1111
default: false
12+
# Skipped due to DB locks, the tests are still being run on the Nightly build
13+
- name: sqliteAcceptanceTests
14+
displayName: Run SQLite Acceptance Tests
15+
type: boolean
16+
default: false
1217
- name: myGetDeploy
1318
displayName: Deploy to MyGet
1419
type: boolean
@@ -484,6 +489,8 @@ stages:
484489
# E2E Tests
485490
- job:
486491
displayName: E2E Tests (SQLite)
492+
# currently disabled due to DB locks randomly occuring.
493+
condition: eq(${{parameters.sqliteAcceptanceTests}}, True)
487494
variables:
488495
# Connection string
489496
CONNECTIONSTRINGS__UMBRACODBDSN: Data Source=Umbraco;Mode=Memory;Cache=Shared;Foreign Keys=True;Pooling=True
@@ -593,7 +600,6 @@ stages:
593600
# Test
594601
- pwsh: $(testCommand)
595602
displayName: Run Playwright tests
596-
continueOnError: true
597603
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
598604
env:
599605
CI: true
@@ -750,7 +756,6 @@ stages:
750756
# Test
751757
- pwsh: $(testCommand)
752758
displayName: Run Playwright tests
753-
continueOnError: true
754759
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
755760
env:
756761
CI: true
@@ -798,7 +803,7 @@ stages:
798803
dependsOn:
799804
- Unit
800805
- Integration
801-
# - E2E
806+
- E2E
802807
condition: and(succeeded(), or(eq(dependencies.Build.outputs['A.build.NBGV_PublicRelease'], 'True'), ${{parameters.myGetDeploy}}))
803808
jobs:
804809
- job:

tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Settings/DocumentType/DocumentType.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ test('can rename a document type', {tag: '@smoke'}, async ({umbracoApi, umbracoU
8383

8484
// Act
8585
await umbracoUi.documentType.goToDocumentType(wrongName);
86+
await umbracoUi.waitForTimeout(1000);
8687
await umbracoUi.documentType.enterDocumentTypeName(documentTypeName);
88+
await umbracoUi.waitForTimeout(1000);
8789
await umbracoUi.documentType.clickSaveButton();
8890

8991
// Assert

0 commit comments

Comments
 (0)