sitespeedio / browsertime

Measure and Optimize Web Performance

Home Page:https://www.sitespeed.io/documentation/browsertime/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add GitHub action test for --debug

soulgalore opened this issue · comments

We are missing a test case where we use --debug. To do that we need to either interact with the browser or just kill after some time (and check the log that everything is ok until everything is closed). It would be cool if we can come up with a pattern we can reuse in some other test cases.

@soulgalore we could split this into two different kinds of tests. The first kind could be only for checking to make sure that there are no parser error raised when --debug is passed with some combinations of other options (e.g. pass with --android.enabled to ensure a parser error is raised). The second kind can be to make sure that the browser enters debug mode which might be harder to figure out how to implement.