Undocumented Cypress features


Hey Reader,

Last week was pretty intense for me, how was yours? I learned tons of new stuff to share with you, enjoy!

Cypress .filter function is cooler than I thought

Last week I discovered something cool about Cypress - you can pass a function to the .filter() command 🤯 While the docs mainly talk about basic selectors, this opens up some awesome possibilities for selecting elements based on their values or attributes.

 1  cy.get('input').filter((index, el) => {
 2    const elementValue = Cypress.$(el).val();
 3    return String(elementValue).includes('User input value')
 4  })

My upcoming 99 Cypress tips course will be full of gems like these, can’t wait to share it with you!

Chrome Dev Tools New Feature

Have you ever tried to use a scroll command in your automation and spent dozens of minutes trying to figure out why your scrolling doesn’t work? I know I have. Well good news: Chrome dev tools now has a new scroll badge feature and I think it’s absolutely fantastic!

Secrets to my presentation

I had a pretty intense conference week, and after pretty much all my presentations, everyone wanted to know about my setup 😅 I shared my presentation right inside my video and people seemed to love it. I used a combination of OBS and sli.dev with some special tricks thrown in 🤫

Watch the full explanation →

Claude AI’s New Features

I was pretty impressed by recent Claude AI announcement. Apparently, it can now interact with your computer like a human. As a tester, I’m seeing huge potential for automating those “not worth automating” tasks. Imagine having an AI assistant handle post-deployment checks or manage your work communications! But people in my comments are bit more sceptical. What do you think?

Events

After a rather crazy week I’ll have a bit of rest, but I will be speaking soon at Agile Testing Days! I’ll be part of a panel discussion and will have a talk. Come say hello to me, I’d love to make some new friends!

Meme of the week

...when pipelines don’t work 😅


Want to stay connected? Check out my new personal links page to find me across all platforms!

Filip Hric

Sign up for weekly tips on testing, development, and everything related. Unsubscribe anytime you feel like you had enough 😊

Read more from Filip Hric

Hello Reader, If you’ve been reading this newsletter for a while, you know that quality engineering is the hill I’ll always choose to stand on. And this week, I get to share something personal that ties directly into that. I’m joining Qodo I’ve been following Qodo for almost a year now, and I’ve been getting more and more impressed every day. So I’m thrilled to share that I’m joining Qodo as a DevRel engineer. Qodo is an enterprise multi-agent platform for AI-driven code reviews. As AI...

Hey Reader, An interesting thought is popping up in conversations around AI agents: the environment around the thing matters more than the thing itself. Last week I read about Harness engineering and it felt very familiar. As if it was tapping into instincts I already had. If you’ve ever debugged a flaky test only to find the problem was in the setup, not the assertion, that instinct will feel natural. But at the same time it also feels like an unfamiliar territory. It borrows the same...

Hello Reader, AI can generate code, arguably with a pretty decent quality. That’s not news anymore. The question that’s been forming in my head all week is different: how do we decide what should go into production? Writing code is not the hard part (arguably, it never was). The hard part is making sure the right code ships and the wrong code doesn’t. And right now, that selection problem is becoming the defining challenge of AI-assisted development. Last week has definitely showed this....