Skip to content

Commit

Permalink
Add testcafe dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Kuzin (DevExpress) committed Oct 12, 2021
1 parent a1936e5 commit 2ffe89f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions devops-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ steps:
cd $(Build.SourcesDirectory)/survey-library
npm run testcafe_ci
displayName: "run functional tests"
env:
TESTCAFE_DASHBOARD_AUTHENTICATION_TOKEN: $(TESTCAFE_DASHBOARD_AUTHENTICATION_TOKEN)
TESTCAFE_DASHBOARD_URL: $(TESTCAFE_DASHBOARD_URL)
- script: |
cd $(Build.SourcesDirectory)/survey-library
Expand Down
5 changes: 4 additions & 1 deletion devops-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ steps:
- script: |
cd $(Build.SourcesDirectory)/survey-library
npm run testcafe_ci
displayName: "run functional tests"
displayName: "run functional tests"
env:
TESTCAFE_DASHBOARD_AUTHENTICATION_TOKEN: $(TESTCAFE_DASHBOARD_AUTHENTICATION_TOKEN)
TESTCAFE_DASHBOARD_URL: $(TESTCAFE_DASHBOARD_URL)
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"test": "karma start ./build-scripts/karma.conf.js",
"testcafe": "concurrently \"http-server --silent\" \"testcafe -c 4 -q chrome testCafe/ --selector-timeout 1500 --reporter minimal\"",
"testcafe_file": "concurrently \"http-server --silent\" \"testcafe chrome testCafe/components/popup.ts --selector-timeout 1500 --reporter minimal\"",
"testcafe_ci": "http-server --silent & testcafe -q chrome:headless testCafe/ --reporter minimal",
"testcafe_ci": "http-server --silent & testcafe -q chrome:headless testCafe/ --reporter minimal,dashboard",
"testcafe_sauce": "testcafe \"saucelabs:[email protected]:Windows 10\" testCafe/",
"release": "standard-version --message \"Release: %s [skip ci]\" ",
"build_core_dev": "webpack --config ./build-scripts/survey-core/webpack.config.js --env.buildType dev",
Expand Down Expand Up @@ -113,7 +113,8 @@
"standard-version": "^8.0.1",
"style-loader": "^1.2.1",
"surveyjs-doc-generator": "git+https://github.com/surveyjs/surveyjs-doc-generator.git",
"testcafe": "^1.14.0",
"testcafe": "^1.16.0",
"testcafe-reporter-dashboard": "^0.2.4-rc.1",
"ts-jest": "^26.1.1",
"ts-loader": "^8.0.15",
"ts-node": "3.3.0",
Expand Down

0 comments on commit 2ffe89f

Please sign in to comment.