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

Ability to configure virtual display size #393

Closed
1 of 5 tasks
wadeww opened this issue Feb 10, 2020 · 4 comments
Closed
1 of 5 tasks

Ability to configure virtual display size #393

wadeww opened this issue Feb 10, 2020 · 4 comments
Assignees
Labels
enhancement New feature or request investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS

Comments

@wadeww
Copy link

wadeww commented Feb 10, 2020

I'm trying to run e2e tests for an electron app in the macOS runner using Spectron. I have some tests that are failing because the window size is too small even though I've maximized the application. It looks like the virtual display size is being set to 1176 x 694. Is there any way to configure the default display size in the macOS runner (or any of the virtual environments)?

Area for Triage:
Apple

Question, Bug, or Feature?:
Question

Virtual environments affected

  • macOS 10.15
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS
  • Windows Server 2016 R2
  • Windows Server 2019
@m-minasyan m-minasyan added OS: macOS question Further information is requested and removed needs triage labels Feb 11, 2020
@al-cheb al-cheb added the enhancement New feature or request label Feb 11, 2020
@maxim-lobanov maxim-lobanov removed the question Further information is requested label Feb 11, 2020
@alepauly
Copy link
Contributor

We should start by investigating any side-effects of this.

@miketimofeev miketimofeev added the investigate Collect additional information, like space on disk, other tool incompatibilities etc. label Apr 7, 2020
@al-cheb
Copy link
Contributor

al-cheb commented Apr 26, 2020

Hello, @wadeww

We have extended ability to set screen resolution size to a maximum size - 2560 x 1600.

Example how to change in runtime:

- name: screen resolution
      run: |
        system_profiler SPDisplaysDataType | grep Resolution
        "/Library/Application Support/VMware Tools/vmware-resolutionSet" 2560 1440
        system_profiler SPDisplaysDataType | grep Resolution

s - Copy

Feel free to open the thread if you have any concerns.

@gokultw
Copy link

gokultw commented Jul 21, 2022

How to change resolution on Ubuntu ?

@souravd000
Copy link

Will it work for the windows server 2019 also?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request investigate Collect additional information, like space on disk, other tool incompatibilities etc. OS: macOS
Projects
None yet
Development

No branches or pull requests

8 participants