Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
dc8d5602
Commit
dc8d5602
authored
Jan 13, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-enable e2e tests and disabled metamask test
parent
65e6a324
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
40 deletions
+41
-40
config.yml
.circleci/config.yml
+40
-40
runAndDeploy.ts
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
+1
-0
No files found.
.circleci/config.yml
View file @
dc8d5602
...
...
@@ -45,23 +45,23 @@ jobs:
parallelism
:
20
steps
:
-
checkout
#
- run: npm install
#
- run: npm run lint
#
#
- run: npm run lint remix-ide-e2e
#
- run: npm run build:libs
#
- run: npm run build
#
- run:
#
name: Download Selenium
#
command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
#
- run:
#
name: Start Selenium
#
command: ./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
#
background: true
#
- run: ./apps/remix-ide/ci/browser_tests_chrome.sh
#
- store_test_results:
#
path: ./reports/tests
#
- store_artifacts:
#
path: ./reports/screenshots
-
run
:
npm install
-
run
:
npm run lint
# - run: npm run lint remix-ide-e2e
-
run
:
npm run build:libs
-
run
:
npm run build
-
run
:
name
:
Download Selenium
command
:
./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
-
run
:
name
:
Start Selenium
command
:
./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com
background
:
true
-
run
:
./apps/remix-ide/ci/browser_tests_chrome.sh
-
store_test_results
:
path
:
./reports/tests
-
store_artifacts
:
path
:
./reports/screenshots
remix-ide-firefox
:
docker
:
...
...
@@ -82,29 +82,29 @@ jobs:
parallelism
:
20
steps
:
-
checkout
#
- run: npm install
#
- run: npm run lint
#
#
- run: npm run lint remix-ide-e2e
#
- run: npm run build:libs
#
- run: npm run build
#
- run:
#
name: Download Selenium
#
command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
#
- run:
#
name: Start Selenium
#
command: ./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
#
background: true
#
- run:
#
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
#
- run:
#
name: Install Firefox
#
command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
#
- run: ./apps/remix-ide/ci/browser_tests_firefox.sh
#
- store_test_results:
#
path: ./reports/tests
#
- store_artifacts:
#
path: ./reports/screenshots
-
run
:
npm install
-
run
:
npm run lint
# - run: npm run lint remix-ide-e2e
-
run
:
npm run build:libs
-
run
:
npm run build
-
run
:
name
:
Download Selenium
command
:
./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
-
run
:
name
:
Start Selenium
command
:
./node_modules/.bin/selenium-standalone start --config=../remix-project/apps/remix-ide-e2e/seleniumConfig.js
background
:
true
-
run
:
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
-
run
:
name
:
Install Firefox
command
:
sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb
-
run
:
./apps/remix-ide/ci/browser_tests_firefox.sh
-
store_test_results
:
path
:
./reports/tests
-
store_artifacts
:
path
:
./reports/screenshots
remix-ide-run-deploy
:
docker
:
...
...
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
View file @
dc8d5602
...
...
@@ -128,6 +128,7 @@ module.exports = {
.
waitForElementPresent
(
'.transaction-status--submitted'
)
.
pause
(
25000
)
.
switchBrowserTab
(
0
)
.
end
()
},
'Should connect to Ethereum Main Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment