Filip Hric

Filip Hric

Filip Hric is a DevRel at Replay.io He teaches testers about web development and developers about testing. Filip has a Cypress.io ambassador, leads a “Learn Cypress.io” community on Discord and has a blog at filiphric.com where he publishes Cypress.io tips. He’s an international keynote speaker and leading expert on test automation in Cypress.io. As author and instructor of live Cypress workshop, he has taught hundreds of testers and developers about good practices and advanced concepts for testing in Cypress. Enjoys running, playing guitar and spending time with his wife and four children.
Why Agents Ignore Your Rules
AI Coding Summit BerlinAI Coding Summit Berlin
Upcoming
Why Agents Ignore Your Rules
Every repo has them now: CLAUDE.md, AGENTS.md, a folder of markdown rule files written to steer the AI. Write the rule once, get the code you want. Except these files are advisory, not enforced, as every major vendor says so in their own docs. The research backs it up. Adding them doesn't always improve results, and it can raise the costs by more than 20%. Adherence fades as files grow and conversations run long.

This talk is about how to minimize and fix this problem. First, how the tools really work: how Cursor, Claude Code, and Codex load and rank rule files, why precedence between them is often undefined, and how to check what actually reached the model on a given run. Then how to govern rules like real code: scope each one so it fires only where it should, put the non-negotiables up top where the model pays attention, and prune the files before they rot or start contradicting each other. And for the rules that truly cannot fail, move them out of prose and into hooks and CI, where the action is guaranteed every time.

Do all that, and each rule earns a second job. Beyond steering the AI, a written-down rule is the standard you measure the finished code against. And that gap, between the app you described and the app you got, is where trust actually lives. You'll leave knowing which of your rules do real work and which just sit there looking like they do, and how to verify that instead of assuming it.
Best Practices for Writing and Debugging Cypress Tests
TestJS Summit 2023TestJS Summit 2023
148 min
Best Practices for Writing and Debugging Cypress Tests
Top Content
Workshop
You probably know the story. You’ve created a couple of tests, and since you are using Cypress, you’ve done this pretty quickly. Seems like nothing is stopping you, but then – failed test. It wasn’t the app, wasn’t an error, the test was… flaky? Well yes. Test design is important no matter what tool you will use, Cypress included. The good news is that Cypress has a couple of tools behind its belt that can help you out. Join me on my workshop, where I’ll guide you away from the valley of anti-patterns into the fields of evergreen, stable tests. We’ll talk about common mistakes when writing your test as well as debug and unveil underlying problems. All with the goal of avoiding flakiness, and designing stable test.
Fighting Test Flakiness with Time Machines
TestJS Summit 2023TestJS Summit 2023
29 min
Fighting Test Flakiness with Time Machines
What would you do differently if you could travel back in time? Modern testing frameworks have transformed this whimsical question into a practical one, by creating their own “time machines”.Cypress’ timeline, Playwright’s trace-viewer and Replay.io’s recordings have offered a retrospective look into the life of a test, ensuring that developers and testers are no longer limited to basic error messages on test failures.However, these different time machines will bring different insights. So how do you decide? The decision on which one to use can make a significant difference in time spent on debugging a flaky test.In this presentation I will be focusing on comparing different time machine solutions and showing various flaky test examples to demonstrate how to navigate through debugging process and believe it or not - make it fun.Key Takeaways:- learn about how different time machine solutions work- discover how to effectively use time machines to debug a flaky test- find out about sources of flakiness within the test and within the application under test
How to Start With Cypress
TestJS Summit 2022TestJS Summit 2022
146 min
How to Start With Cypress
Workshop
The web has evolved. Finally, testing has also. Cypress is a modern testing tool that answers the testing needs of modern web applications. It has been gaining a lot of traction in the last couple of years, gaining worldwide popularity. If you have been waiting to learn Cypress, wait no more! Filip Hric will guide you through the first steps on how to start using Cypress and set up a project on your own. The good news is, learning Cypress is incredibly easy. You'll write your first test in no time, and then you'll discover how to write a full end-to-end test for a modern web application. You'll learn the core concepts like retry-ability. Discover how to work and interact with your application and learn how to combine API and UI tests. Throughout this whole workshop, we will write code and do practical exercises. You will leave with a hands-on experience that you can translate to your own project.
Full-Circle Testing With Cypress
TestJS Summit 2022TestJS Summit 2022
27 min
Full-Circle Testing With Cypress
Top Content
Cypress has taken the world by storm by brining an easy to use tool for end to end testing. It’s capabilities have proven to be be useful for creating stable tests for frontend applications. But end to end testing is just a small part of testing efforts. What about your API? What about your components? Well, in my talk I would like to show you how we can start with end-to-end tests, go deeper with component testing and then move up to testing our API, circ