Skip to content
Snippets Groups Projects
Commit 0c4554f2 authored by Yuriy Maksymets's avatar Yuriy Maksymets
Browse files

Fixed scripts and test naming

parent 0572132b
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ chrome_test: ...@@ -84,7 +84,7 @@ chrome_test:
dependencies: dependencies:
- dev_node_install - dev_node_install
script: script:
- npm test-e2e:chrome - npm run test-e2e:chrome
deploy: deploy:
stage: deploy stage: deploy
......
File moved
File moved
#!/bin/bash
set -e
TEST1="peer1.e2e.js"
TEST2="peer2.e2e.js"
case "$1" in
chrome) BROWSERS=chrome ;;
*) BROWSERS=all ;;
esac
COMMAND="npx testcafe $BROWSERS"
$COMMAND $TEST1 & $COMMAND $TEST2
\ No newline at end of file
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"test": "jest --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy", "test": "jest --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy",
"test-changed": "jest --only-changed --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy", "test-changed": "jest --only-changed --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy",
"test-coverage": "jest --coverage --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy", "test-coverage": "jest --coverage --testPathIgnorePatterns src/liowebrtc src/rtcpeerconnection src/signalbuddy",
"test-e2e": "npx testcafe all serverIntegration.test.js & npx testcafe all peer.test.js", "test-e2e": "cd __e2e_tests__ ; ./run",
"test-e2e:chrome": "npx testcafe chrome serverIntegration.test.js & npx testcafe chrome peer.test.js", "test-e2e:chrome": "cd __e2e_tests__ ; ./run chrome",
"lint": "jshint .", "lint": "jshint .",
"validate": "npm ls" "validate": "npm ls"
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment