|
|
@ -3,7 +3,7 @@ version: 2.1 |
|
|
|
parameters: |
|
|
|
parameters: |
|
|
|
run_flaky_tests: |
|
|
|
run_flaky_tests: |
|
|
|
type: boolean |
|
|
|
type: boolean |
|
|
|
default: false |
|
|
|
default: true |
|
|
|
orbs: |
|
|
|
orbs: |
|
|
|
browser-tools: circleci/browser-tools@1.4.0 |
|
|
|
browser-tools: circleci/browser-tools@1.4.0 |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
@ -81,7 +81,7 @@ jobs: |
|
|
|
type: string |
|
|
|
type: string |
|
|
|
jobsize: |
|
|
|
jobsize: |
|
|
|
type: string |
|
|
|
type: string |
|
|
|
parallelism: 10 |
|
|
|
parallelism: 50 |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- browser-tools/install-browser-tools |
|
|
|
- browser-tools/install-browser-tools |
|
|
|
- run: |
|
|
|
- run: |
|
|
@ -90,7 +90,6 @@ jobs: |
|
|
|
firefox --version |
|
|
|
firefox --version |
|
|
|
geckodriver --version |
|
|
|
geckodriver --version |
|
|
|
chromedriver --version |
|
|
|
chromedriver --version |
|
|
|
java -jar /usr/local/bin/selenium.jar --version |
|
|
|
|
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Check out previous test metadata |
|
|
|
name: Check out previous test metadata |
|
|
|
command: | |
|
|
|
command: | |
|
|
@ -107,9 +106,10 @@ jobs: |
|
|
|
- run: yarn |
|
|
|
- run: yarn |
|
|
|
- run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist |
|
|
|
- run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist |
|
|
|
- run: ls -la ./dist/apps/remix-ide/assets/js |
|
|
|
- run: ls -la ./dist/apps/remix-ide/assets/js |
|
|
|
|
|
|
|
- run: yarn run selenium-install |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Start Selenium |
|
|
|
name: Start Selenium |
|
|
|
command: java -jar /usr/local/bin/selenium.jar |
|
|
|
command: yarn run selenium |
|
|
|
background: true |
|
|
|
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: |
|
|
@ -141,7 +141,6 @@ jobs: |
|
|
|
firefox --version |
|
|
|
firefox --version |
|
|
|
geckodriver --version |
|
|
|
geckodriver --version |
|
|
|
chromedriver --version |
|
|
|
chromedriver --version |
|
|
|
java -jar /usr/local/bin/selenium.jar --version |
|
|
|
|
|
|
|
name: Check install |
|
|
|
name: Check install |
|
|
|
- checkout |
|
|
|
- checkout |
|
|
|
- attach_workspace: |
|
|
|
- attach_workspace: |
|
|
@ -153,9 +152,10 @@ jobs: |
|
|
|
- run: yarn |
|
|
|
- run: yarn |
|
|
|
- run: unzip ./persist/dist.zip |
|
|
|
- run: unzip ./persist/dist.zip |
|
|
|
- run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist |
|
|
|
- run: yarn run downloadsolc_assets_e2e && yarn run downloadsolc_assets_dist |
|
|
|
|
|
|
|
- run: yarn run selenium-install |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Start Selenium |
|
|
|
name: Start Selenium |
|
|
|
command: java -jar /usr/local/bin/selenium.jar |
|
|
|
command: yarn run selenium |
|
|
|
background: true |
|
|
|
background: true |
|
|
|
- run: ./apps/remix-ide/ci/<< parameters.script >> |
|
|
|
- run: ./apps/remix-ide/ci/<< parameters.script >> |
|
|
|
- store_test_results: |
|
|
|
- store_test_results: |
|
|
|