Skip to content
Snippets Groups Projects
Commit deadf721 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix travis e2e

parent 493998fe
No related branches found
No related tags found
No related merge requests found
......@@ -48,16 +48,15 @@ jobs:
- stage: local e2e
# type = api - should only be activated by API
# when send API, ensure to set env TEST_SUITE=e2e-local to explicitly trigger this build
if: type = api
if: (type = api) AND (env(TEST_SUITE) IS present)
name: e2e (local)
install:
- npm i
- npm run wd -- update --versions.chrome=${CHROMIUM_VERSION}
- npm i --no-save puppeteer@${PPTR_VERSION}
script:
- ATLAS_URL=$TEST_SUITE
- echo Running test against $ATLAS_URL
- npm run e2e
- echo Running test against $TEST_SUITE
- ATLAS_URL=$TEST_SUITE npm run e2e
env:
- CHROMIUM_VERSION=80.0.3987.106
- PPTR_VERSION=2.1.0
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment