fix: CI e2e超时修复,减少spec数量 #31
@@ -62,9 +62,10 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run only verified-passing specs
|
||||
# Run all specs except demo-walkthrough (too slow for CI)
|
||||
cd frontend
|
||||
timeout 420 npx cypress run \
|
||||
--spec "cypress/e2e/!(demo-walkthrough).cy.js" \
|
||||
--config "video=false,defaultCommandTimeout=5000,pageLoadTimeout=10000,requestTimeout=5000,responseTimeout=10000,baseUrl=http://localhost:$FE_PORT,experimentalMemoryManagement=true,numTestsKeptInMemory=0" \
|
||||
--env "ADMIN_TOKEN=$ADMIN_TOKEN"
|
||||
EXIT_CODE=$?
|
||||
|
||||
Reference in New Issue
Block a user