[Backport 2.12] Updating app analytics jest and cypress tests #359
Annotations
10 errors and 14 warnings
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L436
Do not wait for arbitrary time periods
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L554
Do not wait for arbitrary time periods
|
Lint:
public/components/application_analytics/__tests__/flyout.test.tsx#L9
Mocks should not be manually imported from a __mocks__ directory. Instead use `jest.mock` and import from the original module path
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L7
Mocks should not be manually imported from a __mocks__ directory. Instead use `jest.mock` and import from the original module path
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L14
'fetchAppById' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L15
'removeTabData' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L16
'initializeTabData' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L17
'fetchPanelsVizIdList' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
public/components/common/search/search.tsx#L35
'DEFAULT_START_TIME' is defined but never used. Allowed unused vars must match /^_/u
|
Lint:
public/components/common/search/search.tsx#L37
'QUERY_ASSIST_START_TIME' is defined but never used. Allowed unused vars must match /^_/u
|
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1, lots0logs/gh-action-get-changed-files@2.2.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L205
Do not use force on click and type calls
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L279
Do not use force on click and type calls
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L280
Do not use force on click and type calls
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L359
Do not use force on click and type calls
|
Lint:
.cypress/integration/app_analytics_test/app_analytics.spec.js#L397
Do not use force on click and type calls
|
Lint:
.cypress/utils/app_constants.js#L34
Do not use force on click and type calls
|
Lint:
.cypress/utils/app_constants.js#L38
Do not use force on click and type calls
|
Lint:
.cypress/utils/app_constants.js#L138
Do not use force on click and type calls
|
Lint:
.cypress/utils/app_constants.js#L145
Do not use force on click and type calls
|
Lint:
public/components/application_analytics/__tests__/utils.test.tsx#L39
Test has no assertions
|