From 5517cc28d0dc5a4243b8076142975452c89d8d44 Mon Sep 17 00:00:00 2001 From: Sam Macbeth Date: Wed, 27 Dec 2023 16:54:32 +0000 Subject: [PATCH] Run subset test on Jenkins --- Jenkinsfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ffe5ac54..575df5c6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -3,7 +3,7 @@ def runPlaywrightTests(resultDir, browser, grep) { timeout(20) { sh 'mkdir -p ./test-results' sh """ - PLAYWRIGHT_JUNIT_OUTPUT_NAME=results.xml npx playwright test --project $browser --reporter=junit --grep "$grep"|| true + PLAYWRIGHT_JUNIT_OUTPUT_NAME=results.xml npx playwright test tests/_sample-test.spec.ts --project $browser --reporter=junit --grep "$grep"|| true """ } } finally { @@ -77,13 +77,5 @@ pipeline { } } } - - stage('Test: FR') { - steps { - withEnvFile("${params.TEST_RESULT_ROOT}/fr.env") { - runPlaywrightTests(params.TEST_RESULT_ROOT, params.BROWSER, params.GREP) - } - } - } } }