|
|
@ -395,10 +395,18 @@ jobs: |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- run: mkdir -p node_modules/selenium-standalone/.selenium/chromedriver/latest-x64/ |
|
|
|
- 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: cp ~/bin/chromedriver /home/circleci/remix-project/node_modules/selenium-standalone/.selenium/chromedriver/latest-x64/ |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Start Selenium |
|
|
|
name: run selenium |
|
|
|
command: yarn run selenium |
|
|
|
command: yarn selenium-standalone start --singleDriverStart=chrome |
|
|
|
background: true |
|
|
|
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 >> |
|
|
|
- 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 |
|
|
@ -445,7 +453,7 @@ jobs: |
|
|
|
- run: cp ~/bin/chromedriver /home/circleci/remix-project/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: |
|
|
|
- run: |
|
|
|
name: Start Selenium |
|
|
|
name: Start Selenium |
|
|
|
command: yarn run selenium |
|
|
|
command: yarn run selenium --singleDriverStart=chrome |
|
|
|
background: true |
|
|
|
background: true |
|
|
|
- run: ./apps/remix-ide/ci/browser_test_plugin.sh << parameters.plugin >> |
|
|
|
- run: ./apps/remix-ide/ci/browser_test_plugin.sh << parameters.plugin >> |
|
|
|
- store_test_results: |
|
|
|
- store_test_results: |
|
|
|