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

Fix devcontainer configuration #1256

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

radanskoric
Copy link

@radanskoric radanskoric commented May 6, 2024

I wanted to try some changes to turbo source on to get myself started quickly I tried using the devcontainer setup but it didn't work. So instead I spent the time debugging that issue.

The devcontainer was no longer working since chrome version 115 because location of installation files changed. See comment on: https://chromedriver.chromium.org/downloads

However we don't need to build it ourselves since Microsoft maintains docker images with playwright preinstalled with chrome, firefox and webkit.

This means that we can simplify the setup a lot while still keeping the goal of allowing people to get an environment in which they can run tests by simply starting a devcontainer or running a Github codespace.

I've just tested this now by launching a github codespace from this here branch on my fork. After waiting a bit, I was able to just write yarn test and it worked. (Strangely there were a few tests that failed. They were flaky, the runner re-ran them and they passed and where flagged as flaky by the runner)

The devcontainer was no longer working since chrome
version 115 because location of installation files changed.
See comment on: https://chromedriver.chromium.org/downloads

However we don't need to build it ourselves since Microsoft
maintains docker images with playwright preinstalled with
chrome, firefox and webkit.

This means that we can simplify the setup a lot while still
keeping the goal of allowing people to get an environment
in which they can run tests by simply starting a devcontainer
or running a Github codespace.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant