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
-
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 autorun
for multiple urls of the same website, the reports doesn't have thePATHNAME
(it is blank) even though it is passed inreportFilenamePattern
option.base url
instead on theprovided url
?Additional context for Q1:
reportFilenamePattern
has the format :%%HOSTNAME%%-%%PATHNAME%%-%%DATETIME%%-report.%%EXTENSION%%
Current behaviour:
Expected behaviour:
The report name should have the following -
localhost-users-<date time>.json/.html
localhost-messages-<date time>.json/.html
localhost-calendar-<date time>.json/.html
What else I am missing here?
Additional context for Q2:
The
urls
option 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
autorun
command (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.js
lhci -
v0.9.0
Node -
v16
Beta Was this translation helpful? Give feedback.
All reactions