Skip to content

The Unified and Autonomous Development Platform

Edit .onedev-buildspec.yml

Robin Shenaafed5e3b690
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml
index d83b7622ae..8ec94cbfd9 100644
--- a/.onedev-buildspec.yml
+++ b/.onedev-buildspec.yml
@@ -394,13 +394,20 @@ jobs:
shell: sh
commands: |
mvn test
+
cd e2e-test
npm install
- npm test
+ CI=true PLAYWRIGHT_JSON_OUTPUT_NAME=test-results/report.json npx playwright test --reporter=json --output=test-results
runAs: 0:0
useTTY: true
condition: SUCCESSFUL
optional: false
+ - type: PublishPlaywrightReportStep
+ name: publish E2E test report
+ reportName: E2E Test Report
+ filePatterns: e2e-test/test-results/**
+ condition: ALWAYS
+ optional: false
triggers:
- type: BranchUpdateTrigger
branches: main