code-pushup / cli

A CLI to run all kinds of code quality measurements to align your team with company goals
https://code-pushup.dev
MIT License
255 stars 14 forks source link

test: adjust e2e tests #807

Closed BioPhoton closed 2 months ago

github-actions[bot] commented 2 months ago

Code PushUp

๐Ÿคจ Code PushUp report has both improvements and regressions โ€“ compared target commit 091d13d3532ee74fd651c266ce56555bcb102a0f with source commit 4f304f2151b04d808f48ee42d5d26b3bd8848862.

๐Ÿ•ต๏ธ See full comparison in Code PushUp portal ๐Ÿ”

๐Ÿท๏ธ Categories

๐Ÿท๏ธ Category โญ Previous score โญ Current score ๐Ÿ”„ Score change
Performance ๐Ÿ”ด 42 ๐Ÿ”ด 50 โ†‘ +7.3
Code style ๐ŸŸข 99 ๐ŸŸข 99 โ†“ โˆ’0.4
Custom checks ๐ŸŸก 67 ๐ŸŸก 67 โ€“
Code coverage ๐ŸŸก 90 ๐ŸŸก 90 โ€“
Security ๐ŸŸข 98 ๐ŸŸข 98 โ€“
Updates ๐ŸŸก 78 ๐ŸŸก 78 โ€“
Accessibility ๐ŸŸข 91 ๐ŸŸข 91 โ€“
Best Practices ๐ŸŸข 100 ๐ŸŸข 100 โ€“
SEO ๐ŸŸก 61 ๐ŸŸก 61 โ€“
Bug prevention ๐ŸŸข 100 ๐ŸŸข 100 โ€“
๐Ÿ‘ 1 group improved, ๐Ÿ‘Ž 1 group regressed, ๐Ÿ‘ 3 audits improved, ๐Ÿ‘Ž 3 audits regressed, 14 audits changed without impacting score ## ๐Ÿ—ƒ๏ธ Groups | ๐Ÿ”Œ Plugin | ๐Ÿ—ƒ๏ธ Group | โญ Previous score | โญ Current score | ๐Ÿ”„ Score change | | :----------------------------------------------------------------- | :---------- | :--------------: | :-------------: | :------------------------------------------------------------------: | | Lighthouse | Performance | ๐Ÿ”ด 42 | ๐Ÿ”ด **50** | ![โ†‘ +7.3](https://img.shields.io/badge/%E2%86%91%20%2B7.3-green) | | [ESLint](https://www.npmjs.com/package/@code-pushup/eslint-plugin) | Suggestions | ๐ŸŸข 99 | ๐ŸŸข **99** | ![โ†“ โˆ’0.4](https://img.shields.io/badge/%E2%86%93%20%E2%88%920.4-red) | 18 other groups are unchanged. ## ๐Ÿ›ก๏ธ Audits | ๐Ÿ”Œ Plugin | ๐Ÿ›ก๏ธ Audit | ๐Ÿ“ Previous value | ๐Ÿ“ Current value | ๐Ÿ”„ Value change | | :--------------------------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------: | :---------------------------------: | :--------------------------------------------------------------------------------: | | [ESLint](https://www.npmjs.com/package/@code-pushup/eslint-plugin) | [Disallow type assertions that do not change the type of an expression](https://typescript-eslint.io/rules/no-unnecessary-type-assertion) | ๐ŸŸฉ passed | ๐ŸŸฅ **1 error** | ![โ†‘ +โˆžโ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B%E2%88%9E%E2%80%89%25-red) | | Lighthouse | Largest Contentful Paint | ๐ŸŸฅ 4.2ย s | ๐ŸŸจ **3.2ย s** | ![โ†“ โˆ’23โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9223%E2%80%89%25-green) | | Lighthouse | First Contentful Paint | ๐ŸŸฅ 3.6ย s | ๐ŸŸจ **2.9ย s** | ![โ†“ โˆ’18โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9218%E2%80%89%25-green) | | Lighthouse | Speed Index | ๐ŸŸฅ 7.2ย s | ๐ŸŸฅ **9.0ย s** | ![โ†‘ +24โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B24%E2%80%89%25-red) | | Lighthouse | First Meaningful Paint | ๐ŸŸจ 3.6ย s | ๐ŸŸจ **3.1ย s** | ![โ†“ โˆ’14โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9214%E2%80%89%25-green) | | Lighthouse | Time to Interactive | ๐ŸŸฅ 16.4ย s | ๐ŸŸฅ **17.3ย s** | ![โ†‘ +6โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B6%E2%80%89%25-red) | | Lighthouse | Minimizes main-thread work | ๐ŸŸฅ 21.2ย s | ๐ŸŸฅ **25.0ย s** | ![โ†‘ +18โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B18%E2%80%89%25-gray) | | Lighthouse | Avoids enormous network payloads | ๐ŸŸฉ Total size was 1,805ย KiB | ๐ŸŸฉ **Total size was 1,808ย KiB** | ![โ†‘ +0โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B0%E2%80%89%25-gray) | | Lighthouse | Total Blocking Time | ๐ŸŸฅ 7,730ย ms | ๐ŸŸฅ **10,270ย ms** | ![โ†‘ +33โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B33%E2%80%89%25-gray) | | Lighthouse | JavaScript execution time | ๐ŸŸฅ 9.2ย s | ๐ŸŸฅ **10.5ย s** | ![โ†‘ +14โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B14%E2%80%89%25-gray) | | Lighthouse | Max Potential First Input Delay | ๐ŸŸฅ 2,690ย ms | ๐ŸŸฅ **3,810ย ms** | ![โ†‘ +42โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B42%E2%80%89%25-gray) | | Lighthouse | Eliminate render-blocking resources | ๐ŸŸฅ Potential savings of 1,540ย ms | ๐ŸŸฅ **Potential savings of 600ย ms** | ![โ†“ โˆ’61โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9261%E2%80%89%25-gray) | | Lighthouse | Metrics | ๐ŸŸฉ 100% | ๐ŸŸฉ **100%** | ![โ†‘ +6โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B6%E2%80%89%25-gray) | | Lighthouse | Reduce unused CSS | ๐ŸŸฅ Potential savings of 106ย KiB | ๐ŸŸฅ **Potential savings of 106ย KiB** | ![โ†“ โˆ’49โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9249%E2%80%89%25-gray) | | Lighthouse | Server Backend Latencies | ๐ŸŸฉ 80ย ms | ๐ŸŸฉ **150ย ms** | ![โ†‘ +97โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B97%E2%80%89%25-gray) | | Lighthouse | Uses efficient cache policy on static assets | ๐ŸŸจ 27 resources found | ๐ŸŸจ **27 resources found** | ![โ†“ +0โ€‰%](https://img.shields.io/badge/%E2%86%93%20%2B0%E2%80%89%25-gray) | | Lighthouse | Network Round Trip Times | ๐ŸŸฉ 20ย ms | ๐ŸŸฉ **10ย ms** | ![โ†“ โˆ’45โ€‰%](https://img.shields.io/badge/%E2%86%93%20%E2%88%9245%E2%80%89%25-gray) | | Lighthouse | Initial server response time was short | ๐ŸŸฉ Root document took 380ย ms | ๐ŸŸฉ **Root document took 380ย ms** | ![โ†‘ +1โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B1%E2%80%89%25-gray) | | Lighthouse | Avoids an excessive DOM size | ๐ŸŸฅ 2,249 elements | ๐ŸŸฅ **2,250 elements** | ![โ†‘ +0โ€‰%](https://img.shields.io/badge/%E2%86%91%20%2B0%E2%80%89%25-gray) | | [Code coverage](https://www.npmjs.com/package/@code-pushup/coverage-plugin/) | Line coverage | ๐ŸŸฉ 91.9 % | ๐ŸŸฉ **91.9 %** | ![โ†“ +0โ€‰%](https://img.shields.io/badge/%E2%86%93%20%2B0%E2%80%89%25-gray) | 493 other audits are unchanged.