fix loading selenium

pull/2070/head
yann300 3 years ago
parent 0994713437
commit 10109256ee
  1. 28
      .circleci/config.yml

@ -111,6 +111,12 @@ jobs:
steps: steps:
- browser-tools/install-chrome - browser-tools/install-chrome
- browser-tools/install-chromedriver - browser-tools/install-chromedriver
- run:
command: |
google-chrome --version
chromedriver --version
java -jar /usr/local/bin/selenium.jar --version
name: Check install
- checkout - checkout
- attach_workspace: - attach_workspace:
at: . at: .
@ -119,10 +125,9 @@ jobs:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: npm install
- run: npm run selenium-install
- run: - run:
name: Start Selenium name: Start Selenium
command: npx selenium-standalone start command: java -jar /usr/local/bin/selenium.jar
background: true background: true
- run: ./apps/remix-ide/ci/browser_test.sh chrome - run: ./apps/remix-ide/ci/browser_test.sh chrome
- store_test_results: - store_test_results:
@ -149,6 +154,12 @@ jobs:
steps: steps:
- browser-tools/install-firefox - browser-tools/install-firefox
- browser-tools/install-geckodriver - browser-tools/install-geckodriver
- run:
command: |
firefox --version
geckodriver --version
java -jar /usr/local/bin/selenium.jar --version
name: Check install
- checkout - checkout
- attach_workspace: - attach_workspace:
at: . at: .
@ -157,10 +168,9 @@ jobs:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: npm install
- run: npm run selenium-install
- run: - run:
name: Start Selenium name: Start Selenium
command: npx selenium-standalone start command: java -jar /usr/local/bin/selenium.jar
background: true background: true
- run: ./apps/remix-ide/ci/browser_test.sh firefox - run: ./apps/remix-ide/ci/browser_test.sh firefox
- store_test_results: - store_test_results:
@ -187,6 +197,13 @@ jobs:
steps: steps:
- browser-tools/install-chrome - browser-tools/install-chrome
- browser-tools/install-chromedriver - browser-tools/install-chromedriver
- run:
command: |
google-chrome --version
chromedriver --version
java -jar /usr/local/bin/selenium.jar --version
name: Check install
- checkout
- checkout - checkout
- attach_workspace: - attach_workspace:
at: . at: .
@ -195,10 +212,9 @@ jobs:
keys: keys:
- v1-deps-{{ checksum "package-lock.json" }} - v1-deps-{{ checksum "package-lock.json" }}
- run: npm install - run: npm install
- run: npm run selenium-install
- run: - run:
name: Start Selenium name: Start Selenium
command: npx selenium-standalone start command: java -jar /usr/local/bin/selenium.jar
background: true background: true
- run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh - run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh
- store_test_results: - store_test_results:

Loading…
Cancel
Save