-
Notifications
You must be signed in to change notification settings - Fork 652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion of category is not working #731
Comments
I get the same result with assert matrix.
It only works if I replace assertMatrix with one assert for every url, but I need to set different categories scores for different environments
OS: MacOS 12.0.1 |
Some updates on this? I'm having the same problem :/ |
I think I'm experiencing the same issue sometimes on my CI. Is it possible it has to do with how Lighthouse runs the assertions? In the docs there is a section mentioning the aggregation of the results: |
Describe the bug
On triggering the scan assertion is not done at the category.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Once execution is done assertion should be done should pass/fail based on configured values
Observed:
![image](https://user-images.githubusercontent.com/7846128/144213370-7e089590-b38e-4d49-b630-b3c84471c8dc.png)
The assertion is not done for category but metrics
Logs/Screenshots
![image](https://user-images.githubusercontent.com/7846128/144212453-4cbf437a-bb5e-4bb2-ad22-f473ba0e9bd8.png)
![image](https://user-images.githubusercontent.com/7846128/144212572-bcdc1dc6-5600-401e-964d-2b4aa1bd2ac5.png)
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: