diff --git a/Jenkinsfile b/Jenkinsfile index 00cadac..60a8af0 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,7 +10,8 @@ } stage('Test') { steps { - echo 'Testing..' + sh 'npm install' + sh 'npm test' } } stage('Deploy') { diff --git a/README.md b/README.md index 8e90783..6625a43 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ Testowe Readme do projektu BestNotes -Testowa zmiana \ No newline at end of file +Testowa zmiana + +# Run Webdriver.IO tests locally +To run WebdriverIO tests locally, just execute: +```./node_modules/.bin/wdio run ./test/config/base.conf.js``` \ No newline at end of file diff --git a/package.json b/package.json index 739a403..b9767d2 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "test": "tests" }, "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "./node_modules/.bin/wdio run ./test/config/base.conf.js" }, "repository": { "type": "git",