Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

cypress interactive mode on a port of a ec2 Amazon Linux 2 machine #101

@ralexrdz

Description

@ralexrdz

Hey. I've been trying to serve the cypress interactive mode on a port of a ec2 Amazon Linux 2 machine

I've follow unsuccesfully these examples



What I'm trying to achive is this:

  • Run cypress interactive mode on a port of the ec2 machine
  • Expose that port to the public
  • Give a link to a non-tech QA colleage, where he/she can run and see the tests happening

Is this possible?

I've tried installing MATE desktop and the server, using Xvfb

Xvfb -screen 0 1920x1080x24 :99 & export DISPLAY=:99

and sending the Display variable to docker cypress images: included and base

also with TiggerVNC

I've tried to send X11-unix as a volume and also my dbus socket

docker run -it \
  -v $PWD:/e2e \
  -v /tmp/.X11-unix:/tmp/.X11-unix \
  -w /e2e \
  -e DISPLAY \
-v /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket \
--entrypoint cypress \
  cypress/included:10.3.0 open

MAIN QUESTIONS:

Is the cypress:included the best image for this?
Is it really possible?

Main errors?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions