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
ff67e32b
Unverified
Commit
ff67e32b
authored
Nov 30, 2020
by
David Disu
Committed by
GitHub
Nov 30, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #597 from ethereum/fix-debugger
Update E2E commands to support windows.
parents
1af1b7a9
afec3b9b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
57 deletions
+12
-57
browser_tests_chrome.sh
apps/remix-ide/ci/browser_tests_chrome.sh
+2
-2
browser_tests_firefox.sh
apps/remix-ide/ci/browser_tests_firefox.sh
+2
-2
browser_tests_run_deploy.sh
apps/remix-ide/ci/browser_tests_run_deploy.sh
+1
-1
package.json
package.json
+0
-0
workspace.json
workspace.json
+7
-52
No files found.
apps/remix-ide/ci/browser_tests_chrome.sh
View file @
ff67e32b
...
@@ -13,11 +13,11 @@ npm run remixd &
...
@@ -13,11 +13,11 @@ npm run remixd &
sleep
5
sleep
5
np
x nx build remix-ide-
e2e
np
m run build:
e2e
TESTFILES
=
$(
circleci tests glob
"dist/apps/remix-ide-e2e/src/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
TESTFILES
=
$(
circleci tests glob
"dist/apps/remix-ide-e2e/src/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
for
TESTFILE
in
$TESTFILES
;
do
for
TESTFILE
in
$TESTFILES
;
do
npx n
x e2e remix-ide-e2e
--filePath
=
$TESTFILE
--env
=
chrome
||
TEST_EXITCODE
=
1
npx n
ightwatch
--config
dist/apps/remix-ide-e2e/nightwatch.js
$TESTFILE
--env
=
chrome
||
TEST_EXITCODE
=
1
done
done
echo
"
$TEST_EXITCODE
"
echo
"
$TEST_EXITCODE
"
...
...
apps/remix-ide/ci/browser_tests_firefox.sh
View file @
ff67e32b
...
@@ -13,11 +13,11 @@ npm run remixd &
...
@@ -13,11 +13,11 @@ npm run remixd &
sleep
5
sleep
5
np
x nx build remix-ide-
e2e
np
m run build:
e2e
TESTFILES
=
$(
circleci tests glob
"dist/apps/remix-ide-e2e/src/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
TESTFILES
=
$(
circleci tests glob
"dist/apps/remix-ide-e2e/src/tests/**/*.test.js"
| circleci tests
split
--split-by
=
timings
)
for
TESTFILE
in
$TESTFILES
;
do
for
TESTFILE
in
$TESTFILES
;
do
npx n
x e2e remix-ide-e2e
--filePath
=
$TESTFILE
--env
=
firefox
||
TEST_EXITCODE
=
1
npx n
ightwatch
--config
dist/apps/remix-ide-e2e/nightwatch.js
$TESTFILE
--env
=
firefox
||
TEST_EXITCODE
=
1
done
done
echo
"
$TEST_EXITCODE
"
echo
"
$TEST_EXITCODE
"
...
...
apps/remix-ide/ci/browser_tests_run_deploy.sh
View file @
ff67e32b
...
@@ -11,7 +11,7 @@ npm run serve &
...
@@ -11,7 +11,7 @@ npm run serve &
sleep
5
sleep
5
np
x nx build remix-ide-
e2e
np
m run build:
e2e
npm run nightwatch_local_runAndDeploy
||
TEST_EXITCODE
=
1
npm run nightwatch_local_runAndDeploy
||
TEST_EXITCODE
=
1
echo
"
$TEST_EXITCODE
"
echo
"
$TEST_EXITCODE
"
...
...
package.json
View file @
ff67e32b
This diff is collapsed.
Click to expand it.
workspace.json
View file @
ff67e32b
...
@@ -100,23 +100,6 @@
...
@@ -100,23 +100,6 @@
"sourceRoot"
:
"apps/remix-ide-e2e/src"
,
"sourceRoot"
:
"apps/remix-ide-e2e/src"
,
"projectType"
:
"application"
,
"projectType"
:
"application"
,
"architect"
:
{
"architect"
:
{
"build"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"commands"
:
[
"tsc -p apps/remix-ide-e2e/tsconfig.e2e.json"
]
}
},
"e2e"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"commands"
:
[
"TEST_SCRIPT='node_modules/.bin/nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js'; if [ {args.env} != undefined ]; then TEST_SCRIPT=${TEST_SCRIPT}' --env {args.env}'; else TEST_SCRIPT=${TEST_SCRIPT}' --env chrome'; fi; if [ {args.filePath} != undefined ]; then TEST_SCRIPT=${TEST_SCRIPT}' {args.filePath}'; fi; eval $TEST_SCRIPT;"
],
"parallel"
:
false
}
},
"lint"
:
{
"lint"
:
{
"builder"
:
"@nrwl/linter:lint"
,
"builder"
:
"@nrwl/linter:lint"
,
"options"
:
{
"options"
:
{
...
@@ -145,11 +128,7 @@
...
@@ -145,11 +128,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-analyzer"
"cwd"
:
"libs/remix-analyzer"
}
}
},
},
...
@@ -183,11 +162,7 @@
...
@@ -183,11 +162,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-astwalker"
"cwd"
:
"libs/remix-astwalker"
}
}
},
},
...
@@ -221,11 +196,7 @@
...
@@ -221,11 +196,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-debug"
"cwd"
:
"libs/remix-debug"
}
}
},
},
...
@@ -270,11 +241,7 @@
...
@@ -270,11 +241,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-lib"
"cwd"
:
"libs/remix-lib"
}
}
},
},
...
@@ -308,11 +275,7 @@
...
@@ -308,11 +275,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-simulator"
"cwd"
:
"libs/remix-simulator"
}
}
},
},
...
@@ -357,11 +320,7 @@
...
@@ -357,11 +320,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-solidity"
"cwd"
:
"libs/remix-solidity"
}
}
},
},
...
@@ -443,11 +402,7 @@
...
@@ -443,11 +402,7 @@
"test"
:
{
"test"
:
{
"builder"
:
"@nrwl/workspace:run-commands"
,
"builder"
:
"@nrwl/workspace:run-commands"
,
"options"
:
{
"options"
:
{
"commands"
:
[
"commands"
:
[
"npm-run-all test"
],
{
"command"
:
"./../../node_modules/.bin/npm-run-all test"
}
],
"cwd"
:
"libs/remix-url-resolver"
"cwd"
:
"libs/remix-url-resolver"
}
}
},
},
...
...
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