I am using lighthouse ci github action of the latest version. My goal is to assert the following:
Metrics
Category (Performance)
I have configured the budget.json(desktop) and mob-budget.json(mobile) for validation of metrics and also I have separate config file for dekstop and mobile.
Below is budget.json
Below is the desktop config file:
Below is mob-budget.json
Below is the mobile config file
Below is the workflow using above mentioned files:
Expectation:
The lighthouse scan should be done for all pages mentioned in urls and it should asserted for metrics and categories for specified values.
Observed:
Only metrics is getting asserted and not category.
I am using lighthouse ci github action of the latest version. My goal is to assert the following:
I have configured the budget.json(desktop) and mob-budget.json(mobile) for validation of metrics and also I have separate config file for dekstop and mobile.
Below is budget.json![image](https://user-images.githubusercontent.com/7846128/139366541-6b9f7152-35ca-4ee2-992b-60c2d8128ac4.png)
Below is the desktop config file:![image](https://user-images.githubusercontent.com/7846128/139366374-c6008a36-6bf6-4907-a063-85bbc21d9ea3.png)
Below is mob-budget.json![image](https://user-images.githubusercontent.com/7846128/139366614-3ebd0a17-e3a4-4489-9df6-c9f40ef0560c.png)
Below is the mobile config file![image](https://user-images.githubusercontent.com/7846128/139366404-47949c43-1adb-4e03-a206-cfd95cb4cef8.png)
Below is the workflow using above mentioned files:![image](https://user-images.githubusercontent.com/7846128/139366702-ad0e319d-b06e-48e2-a719-f2e7c27eb50a.png)
Expectation: The lighthouse scan should be done for all pages mentioned in urls and it should asserted for metrics and categories for specified values.
Observed: Only metrics is getting asserted and not category.
Link of one of the execution: https://github.com/mkathu/ul-witelabel-visual-test/runs/4042090535?check_suite_focus=true
Sharing the report of one of the page which does not match the configured performance value of 0.9 for desktop, but not getting asserted.![image](https://user-images.githubusercontent.com/7846128/139367174-e268f85f-a23f-47e4-bcfc-e9399523cd52.png)
Any pointers would be greatly appreciated in making this work.