Open chaimabg opened 1 year ago
@chaimabg , have you tried using the urlreplacementpatterns, https://github.com/GoogleChrome/lighthouse-ci/blob/75f4bb8f66d5042989f3882683c0e843677dda06/docs/configuration.md#urlreplacementpatterns
I have a similar problem and was planning to use urlreplacementpatterns
@vilanint7, yes I have tried to use urlreplacementpatterns but didn't work for my case. This problem is fixed with lighthouse version 10.0.2 but unfortunately lighthouse-ci works only with the version 9.6.8
Thanks @chaimabg do you get an error when lighthouse version is higher? What is the error you get?
Below are my versions
lhci --version 0.8.2 lighthouse --version 7.4.0
Based on the dockerfile it looks like higher version of lighthouse should be supported https://github.com/GoogleChrome/lighthouse-ci/blob/main/docs/recipes/docker-client/Dockerfile#L17
there seems to be a related pr https://github.com/GoogleChrome/lighthouse-ci/pull/890
@vilanint7, no I don't get an error when lighthouse version is higher. I'm using the latest version of lhci (0.11.0) but doesn't support lighthouse version 10.0.2.
As proposed in #900 the solution here is to use finalDisplayedUrl
to identify reports. This cannot be backported for reports generated by Lighthouse version below 10.0.
Any news on this issue? Did you find a workaround?
Describe the bug I am running lighthouse-ci on two different URLs ( 'https://localhost:3000/Portal/#/Login' & 'https://localhost:3000/Portal/#/Dashboard') . The two generated reports (json file in .lighthouseci folder) have the same final URL ('https://localhost:3000/Portal/'). Only one report is showed on Lighthouse server (for this URL: 'https://localhost:3000/Portal/').
Expected behavior Final URL and requested URL should have the same value. Two reports are showed on lighthouse server ('https://localhost:3000/Portal/#/Login' & 'https://localhost:3000/Portal/#/Dashboard').
Configuration file
Reports
Lighthouse Version 9.6.8
Environment (please complete the following information):