From 5303db991cd051e8a4ac0a1f1d7efd7f95d8614e Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Tue, 20 Feb 2024 10:51:15 +0100 Subject: [PATCH] run with chrome --- .circleci/config.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) 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: