Re-enable e2e tests and disabled metamask test

pull/5370/head
ioedeveloper 4 years ago
parent 691836b9ea
commit b767937136
  1. 80
      .circleci/config.yml
  2. 1
      apps/remix-ide-e2e/src/tests/runAndDeploy.ts

@ -45,23 +45,23 @@ jobs:
parallelism: 20 parallelism: 20
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# # - run: npm run lint remix-ide-e2e # - run: npm run lint remix-ide-e2e
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run build - run: npm run build
# - run: - run:
# name: Download Selenium name: Download Selenium
# command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
# - run: - run:
# name: Start Selenium name: Start Selenium
# command: ./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com command: ./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
# background: true background: true
# - run: ./apps/remix-ide/ci/browser_tests_chrome.sh - run: ./apps/remix-ide/ci/browser_tests_chrome.sh
# - store_test_results: - store_test_results:
# path: ./reports/tests path: ./reports/tests
# - store_artifacts: - store_artifacts:
# path: ./reports/screenshots path: ./reports/screenshots
remix-ide-firefox: remix-ide-firefox:
docker: docker:
@ -82,29 +82,29 @@ jobs:
parallelism: 20 parallelism: 20
steps: steps:
- checkout - checkout
# - run: npm install - run: npm install
# - run: npm run lint - run: npm run lint
# # - run: npm run lint remix-ide-e2e # - run: npm run lint remix-ide-e2e
# - run: npm run build:libs - run: npm run build:libs
# - run: npm run build - run: npm run build
# - run: - run:
# name: Download Selenium name: Download Selenium
# command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
# - run: - run:
# name: Start Selenium name: Start Selenium
# command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
# background: true background: true
# - run: - run:
# name: Download Latest Firefox name: Download Latest Firefox
# command: sudo apt-get purge -y firefox && wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb command: sudo apt-get purge -y firefox && wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
# - run: - run:
# name: Install Firefox name: Install Firefox
# command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
# - run: ./apps/remix-ide/ci/browser_tests_firefox.sh - run: ./apps/remix-ide/ci/browser_tests_firefox.sh
# - store_test_results: - store_test_results:
# path: ./reports/tests path: ./reports/tests
# - store_artifacts: - store_artifacts:
# path: ./reports/screenshots path: ./reports/screenshots
remix-ide-run-deploy: remix-ide-run-deploy:
docker: docker:

@ -128,6 +128,7 @@ module.exports = {
.waitForElementPresent('.transaction-status--submitted') .waitForElementPresent('.transaction-status--submitted')
.pause(25000) .pause(25000)
.switchBrowserTab(0) .switchBrowserTab(0)
.end()
}, },
'Should connect to Ethereum Main Network using MetaMask': '' + function (browser: NightwatchBrowser) { 'Should connect to Ethereum Main Network using MetaMask': '' + function (browser: NightwatchBrowser) {

Loading…
Cancel
Save