[{"data":1,"prerenderedAt":184},["ShallowReactive",2],{"newsletter-testing-as-an-entry-gate-to-the-world-of-it":3,"newsletter-surround-testing-as-an-entry-gate-to-the-world-of-it":175},{"_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":169,"_id":170,"_source":171,"_file":172,"_stem":173,"_extension":174},"/newsletter/testing-as-an-entry-gate-to-the-world-of-it","newsletter",false,"","Testing as an entry gate to the world of IT","How does the sentence \"Testing is an entry gate to the world of IT\" make you feel? I asked this question recently on my social media and I got varying responses. Some view this as an insult, some...","2024-11-05","2024-11-05T11:49:43Z","testing-as-an-entry-gate-to-the-world-of-it","https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/fAUB8DzAWXzirjLUTNjvqC/email",true,17146612,{"text":17,"minutes":18,"time":19,"words":20},"2 min read",1.12,67200,224,{"type":22,"children":23,"toc":163},"root",[24,32,56,70,77,81,88,93,106,112,124,131,137,144,147,155],{"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,37,43,45,54],{"type":30,"value":36},"How does the sentence ",{"type":25,"tag":38,"props":39,"children":40},"em",{},[41],{"type":30,"value":42},"\"Testing is an entry gate to the world of IT\"",{"type":30,"value":44}," make you feel? I asked this question ",{"type":25,"tag":46,"props":47,"children":51},"a",{"href":48,"rel":49},"https://www.linkedin.com/posts/filip-hric_i-had-an-interesting-discussion-today-about-activity-7259277933318389760-8ZLf?utm_source=share&utm_medium=member_desktop",[50],"nofollow",[52],{"type":30,"value":53},"recently on my social media",{"type":30,"value":55}," and I got varying responses. Some view this as an insult, some are pretty ok.",{"type":25,"tag":26,"props":57,"children":58},{},[59,61,68],{"type":30,"value":60},"While I understand that the undertone of this sentence can feel demeaning to the testing profession, I think there might be some merit. I summed this up in one of ",{"type":25,"tag":46,"props":62,"children":65},{"href":63,"rel":64},"https://www.youtube.com/watch?v=DaeFdxSYAyg",[50],[66],{"type":30,"value":67},"my older videos",{"type":30,"value":69},". Let me know your thoughts!",{"type":25,"tag":26,"props":71,"children":72},{},[73],{"type":25,"tag":74,"props":75,"children":76},"img",{"alt":7,"src":13},[],{"type":25,"tag":78,"props":79,"children":80},"hr",{},[],{"type":25,"tag":82,"props":83,"children":85},"h2",{"id":84},"regex-ing-cypress-intercepts",[86],{"type":30,"value":87},"RegEx-ing Cypress intercepts",{"type":25,"tag":26,"props":89,"children":90},{},[91],{"type":30,"value":92},"I love working with cy.intercept(), I feel like it’s making testing a breeze. But recently I found out I actually don’t have a way to wait for a given intercept using regular expressions. Obviously, I had to fix that and come up with this neat solution:",{"type":25,"tag":94,"props":95,"children":100},"pre",{"className":96,"code":98,"language":99,"meta":7},[97],"language-js","Cypress.Commands.add(\"waitAlias\", function (this: any, pattern: RegExp) {\n  return cy.wrap(null, { log: false }).then(function () {\n    const matchingAliases = Object.keys(this).filter(alias =>\n      pattern.test(alias),\n    );\n\n    if (matchingAliases.length === 0) {\n      throw new Error(`No aliases found matching pattern: ${pattern}`);\n    }\n\n    return cy.wait(\"@\" + matchingAliases[0]);\n  });\n});\n","js",[101],{"type":25,"tag":102,"props":103,"children":104},"code",{"__ignoreMap":7},[105],{"type":30,"value":98},{"type":25,"tag":82,"props":107,"children":109},{"id":108},"random-project-idea-command-palette-for-browser",[110],{"type":30,"value":111},"Random project idea: Command Palette for browser",{"type":25,"tag":26,"props":113,"children":114},{},[115,117],{"type":30,"value":116},"I was on vacation last week, and during evenings I had a quick idea on a command palette for browser to improve my productivity. Inspired by Arc browser’s command palette, I created something on my own. ",{"type":25,"tag":46,"props":118,"children":121},{"href":119,"rel":120},"https://github.com/filiphric/command-palette",[50],[122],{"type":30,"value":123},"Feel free to check it out.",{"type":25,"tag":26,"props":125,"children":126},{},[127],{"type":25,"tag":74,"props":128,"children":130},{"alt":7,"src":129},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/iXeCjMVYN4sB376QBGE9vC/email",[],{"type":25,"tag":82,"props":132,"children":134},{"id":133},"meme-of-the-week-why",[135],{"type":30,"value":136},"Meme of the Week: “Why?”",{"type":25,"tag":26,"props":138,"children":139},{},[140],{"type":25,"tag":74,"props":141,"children":143},{"alt":7,"src":142},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/suHpLiAJw4Tw3trYFdfuLU/email",[],{"type":25,"tag":78,"props":145,"children":146},{},[],{"type":25,"tag":26,"props":148,"children":149},{},[150],{"type":25,"tag":38,"props":151,"children":152},{},[153],{"type":30,"value":154},"That’s all for this week! Happy testing!",{"type":25,"tag":26,"props":156,"children":157},{},[158],{"type":25,"tag":38,"props":159,"children":160},{},[161],{"type":30,"value":162},"Filip",{"title":7,"searchDepth":164,"depth":164,"links":165},2,[166,167,168],{"id":84,"depth":164,"text":87},{"id":108,"depth":164,"text":111},{"id":133,"depth":164,"text":136},"markdown","content:newsletter:testing-as-an-entry-gate-to-the-world-of-it:index.md","content","newsletter/testing-as-an-entry-gate-to-the-world-of-it/index.md","newsletter/testing-as-an-entry-gate-to-the-world-of-it/index","md",[176,180],{"_path":177,"title":178,"slug":179},"/newsletter/running-cypress-tests-locally","Running Cypress tests locally","running-cypress-tests-locally",{"_path":181,"title":182,"slug":183},"/newsletter/undocumented-cypress-features","Undocumented Cypress features","undocumented-cypress-features",1796304107204]