V14 QA Skip Users tests on Sqlite (#17330)
* Split sqlite test because we run into db locks
* Uses the new command
(cherry picked from commit 728dc89909)
This commit is contained in:
committed by
Andreas Zerbst
parent
07a9196320
commit
126bce7721
@@ -513,7 +513,7 @@ stages:
|
||||
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
|
||||
|
||||
# Test
|
||||
- pwsh: npm run smokeTest --ignore-certificate-errors
|
||||
- pwsh: npm run smokeTestSqlite --ignore-certificate-errors
|
||||
displayName: Run Playwright tests
|
||||
continueOnError: true
|
||||
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
|
||||
|
||||
@@ -207,9 +207,9 @@ stages:
|
||||
|
||||
# Test
|
||||
- ${{ if eq(parameters.runSmokeTests, true) }}:
|
||||
pwsh: npm run smokeTest --ignore-certificate-errors
|
||||
pwsh: npm run smokeTestSqlite --ignore-certificate-errors
|
||||
${{ else }}:
|
||||
pwsh: npm run test --ignore-certificate-errors
|
||||
pwsh: npm run testSqlite --ignore-certificate-errors
|
||||
displayName: Run Playwright tests
|
||||
continueOnError: true
|
||||
workingDirectory: tests/Umbraco.Tests.AcceptanceTest
|
||||
|
||||
@@ -6,9 +6,11 @@
|
||||
"config": "node config.js",
|
||||
"ui": "npx playwright test --headed DefaultConfig",
|
||||
"test": "npx playwright test DefaultConfig",
|
||||
"testSqlite": "npx playwright test DefaultConfig --grep-invert \"Users\"",
|
||||
"all": "npx playwright test",
|
||||
"createTest": "node createTest.js",
|
||||
"smokeTest": "npx playwright test DefaultConfig --grep \"@smoke\""
|
||||
"smokeTest": "npx playwright test DefaultConfig --grep \"@smoke\"",
|
||||
"smokeTestSqlite": "npx playwright test DefaultConfig --grep \"@smoke\" --grep-invert \"Users\""
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.43",
|
||||
|
||||
Reference in New Issue
Block a user