@@ -117,8 +117,7 @@ stages:
117117 - checkout : self
118118 submodules : false
119119 lfs : false,
120- fetchDepth : 1
121- fetchFilter : tree:0
120+ fetchDepth : 500
122121 - template : templates/backoffice-install.yml
123122 - script : npm run build:for:npm
124123 displayName : Run build:for:npm
@@ -302,27 +301,27 @@ stages:
302301 LinuxPart1Of3 :
303302 vmImage : " ubuntu-latest"
304303 # Filter tests that are part of the Umbraco.Infrastructure namespace but not part of the Umbraco.Infrastructure.Service namespace
305- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)'
304+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)"
306305 LinuxPart2Of3 :
307306 vmImage : " ubuntu-latest"
308307 # Filter tests that are part of the Umbraco.Infrastructure.Service namespace
309- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure.Service)'
308+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure.Service)"
310309 LinuxPart3Of3 :
311310 vmImage : " ubuntu-latest"
312311 # Filter tests that are not part of the Umbraco.Infrastructure namespace. So this will run all tests that are not part of the Umbraco.Infrastructure namespace
313- testFilter : ' (FullyQualifiedName!~Umbraco.Infrastructure)'
312+ testFilter : " (FullyQualifiedName!~Umbraco.Infrastructure)"
314313 macOSPart1Of3 :
315314 vmImage : " macOS-latest"
316315 # Filter tests that are part of the Umbraco.Infrastructure namespace but not part of the Umbraco.Infrastructure.Service namespace
317- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)'
316+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)"
318317 macOSPart2Of3 :
319318 vmImage : " macOS-latest"
320319 # Filter tests that are part of the Umbraco.Infrastructure.Service namespace
321- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure.Service)'
320+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure.Service)"
322321 macOSPart3Of3 :
323322 vmImage : " macOS-latest"
324323 # Filter tests that are not part of the Umbraco.Infrastructure namespace.
325- testFilter : ' (FullyQualifiedName!~Umbraco.Infrastructure)'
324+ testFilter : " (FullyQualifiedName!~Umbraco.Infrastructure)"
326325 pool :
327326 vmImage : $(vmImage)
328327 variables :
@@ -374,40 +373,40 @@ stages:
374373 Tests__Database__DatabaseType : LocalDb
375374 Tests__Database__SQLServerMasterConnectionString : N/A
376375 # Filter tests that are part of the Umbraco.Infrastructure namespace but not part of the Umbraco.Infrastructure.Service namespace
377- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)'
376+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)"
378377 WindowsPart2Of3 :
379378 vmImage : " windows-latest"
380379 Tests__Database__DatabaseType : LocalDb
381380 Tests__Database__SQLServerMasterConnectionString : N/A
382381 # Filter tests that are part of the Umbraco.Infrastructure.Service namespace
383- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure.Service)'
382+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure.Service)"
384383 WindowsPart3Of3 :
385384 vmImage : " windows-latest"
386385 Tests__Database__DatabaseType : LocalDb
387386 Tests__Database__SQLServerMasterConnectionString : N/A
388387 # Filter tests that are not part of the Umbraco.Infrastructure namespace. So this will run all tests that are not part of the Umbraco.Infrastructure namespace
389- testFilter : ' (FullyQualifiedName!~Umbraco.Infrastructure)'
388+ testFilter : " (FullyQualifiedName!~Umbraco.Infrastructure)"
390389 LinuxPart1Of3 :
391390 vmImage : " ubuntu-latest"
392391 SA_PASSWORD : UmbracoIntegration123!
393392 Tests__Database__DatabaseType : SqlServer
394393 Tests__Database__SQLServerMasterConnectionString : " Server=(local);User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
395394 # Filter tests that are part of the Umbraco.Infrastructure namespace but not part of the Umbraco.Infrastructure.Service namespace
396- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)'
395+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure) & (FullyQualifiedName!~Umbraco.Infrastructure.Service)"
397396 LinuxPart2Of3 :
398397 vmImage : " ubuntu-latest"
399398 SA_PASSWORD : UmbracoIntegration123!
400399 Tests__Database__DatabaseType : SqlServer
401400 Tests__Database__SQLServerMasterConnectionString : " Server=(local);User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
402401 # Filter tests that are part of the Umbraco.Infrastructure.Service namespace
403- testFilter : ' (FullyQualifiedName~Umbraco.Infrastructure.Service)'
402+ testFilter : " (FullyQualifiedName~Umbraco.Infrastructure.Service)"
404403 LinuxPart3Of3 :
405404 vmImage : " ubuntu-latest"
406405 SA_PASSWORD : UmbracoIntegration123!
407406 Tests__Database__DatabaseType : SqlServer
408407 Tests__Database__SQLServerMasterConnectionString : " Server=(local);User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
409408 # Filter tests that are not part of the Umbraco.Infrastructure namespace. So this will run all tests that are not part of the Umbraco.Infrastructure namespace
410- testFilter : ' (FullyQualifiedName!~Umbraco.Infrastructure)'
409+ testFilter : " (FullyQualifiedName!~Umbraco.Infrastructure)"
411410 pool :
412411 vmImage : $(vmImage)
413412 steps :
@@ -493,22 +492,22 @@ stages:
493492 matrix :
494493 LinuxPart1Of3 :
495494 vmImage : " ubuntu-latest"
496- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=1/3"
495+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke"--shard=1/3'
497496 LinuxPart2Of3 :
498497 vmImage : " ubuntu-latest"
499- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=2/3"
498+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=2/3'
500499 LinuxPart3Of3 :
501500 vmImage : " ubuntu-latest"
502- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=3/3"
501+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=3/3'
503502 WindowsPart1Of3 :
504503 vmImage : " windows-latest"
505- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=1/3"
504+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=1/3'
506505 WindowsPart2Of3 :
507506 vmImage : " windows-latest"
508- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=2/3"
507+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=2/3'
509508 WindowsPart3Of3 :
510509 vmImage : " windows-latest"
511- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --shard=3/3"
510+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --shard=3/3'
512511 pool :
513512 vmImage : $(vmImage)
514513 steps :
@@ -636,29 +635,29 @@ stages:
636635 matrix :
637636 ${{ if eq(parameters.sqlServerLinuxAcceptanceTests, True) }} :
638637 LinuxPart1Of3 :
639- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=1/3"
638+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=1/3'
640639 vmImage : " ubuntu-latest"
641640 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
642641 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
643642 LinuxPart2Of3 :
644- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=2/3"
643+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=2/3'
645644 vmImage : " ubuntu-latest"
646645 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
647646 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
648647 LinuxPart3Of3 :
649- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=3/3"
648+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=3/3'
650649 vmImage : " ubuntu-latest"
651650 SA_PASSWORD : $(UMBRACO__CMS__UNATTENDED__UNATTENDEDUSERPASSWORD)
652651 CONNECTIONSTRINGS__UMBRACODBDSN : " Server=(local);Database=Umbraco;User Id=sa;Password=$(SA_PASSWORD);TrustServerCertificate=True"
653652 WindowsPart1Of3 :
654653 vmImage : " windows-latest"
655- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=1/3"
654+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=1/3'
656655 WindowsPart2Of3 :
657656 vmImage : " windows-latest"
658- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=2/3"
657+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=2/3'
659658 WindowsPart3Of3 :
660659 vmImage : " windows-latest"
661- testCommand : " npx playwright test DefaultConfig --grep \ " @smoke\ " --grep-invert \ " Users\ " --shard=3/3"
660+ testCommand : ' npx playwright test DefaultConfig --grep "@smoke" --grep-invert "Users" --shard=3/3'
662661 pool :
663662 vmImage : $(vmImage)
664663 steps :
0 commit comments