Merge branch 'master' of https://github.com/ethereum/remix-project into jest
commit
3b18e73dd7
@ -0,0 +1,23 @@ |
|||||||
|
{ |
||||||
|
"name": "remix-ide-e2e", |
||||||
|
"license": "MIT", |
||||||
|
"engines": { |
||||||
|
"node": "^14.17.6", |
||||||
|
"npm": "^6.14.15" |
||||||
|
}, |
||||||
|
"dependencies": { |
||||||
|
"@openzeppelin/contracts": "^4.7.3", |
||||||
|
"@openzeppelin/contracts-upgradeable": "^4.8.1", |
||||||
|
"@openzeppelin/upgrades-core": "^1.22.0", |
||||||
|
"@openzeppelin/wizard": "^0.1.1", |
||||||
|
"@remix-project/remixd": "../../dist/libs/remixd", |
||||||
|
"deep-equal": "^1.0.1", |
||||||
|
"ganache-cli": "^6.8.1", |
||||||
|
"selenium-standalone": "^8.2.3", |
||||||
|
"tree-kill": "^1.2.2" |
||||||
|
}, |
||||||
|
"devDependencies": { |
||||||
|
"http-server": "^14.1.1", |
||||||
|
"nightwatch": "2.3" |
||||||
|
} |
||||||
|
} |
File diff suppressed because it is too large
Load Diff
@ -1,26 +0,0 @@ |
|||||||
#!/usr/bin/env bash |
|
||||||
|
|
||||||
set -e |
|
||||||
|
|
||||||
BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} |
|
||||||
echo "$BUILD_ID" |
|
||||||
TEST_EXITCODE=0 |
|
||||||
|
|
||||||
yarn build etherscan |
|
||||||
yarn run serve:production & |
|
||||||
npx nx serve etherscan & |
|
||||||
|
|
||||||
sleep 5 |
|
||||||
|
|
||||||
yarn run build:e2e |
|
||||||
|
|
||||||
TESTFILES=$(grep -IRiL "\'@disabled\': \?true" "dist/apps/remix-ide-e2e/src/tests" | grep "etherscan_api" | sort | circleci tests split ) |
|
||||||
for TESTFILE in $TESTFILES; do |
|
||||||
npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js $TESTFILE --env=chrome || TEST_EXITCODE=1 |
|
||||||
done |
|
||||||
|
|
||||||
echo "$TEST_EXITCODE" |
|
||||||
if [ "$TEST_EXITCODE" -eq 1 ] |
|
||||||
then |
|
||||||
exit 1 |
|
||||||
fi |
|
@ -1,26 +0,0 @@ |
|||||||
#!/usr/bin/env bash |
|
||||||
|
|
||||||
set -e |
|
||||||
|
|
||||||
BUILD_ID=${CIRCLE_BUILD_NUM:-${TRAVIS_JOB_NUMBER}} |
|
||||||
echo "$BUILD_ID" |
|
||||||
TEST_EXITCODE=0 |
|
||||||
|
|
||||||
yarn build vyper |
|
||||||
yarn run serve:production & |
|
||||||
npx nx serve vyper & |
|
||||||
|
|
||||||
sleep 5 |
|
||||||
|
|
||||||
yarn run build:e2e |
|
||||||
|
|
||||||
TESTFILES=$(grep -IRiL "\'@disabled\': \?true" "dist/apps/remix-ide-e2e/src/tests" | grep "vyper_api" | sort | circleci tests split ) |
|
||||||
for TESTFILE in $TESTFILES; do |
|
||||||
npx nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js $TESTFILE --env=chrome || TEST_EXITCODE=1 |
|
||||||
done |
|
||||||
|
|
||||||
echo "$TEST_EXITCODE" |
|
||||||
if [ "$TEST_EXITCODE" -eq 1 ] |
|
||||||
then |
|
||||||
exit 1 |
|
||||||
fi |
|
Loading…
Reference in new issue