Current time: 08-16-2018, 06:54 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Deafult Browser Size also changes the size for emulated tests (mobile)
06-13-2018, 05:20 AM (This post was last modified: 06-19-2018 06:36 AM by wpt_user.)
Post: #1
Deafult Browser Size also changes the size for emulated tests (mobile)
Hi,
For my private instance, I want the browser window to be 1920x1080 so I set the default_browser_size=1920x1080 (in settings.ini). However, this setting also modifies the browser size for emulated mobile agents. Is it expected behavior? How can I get a bigger browser window while testing on desktop only?

https://imgur.com/a/BR8e4SD
This screenshot is of a test run with default_browser_size=1920x1080 and emulated google pixel2. The window is stretched to the desktop size, ignoring the mobile agent's viewport size.

The same configuration works fine on WPT version 2.19 and doesn't override the mobile emulator's viewport size:
https://imgur.com/a/QHKAnhX

Any help would be appreciated. Thanks.
Find all posts by this user
Quote this message in a reply
06-28-2018, 08:28 AM
Post: #2
RE: Deafult Browser Size also changes the size for emulated tests (mobile)
+1

Emulated mobile tests show website's mobile experience on a desktop sized window.
Find all posts by this user
Quote this message in a reply
07-27-2018, 02:37 AM
Post: #3
RE: Deafult Browser Size also changes the size for emulated tests (mobile)
Any news on this?
Find all posts by this user
Quote this message in a reply
07-27-2018, 08:14 AM
Post: #4
RE: Deafult Browser Size also changes the size for emulated tests (mobile)
Sounds like this might be a bug. Could a workaround be just to leave settings.ini alone, but specify the resolution as a test parameter only when you're submitting the desktop test?

The api has parameters for width/height, and browser_width/browser_height.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)