@@ -492,22 +492,22 @@ stages:
492492 matrix :
493493 LinuxPart1Of3 :
494494 vmImage : " ubuntu-latest"
495- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=1/3'
495+ testCommand : " npm run smokeTest -- --shard=1/3"
496496 LinuxPart2Of3 :
497497 vmImage : " ubuntu-latest"
498- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=2/3'
498+ testCommand : " npm run smokeTest -- --shard=2/3"
499499 LinuxPart3Of3 :
500500 vmImage : " ubuntu-latest"
501- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=3/3'
501+ testCommand : " npm run smokeTest -- --shard=3/3"
502502 WindowsPart1Of3 :
503503 vmImage : " windows-latest"
504- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=1/3'
504+ testCommand : " npm run smokeTest -- --shard=1/3"
505505 WindowsPart2Of3 :
506506 vmImage : " windows-latest"
507- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=2/3'
507+ testCommand : " npm run smokeTest -- --shard=2/3"
508508 WindowsPart3Of3 :
509509 vmImage : " windows-latest"
510- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=3/3'
510+ testCommand : " npm run smokeTest -- --shard=3/3"
511511 pool :
512512 vmImage : $(vmImage)
513513 steps :
@@ -612,7 +612,7 @@ stages:
612612 # Copy artifacts
613613 - pwsh : |
614614 if (Test-Path tests/Umbraco.Tests.AcceptanceTest/results/*) {
615- Copy-Item tests/Umbraco.Tests.AcceptanceTest/results $(Build.ArtifactStagingDirectory) -Recurse
615+ Copy-Item tests/Umbraco.Tests.AcceptanceTest/results/* $(Build.ArtifactStagingDirectory) -Recurse
616616 }
617617 displayName: Copy Playwright results
618618 condition: succeededOrFailed()
@@ -623,8 +623,7 @@ stages:
623623 condition : succeededOrFailed()
624624 inputs :
625625 targetPath : $(Build.ArtifactStagingDirectory)
626- artifact : " Acceptance Tests - $(Agent.JobName) - Attempt #$(System.JobAttempt)"
627-
626+ artifact : " Acceptance Test Results - $(Agent.JobName) - Attempt #$(System.JobAttempt)"
628627 - job :
629628 displayName : E2E Tests (SQL Server)
630629 variables :
@@ -635,29 +634,29 @@ stages:
635634 matrix :
636635 ${{ if eq(parameters.sqlServerLinuxAcceptanceTests, True) }} :
637636 LinuxPart1Of3 :
638- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=1/3'
637+ testCommand : " npm run smokeTestSqlite -- -- shard=1/3"
639638 vmImage : " ubuntu-latest"
640639 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
641640 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
642641 LinuxPart2Of3 :
643- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=2/3'
642+ testCommand : " npm run smokeTestSqlite -- -- shard=2/3"
644643 vmImage : " ubuntu-latest"
645644 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
646645 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
647646 LinuxPart3Of3 :
648- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=3/3'
647+ testCommand : " npm run smokeTestSqlite -- -- shard=3/3"
649648 vmImage : " ubuntu-latest"
650649 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
651650 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
652651 WindowsPart1Of3 :
653652 vmImage : " windows-latest"
654- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=1/3'
653+ testCommand : " npm run smokeTestSqlite -- -- shard=1/3"
655654 WindowsPart2Of3 :
656655 vmImage : " windows-latest"
657- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=2/3'
656+ testCommand : " npm run smokeTestSqlite -- -- shard=2/3"
658657 WindowsPart3Of3 :
659658 vmImage : " windows-latest"
660- testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" -- shard=3/3'
659+ testCommand : " npm run smokeTestSqlite -- -- shard=3/3"
661660 pool :
662661 vmImage : $(vmImage)
663662 steps :
@@ -779,7 +778,7 @@ stages:
779778 # Copy artifacts
780779 - pwsh : |
781780 if (Test-Path tests/Umbraco.Tests.AcceptanceTest/results/*) {
782- Copy-Item tests/Umbraco.Tests.AcceptanceTest/results $(Build.ArtifactStagingDirectory) -Recurse
781+ Copy-Item tests/Umbraco.Tests.AcceptanceTest/results/* $(Build.ArtifactStagingDirectory) -Recurse
783782 }
784783 displayName: Copy Playwright results
785784 condition: succeededOrFailed()
@@ -790,8 +789,7 @@ stages:
790789 condition : succeededOrFailed()
791790 inputs :
792791 targetPath : $(Build.ArtifactStagingDirectory)
793- artifact : " Acceptance Tests - $(Agent.JobName) - Attempt #$(System.JobAttempt)"
794-
792+ artifact : " Acceptance Test Results - $(Agent.JobName) - Attempt #$(System.JobAttempt)"
795793 # ##############################################
796794 # # Release
797795 # ##############################################
0 commit comments