pull/5370/head
bunsenstraat 7 months ago
parent df33d5c2c5
commit 8f3d1c0380
  1. 10
      .circleci/config.yml
  2. 5
      chrome.sh

@ -360,6 +360,10 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: . at: .
- run: unzip ./persist/dist.zip
- run: yarn install --cwd ./apps/remix-ide-e2e --modules-folder ../../node_modules
- run: mkdir node_modules/hardhat && wget https://unpkg.com/hardhat/console.sol -O node_modules/hardhat/console.sol
- run: ls -la ./dist/apps/remix-ide/assets/js
- when: - when:
condition: condition:
equal: [ "chrome", << parameters.browser >> ] equal: [ "chrome", << parameters.browser >> ]
@ -382,12 +386,6 @@ jobs:
install-chromedriver: false install-chromedriver: false
- run: sh ./chrome.sh - run: sh ./chrome.sh
- run: firefox --version - run: firefox --version
- run: unzip ./persist/dist.zip
- run: yarn install --cwd ./apps/remix-ide-e2e --modules-folder ../../node_modules
- run: mkdir node_modules/hardhat && wget https://unpkg.com/hardhat/console.sol -O node_modules/hardhat/console.sol
- run: ls -la ./dist/apps/remix-ide/assets/js
- run: ./apps/remix-ide/ci/<< parameters.script >> << parameters.browser >> << parameters.jobsize >> << parameters.job >> - run: ./apps/remix-ide/ci/<< parameters.script >> << parameters.browser >> << parameters.jobsize >> << parameters.job >>
- store_test_results: - store_test_results:
path: ./reports/tests path: ./reports/tests

@ -1,6 +1,5 @@
google-chrome --version > version.txt google-chrome --version > version.txt
VERSION=$(grep -Eo '[0-9]+\.' < version.txt | head -1 | cut -d'.' -f1) VERSION=$(grep -Eo '[0-9]+\.' < version.txt | head -1 | cut -d'.' -f1)
echo "CHROME DRIVER INSTALL $VERSION" echo "CHROME DRIVER INSTALL $VERSION"
yarn add -D chromedriver@$VERSION yarn add -D chromedriver@$VERSION geckodriver
rm version.txt rm version.txt
yarn add -D geckodriver
Loading…
Cancel
Save