rm checkout browser ls -la mv scripts mv scripts extra dep change script build:e2e mv scripts mv script selenium mv script ls ls ls ls nightwatch add tslib deep-equal serve tree-kill remixd log remixd debug undo yarn e2e add remixd update revert no wget package do not build e2e debug add nightwatch update pack if master branch config config config confihg config config rename config config config config remove deps split test more groups rm pause rm pause plugins build plugin tests update config permissions packages update ports config config config config rename matrix build update name rm files rm typescript renamepull/5370/head
parent
8035fe2da8
commit
9b88afdffd
@ -0,0 +1,28 @@ |
|||||||
|
{ |
||||||
|
"name": "remix-ide-e2e", |
||||||
|
"license": "MIT", |
||||||
|
"engines": { |
||||||
|
"node": "^14.17.6", |
||||||
|
"npm": "^6.14.15" |
||||||
|
}, |
||||||
|
"scripts": { |
||||||
|
"remixd": "chmod +x dist/libs/remixd/src/bin/remixd.js && dist/libs/remixd/src/bin/remixd.js --remix-ide http://127.0.0.1:8080" |
||||||
|
}, |
||||||
|
"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", |
||||||
|
"axios": "1.1.2", |
||||||
|
"deep-equal": "^1.0.1", |
||||||
|
"ganache-cli": "^6.8.1", |
||||||
|
"selenium-standalone": "^8.2.3", |
||||||
|
"tree-kill": "^1.2.2", |
||||||
|
"tslib": "^2.3.0" |
||||||
|
}, |
||||||
|
"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