diff --git a/.circleci/config.yml b/.circleci/config.yml index cfa67a8cf5..adc592c1c4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -395,10 +395,18 @@ jobs: steps: - run: mkdir -p node_modules/selenium-standalone/.selenium/chromedriver/latest-x64/ - run: cp ~/bin/chromedriver /home/circleci/remix-project/node_modules/selenium-standalone/.selenium/chromedriver/latest-x64/ - - run: - name: Start Selenium - command: yarn run selenium - background: true + - run: + name: run selenium + command: yarn selenium-standalone start --singleDriverStart=chrome + background: true + - when: + condition: + equal: [ "firefox", << parameters.browser >> ] + steps: + - run: + name: run selenium + command: yarn selenium-standalone start --singleDriverStart=firefox + background: true - run: ./apps/remix-ide/ci/<< parameters.script >> << parameters.browser >> << parameters.jobsize >> << parameters.job >> - store_test_results: path: ./reports/tests @@ -445,7 +453,7 @@ jobs: - run: cp ~/bin/chromedriver /home/circleci/remix-project/node_modules/selenium-standalone/.selenium/chromedriver/latest-x64/ - run: name: Start Selenium - command: yarn run selenium + command: yarn run selenium --singleDriverStart=chrome background: true - run: ./apps/remix-ide/ci/browser_test_plugin.sh << parameters.plugin >> - store_test_results: