Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Samuel Plumppu
@Greenheart@fosstodon.org  ·  activity timestamp 4 weeks ago
#Playwright testing is very helpful for all kinds of #WebDev projects, whether you're building libraries or apps.

However Playwright is only officially supported on Ubuntu.

So after experimenting with different ways to install it on #Fedora (and other non-Ubuntu) #Linux distros in the past years, this is my favourite approach so far:

https://samuelplumppu.se/blog/install-playwright-on-linux-with-distrobox

  • Copy link
  • Flag this post
  • Block
Joseph Leedy :magento:
@JosephLeedy@phpc.social replied  ·  activity timestamp 4 weeks ago
@Greenheart excellent tutorial, thanks. I've been struggling to get Playwright working in Docker and I've been stopped by errors when I try to set up X forwarding with Wayland. Distrobox seems to take care of all of that, and I can run "ui", "debug", and "codegen" without any errors.

The only issue that I have with the tutorial is the greater than symbols in the install command cause it to not work at all when directly copied and pasted. Removing them would make the command easier to run.

  • Copy link
  • Flag this comment
  • Block
Samuel Plumppu
@Greenheart@fosstodon.org replied  ·  activity timestamp 3 weeks ago
@JosephLeedy Happy to hear that - I appreciate your feedback! :)

Thanks for letting me know - I'll see if I can fix it. Do you think it might be HTML formatting or something else that is causing the issue?

  • Copy link
  • Flag this comment
  • Block
Joseph Leedy :magento:
@JosephLeedy@phpc.social replied  ·  activity timestamp 3 weeks ago
@Greenheart It might just be from copying the command from your terminal into the blog post.
  • Copy link
  • Flag this comment
  • Block
Samuel Plumppu
@Greenheart@fosstodon.org replied  ·  activity timestamp 3 weeks ago
@JosephLeedy Thanks, that's right! I fixed it yesterday evening. Good luck with tour testing! :)
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.2.21 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login