From c8d03d01426c4f63f2024d5b3b59d040fec5a2a8 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Thu, 5 Nov 2020 17:24:54 +0100 Subject: [PATCH] Update ci config with working selenium version --- .circleci/config.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7605c97042..074a0d2c07 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,10 +21,10 @@ jobs: steps: - checkout - # - run: npm install - # - run: npm run lint:libs - # - run: npm run build:libs - # - run: npm run test:libs + - run: npm install + - run: npm run lint:libs + - run: npm run build:libs + - run: npm run test:libs remix-ide-chrome: docker: @@ -50,20 +50,12 @@ jobs: - run: npm run build:libs - run: npm run downloadsolc_root - run: npm run build - # - run: - # name: Download Compatible JAVA Version for Selenium - # command: | - # java -version - # sudo apt-get purge --auto-remove java-common - # sudo apt-get update - # sudo apt-get install openjdk-8-jdk - # java -version - run: name: Download Selenium command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com - run: name: Start Selenium - command: ./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com + command: ./node_modules/.bin/selenium-standalone start background: true - run: ./apps/remix-ide/ci/browser_tests_chrome.sh - store_test_results: @@ -97,10 +89,10 @@ jobs: - run: npm run build - run: name: Download Selenium - command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js + command: ./node_modules/.bin/selenium-standalone install --version=3.8.1 --baseURL=https://selenium-release.storage.googleapis.com - run: name: Start Selenium - command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js + command: ./node_modules/.bin/selenium-standalone start background: true - run: name: Download Latest Firefox @@ -137,20 +129,12 @@ jobs: - run: npm run build:libs - run: npm run downloadsolc_root - run: npm run build - # - run: - # name: Download Compatible JAVA Version for Selenium - # command: | - # java -version - # sudo apt-get purge --auto-remove java-common - # sudo apt-get update - # sudo apt-get install openjdk-8-jdk - # java -version - run: name: Download Selenium - command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js + command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com - run: name: Start Selenium - command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js + command: ./node_modules/.bin/selenium-standalone start background: true - run: ./apps/remix-ide/ci/browser_tests_run_deploy.sh - store_test_results: