Skip to content

Commit

Permalink
Run subset test on Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
sammacbeth committed Jan 3, 2024
1 parent b906702 commit 5517cc2
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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)
}
}
}
}
}

0 comments on commit 5517cc2

Please sign in to comment.