Skip to content

Add editable headline and description for medium-promo-block #4147

Add editable headline and description for medium-promo-block

Add editable headline and description for medium-promo-block #4147

Triggered via pull request September 12, 2024 19:54
Status Failure
Total duration 45s
Artifacts

test-coverage-blocks.yml

on: pull_request
ensure_minimum_test_coverage_linting
34s
ensure_minimum_test_coverage_linting
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L9
Relative import from another package is not allowed. Use `@wpmedia/extra-large-manual-promo-block/index.story` instead of `../../../extra-large-manual-promo-block/index.story`
ensure_minimum_test_coverage_linting
Process completed with exit code 1.
ensure_minimum_test_coverage_linting
The following actions uses node12 which is deprecated and will be forced to run on node16: act10ns/slack@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
ensure_minimum_test_coverage_linting
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, act10ns/slack@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L37
Avoid direct Node access. Prefer using the methods from Testing Library
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L43
Avoid direct Node access. Prefer using the methods from Testing Library
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L52
Use `getBy*` queries rather than `queryBy*` for checking element is present
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L82
Use `getBy*` queries rather than `queryBy*` for checking element is present
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L133
Use `getBy*` queries rather than `queryBy*` for checking element is present
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L142
Use `getBy*` queries rather than `queryBy*` for checking element is present
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L152
Avoid destructuring queries from `render` result, use `screen.getByText` instead
ensure_minimum_test_coverage_linting: blocks/medium-promo-block/features/medium-promo/default.test.jsx#L161
Use `getBy*` queries rather than `queryBy*` for checking element is present