GoogleChromeLabs/ps-analysis-tool

Review output messages on the PSAT CLI

Opened this issue · 0 comments

Describe the bug
Testing the verbose mode, I have found some typos in the output messages:

Analyzing cookies on first site visit
    Browser intialized
    Page opened
    Attaching network event listeners to page
    Finished attaching network event listeners
    Starting navigation to URL: https://globo.com
    Navigation did not finish in 10 seconds moving on to scrolling
    Scrolling on URL: https://globo.com

Suggested text:

Analyzing cookies on the first site visit
    Browser initialized
    Page opened
    Attaching network event listeners to the page
    Finished attaching network event listeners
    Starting navigation to URL: https://globo.com
    Navigation did not finish in 10 seconds moving on to scrolling
    Scrolling on URL: https://globo.com

The step Navigation did not finish in 10 seconds moving on to scrolling also needs some rephrasing to describe better the action taken on this step.

This issue also includes the review of other internal messages on the CLI, including help and error messages.

To Reproduce
Steps to reproduce the behavior:

  1. Audit a url with PSAT CLI in verbose mode $ psat https://example.com -v
  2. Check the output message

Expected behavior
Clear message without typos

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: MacOS
  • Version PSAT CLI 0.10.1-1

Additional context
Add any other context about the problem here.