[{"data":1,"prerenderedAt":255},["ShallowReactive",2],{"newsletter-undocumented-cypress-features":3,"newsletter-surround-undocumented-cypress-features":246},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"publishedAt":11,"slug":12,"image":13,"newsletter":14,"kitId":15,"readingTime":16,"body":21,"_type":240,"_id":241,"_source":242,"_file":243,"_stem":244,"_extension":245},"/newsletter/undocumented-cypress-features","newsletter",false,"","Undocumented Cypress features","Last week was pretty intense for me, how was yours? I learned tons of new stuff to share with you, enjoy!","2024-10-29","2024-10-29T22:05:42Z","undocumented-cypress-features","https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/bFyF3mDqdLykftjWD139js/email",true,17072539,{"text":17,"minutes":18,"time":19,"words":20},"2 min read",1.69,101400,338,{"type":22,"children":23,"toc":231},"root",[24,32,36,43,57,69,74,80,85,92,100,106,122,129,139,145,166,172,185,191,196,203,207],{"type":25,"tag":26,"props":27,"children":28},"element","p",{},[29],{"type":30,"value":31},"text","Hey there,",{"type":25,"tag":26,"props":33,"children":34},{},[35],{"type":30,"value":9},{"type":25,"tag":37,"props":38,"children":40},"h2",{"id":39},"cypress-filter-function-is-cooler-than-i-thought",[41],{"type":30,"value":42},"Cypress .filter function is cooler than I thought",{"type":25,"tag":26,"props":44,"children":45},{},[46,48,55],{"type":30,"value":47},"Last week I discovered something cool about Cypress - you can pass a function to the ",{"type":25,"tag":49,"props":50,"children":52},"code",{"className":51},[],[53],{"type":30,"value":54},".filter()",{"type":30,"value":56}," command 🤯 While the docs mainly talk about basic selectors, this opens up some awesome possibilities for selecting elements based on their values or attributes.",{"type":25,"tag":58,"props":59,"children":64},"pre",{"className":60,"code":62,"language":63,"meta":7},[61],"language-js","cy.get('input').filter((index, el) => {\n  const elementValue = Cypress.$(el).val();\n  return String(elementValue).includes('User input value')\n})\n","js",[65],{"type":25,"tag":49,"props":66,"children":67},{"__ignoreMap":7},[68],{"type":30,"value":62},{"type":25,"tag":26,"props":70,"children":71},{},[72],{"type":30,"value":73},"My upcoming 99 Cypress tips course will be full of gems like these, can’t wait to share it with you!",{"type":25,"tag":37,"props":75,"children":77},{"id":76},"chrome-dev-tools-new-feature",[78],{"type":30,"value":79},"Chrome Dev Tools New Feature",{"type":25,"tag":26,"props":81,"children":82},{},[83],{"type":30,"value":84},"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!",{"type":25,"tag":26,"props":86,"children":87},{},[88],{"type":25,"tag":89,"props":90,"children":91},"img",{"alt":7,"src":13},[],{"type":25,"tag":26,"props":93,"children":94},{},[95],{"type":25,"tag":89,"props":96,"children":99},{"alt":97,"src":98},"Chrome Dev Tools Screenshot","https://media.licdn.com/dms/image/v2/D5622AQERmW8rNFrdtA/feedshare-shrink_800/feedshare-shrink_800/0/1729851289434?e=1733356800&v=beta&t=gefdYFF3zQd9xle_RdcDcPZzLAykzkw6XhSfA-kl3xg",[],{"type":25,"tag":37,"props":101,"children":103},{"id":102},"secrets-to-my-presentation",[104],{"type":30,"value":105},"Secrets to my presentation",{"type":25,"tag":26,"props":107,"children":108},{},[109,111,120],{"type":30,"value":110},"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 ",{"type":25,"tag":112,"props":113,"children":117},"a",{"href":114,"rel":115},"https://sli.dev",[116],"nofollow",[118],{"type":30,"value":119},"sli.dev",{"type":30,"value":121}," with some special tricks thrown in 🤫",{"type":25,"tag":26,"props":123,"children":124},{},[125],{"type":25,"tag":89,"props":126,"children":128},{"alt":7,"src":127},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/xk4Q5YrKCwz1AH9stPhKaq/email",[],{"type":25,"tag":26,"props":130,"children":131},{},[132],{"type":25,"tag":112,"props":133,"children":136},{"href":134,"rel":135},"https://www.linkedin.com/posts/filip-hric_finished-my-presentation-and-most-upvoted-activity-7254947055121453056-YFu6?utm_source=share&utm_medium=member_desktop",[116],[137],{"type":30,"value":138},"Watch the full explanation →",{"type":25,"tag":37,"props":140,"children":142},{"id":141},"claude-ais-new-features",[143],{"type":30,"value":144},"Claude AI’s New Features",{"type":25,"tag":26,"props":146,"children":147},{},[148,155,157,164],{"type":25,"tag":112,"props":149,"children":152},{"href":150,"rel":151},"https://www.linkedin.com/posts/filip-hric_introducing-computer-use-a-new-claude-35-activity-7255116394885713921-_nYI?utm_source=share&utm_medium=member_desktop",[116],[153],{"type":30,"value":154},"I was pretty impressed",{"type":30,"value":156}," by recent ",{"type":25,"tag":112,"props":158,"children":161},{"href":159,"rel":160},"https://www.anthropic.com/news/3-5-models-and-computer-use",[116],[162],{"type":30,"value":163},"Claude AI announcement",{"type":30,"value":165},". 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?",{"type":25,"tag":37,"props":167,"children":169},{"id":168},"events",[170],{"type":30,"value":171},"Events",{"type":25,"tag":26,"props":173,"children":174},{},[175,177,183],{"type":30,"value":176},"After a rather crazy week I’ll have a bit of rest, but I will be speaking soon at ",{"type":25,"tag":178,"props":179,"children":180},"strong",{},[181],{"type":30,"value":182},"Agile Testing Days",{"type":30,"value":184},"! 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!",{"type":25,"tag":37,"props":186,"children":188},{"id":187},"meme-of-the-week",[189],{"type":30,"value":190},"Meme of the week",{"type":25,"tag":26,"props":192,"children":193},{},[194],{"type":30,"value":195},"...when pipelines don’t work 😅",{"type":25,"tag":26,"props":197,"children":198},{},[199],{"type":25,"tag":89,"props":200,"children":202},{"alt":7,"src":201},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/3zRVgorAKoxYWeSjrpJP59/email",[],{"type":25,"tag":204,"props":205,"children":206},"hr",{},[],{"type":25,"tag":26,"props":208,"children":209},{},[210,216,218,225,226],{"type":25,"tag":211,"props":212,"children":213},"em",{},[214],{"type":30,"value":215},"Want to stay connected? Check out my new",{"type":30,"value":217}," ",{"type":25,"tag":112,"props":219,"children":222},{"href":220,"rel":221},"https://links.filiphric.com",[116],[223],{"type":30,"value":224},"personal links page",{"type":30,"value":217},{"type":25,"tag":211,"props":227,"children":228},{},[229],{"type":30,"value":230},"to find me across all platforms!",{"title":7,"searchDepth":232,"depth":232,"links":233},2,[234,235,236,237,238,239],{"id":39,"depth":232,"text":42},{"id":76,"depth":232,"text":79},{"id":102,"depth":232,"text":105},{"id":141,"depth":232,"text":144},{"id":168,"depth":232,"text":171},{"id":187,"depth":232,"text":190},"markdown","content:newsletter:undocumented-cypress-features:index.md","content","newsletter/undocumented-cypress-features/index.md","newsletter/undocumented-cypress-features/index","md",[247,251],{"_path":248,"title":249,"slug":250},"/newsletter/testing-as-an-entry-gate-to-the-world-of-it","Testing as an entry gate to the world of IT","testing-as-an-entry-gate-to-the-world-of-it",{"_path":252,"title":253,"slug":254},"/newsletter/don-t-fix-your-flaky-tests","(Don’t) fix your flaky tests","don-t-fix-your-flaky-tests",1796304107270]