Skip to content

Commit

Permalink
Remove testcafe dashboard reporter from tests (#25466)
Browse files Browse the repository at this point in the history
  • Loading branch information
timbset authored Aug 29, 2023
1 parent f92c573 commit 3cd807f
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 83 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/testcafe_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,6 @@ jobs:
[ "${{ matrix.ARGS.indices }}" != "" ] && INDICES="--indices ${{ matrix.ARGS.indices }}"
[ "${{ matrix.ARGS.concurrency }}" != "" ] && CONCURRENCY="--concurrency ${{ matrix.ARGS.concurrency }}"
[ "${{ matrix.ARGS.platform }}" != "" ] && PLATFORM="--platform ${{ matrix.ARGS.platform }}"
export TESTCAFE_DASHBOARD_LAYOUT_TESTING_ENABLED=true
export TESTCAFE_DASHBOARD_DEVEXTREME_TOKEN=eyJwcm9qZWN0SWQiOiI3MDEyMTgyZC1iMzliLTQyYWMtYjRlZC02YWY2MWMyZmQyNzgiLCJ0b2tlblNlY3JldCI6ImtUODN0QjU1dFdyeWJva2VsdlpDb051R3pzOFZOYzVuaDI4dXNFb3pFd2hPOUZDZlRVaXh5OXBvVC8wS3hDZFAwd05SKzlmVkk0WWh3dXl2ZkhtZDFudTE0MHJqdEUxVnByTlI4Z1RTRHJwZlRPN1dZZXNEUnovUDRTOFF1L3NPTWNjSXpzWno1Y0ZIY2xVSFZKTVVTRVIxVGtaRlgwZTlhUU5tRTBaY1FPTmVkenovREFseGQ4YVoxZnNkN2dSd2VFNjBhSjNueG1vOHNGbGJwazVsYmlvN2JoVy9VTnBvWSs1Q0tFcVFvQ0JSTHJFSlUybUNxNkdGbmhtbmxUTW9SRXpjWDBjUlMwMk41NWlTakNMMXRxdlpMajc4MnB6ZnFrRWo1d29UT0dLY3V1bThRaXE2L1FnaWR2MFV0VWFTaGZvVW9sazhTWFlXNGtxWVNSalR1QT09In0=
export TESTCAFE_DASHBOARD_DEVEXTREME_URL=https://devextreme.resolve.sh
export TESTCAFE_DASHBOARD_BUILD_ID=${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
all_args="--browsers=chrome:devextreme-shr2 --componentFolder ${{ matrix.ARGS.componentFolder }} $CONCURRENCY $INDICES $PLATFORM $THEME"
echo "$all_args"
npm run test-testcafe -- $all_args
Expand Down
4 changes: 0 additions & 4 deletions .testcafe-dashboardrc.json

This file was deleted.

71 changes: 0 additions & 71 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/experimental-utils": "5.48.0",
"@typescript-eslint/parser": "^5.54.0",
"@vasily.strelyaev/tcd-screenshot-updater": "0.3.0",
"angular": "1.8.3",
"ast-types": "0.14.2",
"autoprefixer": "10.4.13",
Expand Down Expand Up @@ -188,7 +187,6 @@
"systemjs-plugin-text": "0.0.11",
"terser-webpack-plugin": "5.3.6",
"testcafe": "2.2.0",
"testcafe-reporter-dashboard-devextreme": "1.3.4",
"through2": "2.0.5",
"ts-jest": "26.5.6",
"tsc-alias": "^1.8.2",
Expand Down
3 changes: 1 addition & 2 deletions testing/testcafe/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const createTestCafe = require('testcafe');
const fs = require('fs');
const process = require('process');
const parseArgs = require('minimist');
const dashboardReporter = require('testcafe-reporter-dashboard-devextreme');
const testPageUtils = require('./helpers/clearPage');
require('nconf').argv();

Expand Down Expand Up @@ -144,7 +143,7 @@ function getArgs() {
concurrency: 0,
browsers: 'chrome',
test: '',
reporter: [process.env.CI === 'true' ? 'list' : 'minimal', dashboardReporter],
reporter: [process.env.CI === 'true' ? 'list' : 'minimal'],
componentFolder: '',
file: '*',
cache: true,
Expand Down

0 comments on commit 3cd807f

Please sign in to comment.