mirror of
https://github.com/wassname/talk.git
synced 2026-06-29 05:18:32 +08:00
Sort reports by browser
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ test:
|
||||
override:
|
||||
# Run the tests using the junit reporter.
|
||||
- MOCHA_FILE=$CIRCLE_TEST_REPORTS/junit/test-results.xml MOCHA_REPORTER=mocha-junit-reporter yarn test
|
||||
- REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/browserstack yarn e2e-ci
|
||||
- yarn e2e-ci
|
||||
|
||||
deployment:
|
||||
release:
|
||||
|
||||
+6
-6
@@ -4,20 +4,20 @@ set -e
|
||||
|
||||
if [[ "${CIRCLE_BRANCH}" == "master" ]]; then
|
||||
# Test using browserstack.
|
||||
yarn e2e-browserstack -- --env chrome
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/chrome yarn e2e-browserstack -- --env chrome
|
||||
sleep 2
|
||||
|
||||
yarn e2e-browserstack -- --env firefox
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/firefox yarn e2e-browserstack -- --env firefox
|
||||
sleep 2
|
||||
|
||||
yarn e2e-browserstack -- --env safari
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/safari yarn e2e-browserstack -- --env safari
|
||||
sleep 2
|
||||
|
||||
yarn e2e-browserstack -- --env ie
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/ie yarn e2e-browserstack -- --env ie
|
||||
sleep 2
|
||||
|
||||
yarn e2e-browserstack -- --env edge
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/edge yarn e2e-browserstack -- --env edge
|
||||
else
|
||||
# When browserstack is not available test locally using chrome headless.
|
||||
yarn e2e -- --env chrome-headless
|
||||
REPORTS_FOLDER=$CIRCLE_TEST_REPORTS/chrome yarn e2e -- --env chrome-headless
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user