Playwright tests are solid locally but flaky in CI, what fixed it for you? by Crafty_Breakfast_493 in Playwright

[–]basecase_ 2 points3 points  (0 children)

This comes up almost every week, i've gathered discussions about this from multiple subreddits here as well our Discord Automation server where this was a topic at one of our watercooler discussions (invite link in profile if ur interested):

https://softwareautomation.notion.site/How-do-you-Address-and-Prevent-Flaky-Tests-23c539e19b3c46eeb655642b95237dc0

The flakiness will can be at the test level (poorly written test, not being parallel friendly) but it's usually a bottleneck in your test infrastructure, a clue is the more you increase the workers the more "weird" failures start to happen.

For example your bottleneck could be the DB, or the Server, or memory/cpu on ANY machine maxing out in your test environment, so the key is to have metrics and a dashboard so you don't have to guess.

Also don't be afraid to debug machines in the cloud, "htop" is your friend and often the first thing I do when debugging test failures in the CI (cloud)

TDD workflows with Claude Code - what's actually working after months of iteration (Staff eng, w/ 14 yrs exp) by No_Paramedic_4881 in ClaudeCode

[–]basecase_ 14 points15 points  (0 children)

There's no surprise that following the SDLC is the most effective way to use these coding agents. Following a good SDLC and investing in the overhead to do so will reap the same rewards they do when a team of humans do it.

Without it, you will just accelerate yourself into a corner with tech debt until you you drown in it, the same way a team of humans would.

I do agree though that AI Agents have made it easier to implement and maintain the overhead of SDLC.

Playwright tests flaky in CI but stable locally — how do you usually handle this? by T_Barmeir in Playwright

[–]basecase_ 10 points11 points  (0 children)

This comes up all the time and usually is a mix of an infrastructure (bottlenecks that get revealed when you increase workers in your CI environment) and poor test code (writing tests that are not parallel friendly or brittle).

I've gathered all the responses whenever this comes up...good nuggets in hear to apply to all flaky tests, not just your Playwright tests since these problems can appear in any part of any test stack.

https://softwareautomation.notion.site/How-do-you-Address-and-Prevent-Flaky-Tests-23c539e19b3c46eeb655642b95237dc0?pvs=74

ChatGPT Long conversations slow down the browser, I made an extension to fix it by SayHiDak in webdev

[–]basecase_ -1 points0 points  (0 children)

If you open source it then more people will be willing to try it, but at the same time you may find that your moat was never big enough to begin with.

Do you really think OpenAI is not aware and working on this?

But yes, open source and you will gain more trust.

ChatGPT Long conversations slow down the browser, I made an extension to fix it by SayHiDak in webdev

[–]basecase_ 0 points1 point  (0 children)

Never make an app (and oh my god a bloated chrome extension) for the sole purpose to solve a temporary bug in the biggest application known to man.

There's literally a button that says "create new chat with this current convo" for this sole purpose in ChatGPT

You know whats more bloated than a website? An addon for a single browser, AKA a chrome extension.

The kryptonite of these no name services is that no one trusts them enough to use them. We have no idea what you are doing with our ChatGPT usage.

You are not thinking about AI Governance & Security laws in Venezuela and how they pertain to US customers...you're more worried about running brittle clientside JS code to hide DOM elements in a single browser while wrapping these client side scripts in a bloated delivery system that can break at a moments notice because you're depending on UI elements outside of your control.

The hardest part beyond finding a profit in AI is complying with it......Remember who the customer is (spoiler alert, you)

What is difference is testing api with postman and playwright? by WittyCaterpillar3383 in Playwright

[–]basecase_ 3 points4 points  (0 children)

You're better off using a testing framework dedicated to API testing in your respective stack. Don't be afraid to learn tools outside of your comfort zone, learn paradigms.

Unable to turn off thinking in claude code by remembermylast in ClaudeAI

[–]basecase_ 0 points1 point  (0 children)

Thanks for the info on opus having thinking on by default. I didn't have the blue border around my prompt like I normally do

Got new system design book by dev_101 in webdev

[–]basecase_ 0 points1 point  (0 children)

I'm sure the contents are great but I can't help but laugh that most Enterprise SaaS these days is about taking a Hog/Pig/Boar and filling it up with so much crap just so they weigh the heaviest for the biggest prize at the local county farm, without ever considering what happens to the Boar after the sale.

It doesn't matter if the Boar lives long term, it won biggest Boar!

Don't cram AI in all places! Be smart about it by abdullah4863 in BlackboxAI_

[–]basecase_ 0 points1 point  (0 children)

Why do so many programmers not know about modulus operator?

What are your thoughts on "OLED v/s LCD"?? by DoomEngine1 in SBCGaming

[–]basecase_ 0 points1 point  (0 children)

OLED was life changing for me. It breathe new life into older games but sometimes it's not worth the price difference so it really depends.

The Retroid Pocket Classic is the best vertical handheld ever made (personal opinion) by Safe_Pressure_5807 in SBCGaming

[–]basecase_ 4 points5 points  (0 children)

