|
|
|
@ -111,6 +111,12 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- browser-tools/install-chrome |
|
|
|
|
- browser-tools/install-chromedriver |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
google-chrome --version |
|
|
|
|
chromedriver --version |
|
|
|
|
java -jar /usr/local/bin/selenium.jar --version |
|
|
|
|
name: Check install |
|
|
|
|
- checkout |
|
|
|
|
- attach_workspace: |
|
|
|
|
at: . |
|
|
|
@ -119,10 +125,9 @@ jobs: |
|
|
|
|
keys: |
|
|
|
|
- v1-deps-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: npm install |
|
|
|
|
- run: npm run selenium-install |
|
|
|
|
- run: |
|
|
|
|
name: Start Selenium |
|
|
|
|
command: npx selenium-standalone start |
|
|
|
|
command: java -jar /usr/local/bin/selenium.jar |
|
|
|
|
background: true |
|
|
|
|
- run: ./apps/remix-ide/ci/browser_test.sh chrome |
|
|
|
|
- store_test_results: |
|
|
|
@ -149,6 +154,12 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- browser-tools/install-firefox |
|
|
|
|
- browser-tools/install-geckodriver |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
firefox --version |
|
|
|
|
geckodriver --version |
|
|
|
|
java -jar /usr/local/bin/selenium.jar --version |
|
|
|
|
name: Check install |
|
|
|
|
- checkout |
|
|
|
|
- attach_workspace: |
|
|
|
|
at: . |
|
|
|
@ -157,10 +168,9 @@ jobs: |
|
|
|
|
keys: |
|
|
|
|
- v1-deps-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: npm install |
|
|
|
|
- run: npm run selenium-install |
|
|
|
|
- run: |
|
|
|
|
name: Start Selenium |
|
|
|
|
command: npx selenium-standalone start |
|
|
|
|
command: java -jar /usr/local/bin/selenium.jar |
|
|
|
|
background: true |
|
|
|
|
- run: ./apps/remix-ide/ci/browser_test.sh firefox |
|
|
|
|
- store_test_results: |
|
|
|
@ -187,6 +197,13 @@ jobs: |
|
|
|
|
steps: |
|
|
|
|
- browser-tools/install-chrome |
|
|
|
|
- browser-tools/install-chromedriver |
|
|
|
|
- run: |
|
|
|
|
command: | |
|
|
|
|
google-chrome --version |
|
|
|
|
chromedriver --version |
|
|
|
|
java -jar /usr/local/bin/selenium.jar --version |
|
|
|
|
name: Check install |
|
|
|
|
- checkout |
|
|
|
|
- checkout |
|
|
|
|
- attach_workspace: |
|
|
|
|
at: . |
|
|
|
@ -195,10 +212,9 @@ jobs: |
|
|
|
|
keys: |
|
|
|
|
- v1-deps-{{ checksum "package-lock.json" }} |
|
|
|
|
- run: npm install |
|
|
|
|
- run: npm run selenium-install |
|
|
|
|
- run: |
|
|
|
|
name: Start Selenium |
|
|
|
|
command: npx selenium-standalone start |
|
|
|
|
command: java -jar /usr/local/bin/selenium.jar |
|
|
|
|
background: true |
|
|
|
|
- run: ./apps/remix-ide/ci/browser_tests_plugin_api.sh |
|
|
|
|
- store_test_results: |
|
|
|
|