Playwright Cross Platform Considerations #23
CodeBunTes
started this conversation in
Ideas
Replies: 1 comment
-
Hey @CodeBunTes thanks for raising the discussion and providing some notes on this. I must admit I've also been testing this on Windows so hasn't really been on my radar, will have a read through the options. Agree we should definitely more gracefully handle the situation where Playwright fails to load, apologies for causing an issue with your live deployment! Our intention here is to have the package added and then do it's thing in the background for when you need to run some tests on website pages. cc/ @rickbutterfield |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After accidentally including the Sustainabilty package I'd been trying out on dev in a live deployment and finding myself taking down the site completely, I dug into cross platform support for this a little more given I develop and test on Windows but host the production site in Linux, as this didn't seem like something which should have been possible so easily. I thought I'd open a discussion around the findings to see if it can help provide some ways we can make this experience a bit better.
The problems
The biggest hurdles all seem to stem from how Playwright naturally works cross platform, which differ from how a lot of regular nuget packages function:-
Solutions?
All of these are inherent limits in how Playwright work (there are debates open about this, but they haven't managed to get much change). But is likely something a regular developer just installing a package in both the nuget and Umbraco world would not expect to have to think about and would assume everything would 'just work (TM)'. While hard to resolve directly, there are a few suggestions I have which may help.
References
Beta Was this translation helpful? Give feedback.
All reactions