-
Notifications
You must be signed in to change notification settings - Fork 15
Reduce lighthouse integration test duration, fix onlyAudits #490
Copy link
Copy link
Closed
Description
Currently, the Lighthouse example integration tests take above 20 seconds each locally. This slows up the pipelines and requires the timeouts to be manually increased. As a hotfix, these tests have been temporarily ignored by using it.skip.
Additionally, it is not possible to run onlyAudits option with any other audit than largest-contentful-paint. Attempting to run the example plugin with any other slug results in an error.
Acceptance criteria
- Fix
onlyAuditsto accept any existing audit, not only the first one. - Verify that the tests do not take longer than 20 seconds each in any environment by running them multiple times in the pipelines.
- Either the test scope may be reduced by running only one audit at a time.
- If that does not help, convert the tests to E2E tests.
Reactions are currently unavailable
