Lighthouse viewport is still in mobile view after running test using desktop configuration

Open
#85 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, javascript
Domain
performance

Research direction

Start by reproducing the reported Docker command with sitespeed.io 17.1.1-plus1 and the Lighthouse desktop settings. Compare the generated screenshot and Lighthouse report with the requested viewport configuration; done means the screenshot and diagnostics use desktop rather than mobile settings.

Written by the indexing model from the issue text.

Description

I am having trouble running sitespeed 17.1.1-plus1 using lighthouse plugin. My configuration settings seems working fine but based on lighthouse report, the screenshot is in mobile view. Here's my command running tests:

docker run --name sitespeed --volumes-from=jenkins --network=host --privileged=true --shm-size=1g --rm -v \"/tmp/sitespeed.io/\":/sitespeed.io \sitespeedio/sitespeed.io:17.1.1-plus1 --plugins.remove browsertime \--lighthouse.settings.screenEmulation.mobile false --lighthouse.settings.formFactor desktop --lighthouse.settings.throttling.rttMs 40 --lighthouse.settings.throttling.throughputKbps 10240 --lighthouse.settings.throttling.cpuSlowdownMultiplier 1 \--graphite.host localhost --graphite.port 2003 --graphite.httpPort 8080 --graphite.namespace TestFolderD.default

See screenshot attached:
Viewport is in mobile
Snag_4d8eddb
But the summary setting is in desktop
Snag_4d98e03

I also tried using the --lighthouse.setting.preset desktop but its not working as well.

Please help me guys, it gives discrepancy on lighthouse opportunities and diagnostics as well. Thanks a lot.

Dominant language
JavaScript
Stars
31
Forks
21
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sitespeedio/plugin-lighthouse

All issues in sitespeedio/plugin-lighthouse

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.