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

Feature request: Make the running browser visible (by including noVNC) in docker Cypress/included #878

Open
HendrikJan opened this issue Apr 6, 2023 · 1 comment

Comments

@HendrikJan
Copy link

Currently there is no way to use interactive mode using Docker Desktop, see #763

You can work arround this issue by using image: theasp/novnc:latest in another container:

cypress:
    image: cypress/included:12.6.0
    profiles:
      - testing
    environment:
      - DISPLAY=novnc:0.0
    depends_on:
      - novnc
    entrypoint: []
    command: bash -c 'npx wait-on http://novnc:8080 && cypress open --project /e2e'
    working_dir: /cypress/e2e
    volumes:
      - ./:/e2e
    networks:
      - default
  novnc:
    image: theasp/novnc:latest
    profiles:
      - testing
    environment:
      - DISPLAY_WIDTH=1600
      - DISPLAY_HEIGHT=968
      - RUN_XTERM=no
    ports:
      - "1304:8080"
    networks:
      - default

With such a config you can see the running interactive test on localhost:1304 in a browser.

It would be very nice if this functionality would be included in the Cypress/included container.
That way we would not need to configure a separate noVNC container, it would work out of the box.

@nagash77 nagash77 changed the title Feature request: Make the running browser visible (by including noVNC) Feature request: Make the running browser visible (by including noVNC) in docker Cypress/included Apr 6, 2023
@nagash77
Copy link
Contributor

nagash77 commented Apr 6, 2023

@HendrikJan , Thank you for submitting your feature request. Cypress Product Managers will review this request and consider it for future implementation. Please remember we cannot guarantee this will be implemented in a specific timeframe or at all. Please see the Cypress App Product Roadmap for what we currently have slated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants