From 613bfed182f469c0128e1e7b9c453e4668298192 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 2 Mar 2022 21:53:31 +0100 Subject: [PATCH] fix loading selenium --- .circleci/config.yml | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dd164a4383..492f14f187 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -111,6 +111,12 @@ jobs: steps: - browser-tools/install-chrome - browser-tools/install-chromedriver + - run: + command: | + google-chrome --version + chromedriver --version + java -jar /usr/local/bin/selenium.jar --version + name: Check install - checkout - attach_workspace: at: . @@ -119,10 +125,9 @@ jobs: keys: - v1-deps-{{ checksum "package-lock.json" }} - run: npm install - - run: npm run selenium-install - run: name: Start Selenium - command: npx selenium-standalone start + command: java -jar /usr/local/bin/selenium.jar background: true - run: ./apps/remix-ide/ci/browser_test.sh chrome - store_test_results: @@ -149,6 +154,12 @@ jobs: steps: - browser-tools/install-firefox - browser-tools/install-geckodriver + - run: + command: | + firefox --version + geckodriver --version + java -jar /usr/local/bin/selenium.jar --version + name: Check install - checkout - attach_workspace: at: . @@ -157,10 +168,9 @@ jobs: keys: - v1-deps-{{ checksum "package-lock.json" }} - run: npm install - - run: npm run selenium-install - run: name: Start Selenium - command: npx selenium-standalone start + command: java -jar /usr/local/bin/selenium.jar background: true - run: ./apps/remix-ide/ci/browser_test.sh firefox - store_test_results: @@ -187,6 +197,13 @@ jobs: steps: - browser-tools/install-chrome - 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: at: . @@ -195,10 +212,9 @@ jobs: keys: - v1-deps-{{ checksum "package-lock.json" }} - run: npm install - - run: npm run selenium-install - run: name: Start Selenium - command: npx selenium-standalone start + command: java -jar /usr/local/bin/selenium.jar background: true - run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh - store_test_results: