Skip to content

Commit e418521

Browse files
Changed mobile browser config
1 parent 0f754e8 commit e418521

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,10 @@ def configuration(api_key: str, batch_info: BatchInfo):
104104
config.add_browser(1600, 1200, BrowserType.FIREFOX)
105105
config.add_browser(1024, 768, BrowserType.SAFARI)
106106

107-
# Add 2 mobile emulation devices with different orientations for cross-browser testing in the Ultrafast Grid.
108-
# Other mobile devices are available, including iOS.
109-
config.add_device_emulation(DeviceName.Pixel_2, ScreenOrientation.PORTRAIT)
110-
config.add_device_emulation(DeviceName.Nexus_10, ScreenOrientation.LANDSCAPE)
107+
# Add 2 mobile browsers with different orientations for cross-browser testing in the Ultrafast Grid.
108+
# Other mobile devices are available.
109+
config.add_browser(IosDeviceInfo(IosDeviceName.iPhone_11, ScreenOrientation.PORTRAIT))
110+
config.add_browser(ChromeEmulationInfo(DeviceName.Nexus_10, ScreenOrientation.LANDSCAPE))
111111

112112
# Return the configuration object
113113
return config

0 commit comments

Comments
 (0)