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

[7.x] Remove chrome binaries #873

Merged
merged 10 commits into from
Feb 15, 2021
Merged

[7.x] Remove chrome binaries #873

merged 10 commits into from
Feb 15, 2021

Conversation

driesvints
Copy link
Member

@driesvints driesvints commented Feb 12, 2021

Remove shipped chrome binaries. This is because of a couple of reasons:

  • They take up quite some space
  • They often conflict with the installed Chrome version
  • We now have a dedicated command to easily install the correct one with the correct version

The current dusk:install command already installs the correct Chrome version. I've also modified this to only install the OS specific one by default. Installing binaries which can't be run anyway doesn't really makes sense. The option remains on the dusk:chrome-driver command if people really need it.

This PR also fixes quite a few tests. I noticed at some point I was getting weird Mockery exception failures after introducing Testbench. Turns out none of the existing tests had the m::close in place. I added these and fixed all existing tests with the proper expectations.

@driesvints driesvints marked this pull request as draft February 12, 2021 16:49
@driesvints
Copy link
Member Author

@crynobone I think I need to reverse PHPUnit v10 support on Dusk since Testbench doesn't yet supports it?

@driesvints driesvints force-pushed the remove-chrome-binaries branch from 1f6f006 to 5239e3c Compare February 15, 2021 10:58
@driesvints driesvints force-pushed the remove-chrome-binaries branch from 5239e3c to d6d545f Compare February 15, 2021 11:00
@driesvints driesvints marked this pull request as ready for review February 15, 2021 14:50
@taylorotwell taylorotwell merged commit 9a41812 into master Feb 15, 2021
@taylorotwell taylorotwell deleted the remove-chrome-binaries branch February 15, 2021 15:10
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

Successfully merging this pull request may close these issues.

2 participants