To spin up a new environment
Navigate to the candidate's page and click "Gitpod link" under In-browse IDE.
Next, you'll see a login page for GitPod. Hit "Continue with GitHub".
GitPod will complain that it can't open a private repo. So hit "Grant Access".
Your environment might already have a pre-configured setup that installs Cypress needed for running E2E tests. In such a case, wait until you see "you are good to go!" in the terminal.
But if it doesn't, you can configure Cypress by yourself by running the following command in the terminal:
sudo apt update && sudo apt-get install -y xvfb libnss3-dev libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libgbm-dev && npm install
To share an already spun up environment with someone
While in your GitPod VSCode environment, hit "Share" in the bottom bar.
Hit "Share" in the dialog that follows.
Click "Copy URL to Clipboard" in right bottom dialog.
You can now share the copied URL with anyone (candidate, team member) to code together in your environment. Enjoy!
Did this article help?