PATHNAME in the report name is blank + assertions aren't be run on all the urls #834
Unanswered
jaspritt-hora
asked this question in
Q&A
Replies: 2 comments 20 replies
-
|
@patrickhulce - Can you let me know, what needs to be done here? |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
@patrickhulce - Can you please create a new release & tag with this change, so that it can be used in the app? |
Beta Was this translation helpful? Give feedback.
16 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I am generating lighthouse reports for my app with a local setup and the reports are dumped on the
filesystem.I have two questions -
lhci autorunfor multiple urls of the same website, the reports doesn't have thePATHNAME(it is blank) even though it is passed inreportFilenamePatternoption.base urlinstead on theprovided url?Additional context for Q1:
reportFilenamePatternhas the format :%%HOSTNAME%%-%%PATHNAME%%-%%DATETIME%%-report.%%EXTENSION%%Current behaviour:
Expected behaviour:
The report name should have the following -
localhost-users-<date time>.json/.htmllocalhost-messages-<date time>.json/.htmllocalhost-calendar-<date time>.json/.htmlWhat else I am missing here?
Additional context for Q2:
The
urlsoption is passed the following values:url:[ 'http://localhost:8070/#/en/', 'http://localhost:8070/#/en/users/', 'http://localhost:8070/#/en/calendar/', 'http://localhost:8070/#/en/library/?tab=exercises', 'http://localhost:8070/#/en/facility_assignments/', 'http://localhost:8070/#/en/messages/', 'http://localhost:8070/#/en/settings?tab=risk' ]Output of the
autoruncommand (Current behaviour):It says -
Checking assertions against 1 URL(s), 7 total run(s)Expected behaviour:
It should say -
Checking assertions against 7 URL(s), 1 total run(s)since there are 7 separate urlsOverall information and details:
lighthouserc.jslhci -
v0.9.0Node -
v16Beta Was this translation helpful? Give feedback.
All reactions