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
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user