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

Replace Spectron with Playwright or other #651

Closed
FrancescoBorzi opened this issue Nov 12, 2021 · 2 comments
Closed

Replace Spectron with Playwright or other #651

FrancescoBorzi opened this issue Nov 12, 2021 · 2 comments

Comments

@FrancescoBorzi
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Spectron is going to be deprecated, see electron-userland/spectron#1045 and electron-userland/spectron#896

Describe the solution you'd like

We should replace it with another solution which is actively maintained

Describe alternatives you've considered

In the GitHub discussions above, several users suggested Playwright as an alternative and gave positive feedback about it.

https://playwright.dev/docs/api/class-electronapplication/

@maximegris
Copy link
Owner

maximegris commented Nov 13, 2021

Indeed Playwright seems to be a good fit and promising.

I will try to replace Spectron and also upgrade to Electron 15 during this weekend.

@maximegris
Copy link
Owner

maximegris commented Nov 14, 2021

Playwright is now used as end-to-end test runner.
It is a simple integration of Playwright wich may need to be improved in future commit.

I also upgraded the project to Electron 15.

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