wp-media / wp-rocket-e2e

Playwright E2E testing repo
GNU General Public License v3.0
0 stars 0 forks source link

Improve the logs for healthcheck steps #118

Open jeawhanlee opened 2 months ago

jeawhanlee commented 2 months ago

Is your feature request related to a problem? Please describe. The logs on the CLI for the healthcheck steps are not very detailed with validations to check when certain blocks fail.

Describe the solution you'd like We should validate each block carefully and log detailed info to the CLI. We are already doing this for the checkWPStatus but not for the rest of the steps that involve setting up the browser and visiting the page. In summary, we should clearly log the start of a step and in between if it fails or not and then the end eventually.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context https://github.com/wp-media/wp-rocket-e2e/pull/112