off-topic

pez 2026-02-02T15:52:16.621259Z

I love Playwright.

lemuel 2026-02-04T11:36:15.355719Z

Playwright via nbb has been great. I tend to REPL drive some sanity tests I used to do manually

Artur Angiel 2026-02-03T09:50:37.298109Z

@gar - Yes, I use it "directly", but through a custom wrapper developed according to current needs

Artur Angiel 2026-02-07T12:15:38.196239Z

Yes, with nREPL

john 2026-02-06T03:56:34.911279Z

Y'ever done an nrepl for playwright? Would be cool for LLMs for headless runtime access maybe

Artur Angiel 2026-02-02T16:32:17.351879Z

Me too ❤️

🤘 1
2026-02-02T16:55:38.788779Z

yes playwright is key to success

isak 2026-02-02T18:32:11.817259Z

@pez for integration testing, or what do you use it for?

pez 2026-02-02T19:02:44.350199Z

Integration testing, yes. Or just that the UI behaves like I want it. It’s great for catching regressions.

👍 1
gunnar 2026-02-02T20:51:14.265459Z

Haven't tried it myself. How does it compare to cypress in your opinion?

Artur Angiel 2026-02-02T21:33:18.667499Z

It has Java API, so you can use it from REPL. Great for TDD. Another part is running the actual page in browser window instead of embedding it in Cypress I was using Cypress for component testing, but it was flaky, hard to maintain and I had to write tests in ClojureScript. With Playwright I bind new browser context with clojure.test fixtures and it's run like any other Clojure tests. Headed or headless mode. @gar - you should definietly try Playwright. For me it was a gamea changer comparing to Cypress

gunnar 2026-02-02T22:01:08.542679Z

Thanks, @arturangiel ! I'll definitely give it a try. Running like reguler closure tests is very appealing.

gunnar 2026-02-03T07:18:29.284929Z

@arturangiel: do you use the java-lib directly, or some wrapper?

pez 2026-02-03T07:25:38.860989Z

I think the one thing Cypress still does better is using test timings for sharding. Playwright seems to be mainly using file names and it’s often that one shard is consuming most of the lead time. But locally I run with 13 shards so it’s still pretty fine.

gunnar 2026-02-03T07:27:42.096519Z

by sharding, do you mean dividing up the tests for parallellization?

pez 2026-02-03T07:27:56.073559Z

Yes.

2026-02-02T18:07:58.488939Z

Does anyone have an agreement with their employer to dedicate a certain amount of time to an open source project? I am thinking of proposing that to my boss, kind of as an alternative to acquiring certifications (which seem like mostly a waste of resources to me)

2026-02-03T15:38:31.583149Z

Really valuable insights, thanks!

jeaye 2026-02-02T18:48:22.146299Z

Google (and others) have a "20% time" policy for this. I cannot speak to its effectiveness, but there's quite a bit of documentation on it which could be fuel for your negotiations. https://en.wikipedia.org/wiki/Side_project_time#History

jeaye 2026-02-02T18:49:08.573019Z

If you frame the OSS work you're doing as being beneficial to the company (assuming it actually is), that will make negotiations much easier.

seancorfield 2026-02-02T19:34:44.433919Z

I agree that many (most?) certifications are worthless so doing OSS work as a way of expanding your skills seems like a good approach to me. Where I work, half a day a week (so "10% time") is considered perfectly reasonable -- more if the OSS work directly supports the company. Which basically means I can contribute to any OSS libraries and tools we already use... and there have been occasions where that has meant spending most of a week working on some OSS project issues that we ran into at work. A lot will depend on how your employer views OSS in general. Does your company open source any of their tools/libraries? Does your company heavily depend on specific OSS projects?

seancorfield 2026-02-02T19:38:20.313159Z

At some previous companies, I've had an addendum added to my contract that allows me to work on specified OSS projects without the company having any intellectual property claims over that work. That's something you have to watch out for in some employment contracts, where the company tries to exert ownership over any software you work on while employed, even on your own time.

👍 1