Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webkit browser( 1280x720) additional arguments needed to run cypress tests in Saucelabs #27046

Open
rajenderbeeram opened this issue Jun 15, 2023 · 1 comment
Labels
browser: webkit Issue related to Webkit (Safari) browser E2E Issue related to end-to-end testing experiment: webkit Issues when using experimentalWebkitSupport type: feature New feature that does not currently exist

Comments

@rajenderbeeram
Copy link

rajenderbeeram commented Jun 15, 2023

Current behavior

currently webkit browser opening with a static resolution of 1280x720 which is not a valid VM resolution . due to this our tests are not running with Sauce labs , we are seeing issues page distortion and page not loading properly. Sauce labs confirmed due to cypress limitation this issue is occurring. Saucelabs confirmed if cypress provides an additional arguments for webkit browser like chrome then this issue will be resolved .

The static resolution value that Webkit is started in is not a supported resolution by Sauce Mac VMs
Webkit is opened with a default size of 1280x720, which is not a valid VM resolution, with no exposed function to modify the frame's size.

Currently we are running our cypress tests with help of saucelabs for webkit browser,chrome browser , mobile safari browser etc , we are depend on saucelabs for cross browser testing .

Find the attached image which shows page distorting and images not loading on page .

Screenshot 2023-05-26 221546

Desired behavior

We want to run cypress tests on webkit browser with Sauce labs , so if we have additional arguments for webkit then issue will be resolved . as of not webkit browser is opening with static resolution of 1280x720 , can you please confirm when we can expect additional arguements for webkit browser .

for chrome browser cypress tests are working fine with Saucelabs but when we run for webkit browser then we are seeing page distortion issue .

Test code to reproduce

apiVersion: v1
kind: cypress
defaults: {}
showConsoleLog: false
sauce:
  region: us-west-1
  concurrency: 30
  sauceignore: .sauceignore
cypress:
  configFile: cypress.config.js
  version: 12.6.0
  record: false
  key: ""
  reporters: []
suites:
- name: cypress - webkit safari
  browser: webkit
  platformName: macOS 12
  screenResolution: 1280x960
  browserVersion: '16'

  config:
    testingType: e2e
    specPattern:
    - 'cypress/e2e/*.*'
- name: cypress - Chrome
  browser: chrome
  platformName: Windows 10
  # screenResolution: 2048x1536
  # browserVersion: '16'

  config:
    testingType: e2e
    specPattern:
    - 'cypress/e2e/*.*'
    # config:
    #   specPattern: [ "cypress/e2e/*.*" ]
  # mode: sauce
# - name: cypress - mobile browser
#   browser: webkit
#   platformName: macOS 12
#   config:
#     testingType: e2e
#     specPattern:
    - 'cypress/e2e/*.*'
#     # config:
#     #   specPattern: [ "cypress/e2e/*.*" ]
#   mode: sauce
rootDir: .
artifacts:
  download:
    match:
    - '*'
    when: always
    directory: ./artifacts

Cypress Version

12.10.0

Node version

v20.1.0

Operating System

Sauce labs mac OS 12

Debug Logs

No response

Other

No response

@nagash77 nagash77 added browser: webkit Issue related to Webkit (Safari) browser experiment: webkit Issues when using experimentalWebkitSupport E2E Issue related to end-to-end testing labels Jun 15, 2023
@mschile
Copy link
Contributor

mschile commented Jun 15, 2023

Hi @rajenderbeeram 👋, thanks for taking the time to log this issue. As noted, the default browser dimensions for WebKit is 1280x720. Unfortunately, there isn't currently a way to modify those dimensions (launchServer options). I will forward this request to the appropriate team. They will evaluate the priority of this ticket and consider their capacity to pick it up. Please note that this does not guarantee that this issue will be resolved. The ticket will indicate status changes during evaluation, so we ask that you please refrain from asking for updates. Thanks!

@mschile mschile added the type: feature New feature that does not currently exist label Jun 16, 2023
@mschile mschile removed their assignment Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser: webkit Issue related to Webkit (Safari) browser E2E Issue related to end-to-end testing experiment: webkit Issues when using experimentalWebkitSupport type: feature New feature that does not currently exist
Projects
None yet
Development

No branches or pull requests

3 participants