mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.1K
active users

#playwright

7 posts7 participants1 post today

I recently wrote my first #Playwright tests.

When I run them with "npx playwright test --ui", they always pass.

When I run them with "npx playwright test", there is usually one test that fails.

Anybody have an idea what might be going on here? Thanks!

Your logs are lying to you - metrics are meaner and better.

Everyone loves logs… until the incident postmortem reads like bad fan fiction.
Most teams start with expensive log aggregation, full-text searching their way into oblivion. So much noise. So little signal. And still, no clue what actually happened. Why? Because writing meaningful logs is a lost art.
Logs are like candles, nice for mood lighting, useless in a house fire.

If you need traces to understand your system, congratulations: you're already in hell.

Let me introduce my favourite method: real-time, metric-driven user simulation aka "Overwatch".

Here's how you do it:

🧪 Set up a service that runs real end-to-end user workflows 24/7. Use Cypress, Playwright, Selenium… your poison of choice.
📊 Every action creates a timed metric tagged with the user workflow and action.
🧠 Now you know exactly what a user did before everything went up in flames.

Use Grafana + InfluxDB (or other tools you already use) to build dashboards that actually tell stories:

* How fast are user workflows?
* Which steps are breaking, and how often?
* What's slower today than yesterday?
* Who's affected, and where?

🎯 Alerts now mean something.
🚨 Incidents become surgical strikes, not scavenger hunts.
⚙️ Bonus: run the same system on every test environment and detect regressions before deployment. And if you made it reusable, you can even run the service to do load tests.

No need to buy overpriced tools. Just build a small service like you already do, except this one might save your soul.

And yes, transform logs into metrics where possible. Just hash your PII data and move on.

Stop guessing. Start observing.
Metrics > Logs. Always.

#PreludeTech's next weekend learning sprint on 10/11 May.

Pick a topic, learn through hands-on practice, connect with other ambitious devs, and get expert support on tap!

- Modern frontend development with #Django, #HTMX, #Tailwind, #Playwright and #AlpineJS: buff.ly/OQFbNGB
- Adding Authentication to your Django app: #AllAuth integration and customisation: buff.ly/7VhjPHK
- Getting #Git: A Beginner’s Guide to Version Control and the Terminal: buff.ly/BGBbNJm

"Whenever the #author and #playwright Samantha Ellis tries to define her heritage to people, she often finds them correcting her. “So many times I’ve said I’m an #Iraqi #Jew and been… told ‘you mean you’re mixed’ or ‘which parent is which?’ or just ‘how weird’,” she writes in her richly detailed #memoir, in which she explores the complex, centuries-old history of the Iraqi-#Jewish community and its vanishing language, #Judeo-Iraqi #Arabic.

The daughter of Iraqi-Jewish #refugees who came separately to #London with their families during periods of persecution for the community in #Baghdad, Ellis is moved to seek out #stories, expressions and objects that will fill some of the gaps in that #history when she realises that she lacks the vocabulary to pass on the language of her childhood to her own young son."

theguardian.com/books/2025/apr

The Guardian · Chopping Onions on my Heart by Samantha Ellis review – an Iraqi Jew’s celebration of an endangered cultureBy Stephanie Merritt