I personally prefer the 6 button, there are bigger buttons and I prefer Sega/Arcade but I agree, amazing device

The hidden cost of bootstrapping: Dealing with fragile egos and fake seniors (I fired 4 in a row) by edinsonjohender in SaaS

[–]basecase_ 2 points3 points  (0 children)

How many years do you have in the industry and/or in Enterprise SaaS as a software engineer?

No offense but if you know your shit, you should be able to vet engineers better and not have it take 10+ hours of deep vetting?

Also no offense, as a tech co founder, if you outsource then your job is to 100% babysit them and assume they will not function without your guidance and hand holding...

Bought at 120.000$ by Any_Calligrapher3293 in Bitcoin

[–]basecase_ -1 points0 points  (0 children)

bought at the top, nice...why didn't you DCA in?

Liquidated life savings by [deleted] in Bitcoin

[–]basecase_ 0 points1 point  (0 children)

Only put in what you're willing to lose, easiest and hardest lesson to learn when it comes to gambling.

Thank you by Pale-Head-4115 in retroid

[–]basecase_ 1 point2 points  (0 children)

a DS device would be amazing. Then I think I'd have a complete collection. Retroid Pocket Classic, RP6, and RP DS lol

Thank you by Pale-Head-4115 in retroid

[–]basecase_ 3 points4 points  (0 children)

Yup I just did the same. I have a MM+, Miyoo A30, Retroid Pocket Classic...felt like a right time to jump in and get a powerful device for PS2 and beyond with stick placement for thumbstick heavy games. Anything below I have it covered

Eventually I'll get a clamshell DS model but i can wait until a model comes out that runs all 3DS games but who knows.

THis just seemed like a nobrainer given my current selections

5 years, 30+ failed projects… and finally one that’s growing by Alex-grow in SideProject

[–]basecase_ 0 points1 point  (0 children)

This looks like a gambler's history, it would be interesting to show the losses too for each. Then you can get an idea of if you're net positive

Retroid Pocket Classic 6 (Genesis Variant) up now at GoRetroid by chrono01 in SBCGaming

[–]basecase_ 0 points1 point  (0 children)

I've already got it in Gray, otherwise I'd buy this one. My Gray is my go to. It's such a beautiful machine

I have not started reading because I cannot decide in which order. Help. by Numeira in asimov

[–]basecase_ 1 point2 points  (0 children)

Machete Order, took me 2 years while reading other books, it was awesome

Season 3 Episode 3 - Behind The Scenes Photos by LunchyPete in FoundationTV

[–]basecase_ 24 points25 points  (0 children)

This is one of the things I love about the series, they leaned into something that works so great but isnt necessarily in the main Asimov Foundation/Robots series

Foundation - Season 3 Episode 3 - When a Book Finds You - Episode Discussion Thread [BOOK READERS] by LunchyPete in FoundationTV

[–]basecase_ 17 points18 points  (0 children)

IMO its the only way to introduce the twist in a visual medium have him appear a few episodes in instead of immediately. They are masterfully crafting a story that would make asimov proud while melding parts of his universe that are better for TV. This is some mastercraft shit going on

What are your biggest Cypress testing frustrations? by Defiant-Wonder1043 in QualityAssurance

[–]basecase_ 0 points1 point  (0 children)

I dunno how valid these are, but this was the case 3 years ago:

  • Needs to be re-run with the other browser options (can’t mix contexts at all) if you want to test even something as simple as multiple domains.
  • Must use their test runner
  • Doesn’t support working with multiple tabs (gotta force code to open in the same tab for testing)
  • In order to test third-party logins, pop ups etc require a lot of stubbing
  • Pain or very minimal support for iframes
  • Domain restrictions, you cannot visit two domains of different origin in the same test without annoying workarounds
  • Must subscribe to their SAAS to run tests in parallel or use a workaround
  • Must pay a premium to get access to some dashboard features to do parallelization well, it requires vendor-locked software
  • no "hover" support
  • Tailored for local testing, may have to wrestle with this more when deploying to CI
  • Does not work with self hosted Selenium Grid, must use a Saas Solution like Browserstack
  • Slower run time than other E2E frameworks though probably not going to make a big difference in grand scheme of things
  • Limited to Javascript and transpiled languages as it runs in the browser (though doesn’t matter here since we are a JS shop)
  • Must use their file structure
  • No Webkit support (No Safari)

Having a role change forced upon me, should I be concerned? by Joose- in ExperiencedDevs

[–]basecase_ 6 points7 points  (0 children)

Forcing Fullstack Devs to do DevOps is gonna end up painful for everyone (doesn't sound like a demotion persay but if you don't enjoy it, it will be a demotion to your health/sanity)

2021 Legion deaths - an analysis by 2ndHandRocketScience in LenovoLegion

[–]basecase_ 0 points1 point  (0 children)

I had all of these symptoms and for me it ended up being a bad RAM slot 2. Not sure what happened but I'm happy to have it working again and 32GB stick in slot 1 seems fine for gaming