diff --git a/build/nightly-E2E-test-pipelines.yml b/build/nightly-E2E-test-pipelines.yml index 579ec9c908..8aa2f1fd64 100644 --- a/build/nightly-E2E-test-pipelines.yml +++ b/build/nightly-E2E-test-pipelines.yml @@ -129,7 +129,6 @@ stages: # E2E Tests - job: displayName: E2E Tests (SQLite) - # currently disabled due to DB locks randomly occuring. condition: eq(${{parameters.sqliteAcceptanceTests}}, True) timeoutInMinutes: 180 variables: @@ -140,22 +139,22 @@ stages: matrix: LinuxPart1Of3: vmImage: "ubuntu-latest" - testCommand: "npm run test -- --shard=1/3" + testCommand: "npm run testSqlite -- --shard=1/3" LinuxPart2Of3: vmImage: "ubuntu-latest" - testCommand: "npm run test -- --shard=2/3" + testCommand: "npm run testSqlite -- --shard=2/3" LinuxPart3Of3: vmImage: "ubuntu-latest" - testCommand: "npm run test -- --shard=3/3" + testCommand: "npm run testSqlite -- --shard=3/3" WindowsPart1Of3: vmImage: "windows-latest" - testCommand: "npm run test -- --shard=1/3" + testCommand: "npm run testSqlite -- --shard=1/3" WindowsPart2Of3: vmImage: "windows-latest" - testCommand: "npm run test -- --shard=2/3" + testCommand: "npm run testSqlite -- --shard=2/3" WindowsPart3Of3: vmImage: "windows-latest" - testCommand: "npm run test -- --shard=3/3" + testCommand: "npm run testSqlite -- --shard=3/3" pool: vmImage: $(vmImage) steps: @@ -297,29 +296,29 @@ stages: strategy: matrix: LinuxPart1Of3: - testCommand: "npm run testSqlite -- --shard=1/3" + testCommand: "npm run test -- --shard=1/3" vmImage: "ubuntu-latest" SA_PASSWORD: $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD) CONNECTIONSTRINGS__UMBRACODBDSN: "Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True" LinuxPart2Of3: - testCommand: "npm run testSqlite -- --shard=2/3" + testCommand: "npm run test -- --shard=2/3" vmImage: "ubuntu-latest" SA_PASSWORD: $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD) CONNECTIONSTRINGS__UMBRACODBDSN: "Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True" LinuxPart3Of3: - testCommand: "npm run testSqlite -- --shard=3/3" + testCommand: "npm run test -- --shard=3/3" vmImage: "ubuntu-latest" SA_PASSWORD: $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD) CONNECTIONSTRINGS__UMBRACODBDSN: "Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);Encrypt=True;TrustServerCertificate=True" WindowsPart1Of3: vmImage: "windows-latest" - testCommand: "npm run testSqlite -- --shard=1/3" + testCommand: "npm run test -- --shard=1/3" WindowsPart2Of3: vmImage: "windows-latest" - testCommand: "npm run testSqlite -- --shard=2/3" + testCommand: "npm run test -- --shard=2/3" WindowsPart3Of3: vmImage: "windows-latest" - testCommand: "npm run testSqlite -- --shard=3/3" + testCommand: "npm run test -- --shard=3/3" pool: vmImage: $(vmImage) steps: diff --git a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithMultiURLPicker.spec.ts b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithMultiURLPicker.spec.ts index 25e3f113ec..7d3c76884a 100644 --- a/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithMultiURLPicker.spec.ts +++ b/tests/Umbraco.Tests.AcceptanceTest/tests/DefaultConfig/Content/ContentWithMultiURLPicker.spec.ts @@ -17,7 +17,8 @@ test.afterEach(async ({umbracoApi}) => { await umbracoApi.documentType.ensureNameNotExists(documentTypeName); }); -test('can create content with the document link', {tag: '@smoke'}, async ({umbracoApi, umbracoUi}) => { +// TODO, this is flaky on the pipeline, not locally. Look into why +test.fixme('can create content with the document link', {tag: '@smoke'}, async ({umbracoApi, umbracoUi}) => { // Arrange const expectedState = 'Draft'; const dataTypeData = await umbracoApi.dataType.getByName(dataTypeName); @@ -87,7 +88,7 @@ test('can publish content with the document link', async ({umbracoApi, umbracoUi await umbracoUi.content.clickSaveAndPublishButton(); // Assert - //await umbracoUi.content.doesSuccessNotificationsHaveCount(2); + //await umbracoUi.content.doesSuccessNotificationsHaveCount(2); await umbracoUi.content.isErrorNotificationVisible(false); expect(await umbracoApi.document.doesNameExist(contentName)).toBeTruthy(); const contentData = await umbracoApi.document.getByName(contentName);