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

Set-up Remote desktop & rocket-e2e #155

Open
5 of 8 tasks
MathieuLamiot opened this issue Oct 21, 2024 · 1 comment
Open
5 of 8 tasks

Set-up Remote desktop & rocket-e2e #155

MathieuLamiot opened this issue Oct 21, 2024 · 1 comment

Comments

@MathieuLamiot
Copy link
Contributor

MathieuLamiot commented Oct 21, 2024

  • Create your access to the remote desktop and access it with VNC: https://www.notion.so/wpmedia/Remote-desktop-on-OVH-0b03ec9321524c8facdbdb714443126e?pvs=4
  • Generate an SSH key for your remote desktop user and retrieve it locally: https://www.notion.so/wpmedia/Remote-desktop-on-OVH-0b03ec9321524c8facdbdb714443126e?pvs=4#126ed22a22f080689565ecfbff8fe30f
  • Add it to the E2E Wordpress server:
    • ssh [email protected] (to connect to E2E server)
    • sudo nano .ssh/authorized_keys (to manage the list of authorized keys on this server).
  • Git clone Rocket-E2E repository on your remote desktop user in "Documents".
  • Configure Rocket-E2E (config file + plugin zips). I recommend uploading your local conf and zips to the server via FTP and then, with SSH or VNC, copy those files into your rocket-e2e install on the remote desktop.
    You might need to change the wp.config.ts for the SSH key location.
    You might need to change ownership of the files. It is described on Notion as well.
  • Set up the installation with npm install and npx playwright (as explained here)
  • Connect to the remote desktop via VNC, open a terminal there and run npm run test:e2e (it takes ~1 hour)
  •  Compare your HTML report with the reference one provided here. Once you are confident your E2E remote environment is set up properly; share the HTML report in the thread as well to allow the team to compare all of them later on and identify flaky tests.
@MathieuLamiot MathieuLamiot changed the title Set-up Remote desktop & rocket-e2e Ahmed - Set-up Remote desktop & rocket-e2e Oct 21, 2024
@MathieuLamiot MathieuLamiot changed the title Ahmed - Set-up Remote desktop & rocket-e2e WordPressFan - Set-up Remote desktop & rocket-e2e Oct 21, 2024
@MathieuLamiot MathieuLamiot changed the title WordPressFan - Set-up Remote desktop & rocket-e2e Set-up Remote desktop & rocket-e2e Oct 21, 2024
@MathieuLamiot
Copy link
Contributor Author

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

No branches or pull requests

2 participants