[{"data":1,"prerenderedAt":286},["ShallowReactive",2],{"newsletter-webdriver-io-the-black-horse-of-e2e-testing":3,"newsletter-surround-webdriver-io-the-black-horse-of-e2e-testing":277},{"_path":4,"_dir":5,"_draft":6,"_partial":6,"_locale":7,"title":8,"description":9,"date":10,"publishedAt":11,"slug":12,"newsletter":13,"kitId":14,"readingTime":15,"body":20,"_type":271,"_id":272,"_source":273,"_file":274,"_stem":275,"_extension":276},"/newsletter/webdriver-io-the-black-horse-of-e2e-testing","newsletter",false,"","Webdriver.io - the black horse of e2e testing","\\ lately I’ve been playing with webdriver.io. It’s been interesting to see the team behind it implement changes and moving forward. I said it before - webdriverd.io might be the dark horse of the...","2024-12-23","2024-12-23T14:52:50Z","webdriver-io-the-black-horse-of-e2e-testing",true,17725694,{"text":16,"minutes":17,"time":18,"words":19},"2 min read",1.855,111300,371,{"type":21,"children":22,"toc":260},"root",[23,48,80,85,89,96,109,116,121,130,142,148,153,162,174,180,185,194,197,203,214,227,230,236,243,246],{"type":24,"tag":25,"props":26,"children":27},"element","p",{},[28,31,35,37,46],{"type":29,"value":30},"text","Hello there,",{"type":24,"tag":32,"props":33,"children":34},"br",{},[],{"type":29,"value":36},"\nlately I’ve been playing with ",{"type":24,"tag":38,"props":39,"children":43},"a",{"href":40,"rel":41},"https://webdriver.io/",[42],"nofollow",[44],{"type":29,"value":45},"webdriver.io",{"type":29,"value":47},". It’s been interesting to see the team behind it implement changes and moving forward. I said it before - webdriverd.io might be the dark horse of the test automation race. It definitely brings a unique approach to automation challenges and I’ve been amazed to learn about them.",{"type":24,"tag":25,"props":49,"children":50},{},[51,53,60,62,69,71,78],{"type":29,"value":52},"Webdriver.io has implemented the new BiDi protocol, that you’ll probably be hearing about in the future. ",{"type":24,"tag":38,"props":54,"children":57},{"href":55,"rel":56},"https://www.youtube.com/watch?v=6oXic6dcn9w",[42],[58],{"type":29,"value":59},"This video perfectly explains",{"type":29,"value":61}," the difference between different approaches in test automation. To me, it sounds like BiDi protocol will be the future. It brings cross-functionality and speed to test automation and it looks like ",{"type":24,"tag":38,"props":63,"children":66},{"href":64,"rel":65},"https://github.com/cypress-io/cypress/issues/30447",[42],[67],{"type":29,"value":68},"Cypress",{"type":29,"value":70}," and ",{"type":24,"tag":38,"props":72,"children":75},{"href":73,"rel":74},"https://github.com/microsoft/playwright/issues/32577",[42],[76],{"type":29,"value":77},"Playwright",{"type":29,"value":79}," poke around using it too.",{"type":24,"tag":25,"props":81,"children":82},{},[83],{"type":29,"value":84},"I’ve made my first video on webdriver.io on the topic of timeouts. As with every modern test automation tool, timeouts are vital. In order to handle constant re-rendering, asynchronous operations and more, a retryability mechanism is a must-have. In the video I explain different timeouts and how to work with them.",{"type":24,"tag":86,"props":87,"children":88},"hr",{},[],{"type":24,"tag":90,"props":91,"children":93},"h2",{"id":92},"blogposts-discussions-events",[94],{"type":29,"value":95},"Blogposts, discussions, events",{"type":24,"tag":25,"props":97,"children":98},{},[99],{"type":24,"tag":38,"props":100,"children":103},{"href":101,"rel":102},"https://www.youtube.com/watch?v=9-b2t4EhEVQ",[42],[104],{"type":24,"tag":105,"props":106,"children":108},"img",{"alt":7,"src":107},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/vXRmRwFKewtvdhMkyxmqs5",[],{"type":24,"tag":110,"props":111,"children":113},"h3",{"id":112},"upcoming-livestream",[114],{"type":29,"value":115},"Upcoming livestream",{"type":24,"tag":25,"props":117,"children":118},{},[119],{"type":29,"value":120},"My friend Jonathan and me are going to go over biggest ups and down in tech of 2024. Grab you favourite drink and enjoy as we reveal our top picks",{"type":24,"tag":25,"props":122,"children":123},{},[124],{"type":24,"tag":38,"props":125,"children":127},{"href":101,"rel":126},[42],[128],{"type":29,"value":129},"Set a reminder →",{"type":24,"tag":25,"props":131,"children":132},{},[133],{"type":24,"tag":38,"props":134,"children":137},{"href":135,"rel":136},"https://www.youtube.com/watch?v=cz14aXux4ws",[42],[138],{"type":24,"tag":105,"props":139,"children":141},{"alt":7,"src":140},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/5oNq5hoqb25fy3G7rG27J9",[],{"type":24,"tag":110,"props":143,"children":145},{"id":144},"podcast-makeitfun",[146],{"type":29,"value":147},"Podcast makeITfun",{"type":24,"tag":25,"props":149,"children":150},{},[151],{"type":29,"value":152},"I was a guest on the makeITfun podcast recently. We spoke about tooling, my career journey and much more. The podcast is in Slovak language.",{"type":24,"tag":25,"props":154,"children":155},{},[156],{"type":24,"tag":38,"props":157,"children":159},{"href":135,"rel":158},[42],[160],{"type":29,"value":161},"Attend now →",{"type":24,"tag":25,"props":163,"children":164},{},[165],{"type":24,"tag":38,"props":166,"children":169},{"href":167,"rel":168},"https://filiphric.com/introduction-to-testing-in-vitest",[42],[170],{"type":24,"tag":105,"props":171,"children":173},{"alt":7,"src":172},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/pBWybiX9AVNJejvcgyAQRv",[],{"type":24,"tag":110,"props":175,"children":177},{"id":176},"introduction-to-testing-in-vitest",[178],{"type":29,"value":179},"Introduction to testing in Vitest",{"type":24,"tag":25,"props":181,"children":182},{},[183],{"type":29,"value":184},"I’ve been recently playing with Vitest and I have summarized my learnings in my new blog. If you are curious about unit and component testing, I highly recommend you check it out!",{"type":24,"tag":25,"props":186,"children":187},{},[188],{"type":24,"tag":38,"props":189,"children":191},{"href":167,"rel":190},[42],[192],{"type":29,"value":193},"Read more →",{"type":24,"tag":86,"props":195,"children":196},{},[],{"type":24,"tag":90,"props":198,"children":200},{"id":199},"test-automation-tip",[201],{"type":29,"value":202},"Test automation tip",{"type":24,"tag":25,"props":204,"children":205},{},[206,208,212],{"type":29,"value":207},"When testing submit forms, the easiest approach is to simply loop through input fields and fill it with data. However, there are cases where forms use invisible inputs to prevent bots and crawlers to fill them in. For cases like these, you can use ",{"type":24,"tag":209,"props":210,"children":211},"visible",{},[],{"type":29,"value":213}," pseudo selector to only interact with those elements that can actually be seen by user.",{"type":24,"tag":215,"props":216,"children":221},"pre",{"className":217,"code":219,"language":220,"meta":7},[218],"language-js","it(':visible elements', () => {\n\n  cy.visit('/')\n  cy.get('input:visible').each((el, i) =>\n    cy.wrap(el)\n      .type(data[i])\n  )\n\n  cy.contains('button', 'Register')\n    .should ('be enabled')\n})\n","js",[222],{"type":24,"tag":223,"props":224,"children":225},"code",{"__ignoreMap":7},[226],{"type":29,"value":219},{"type":24,"tag":86,"props":228,"children":229},{},[],{"type":24,"tag":90,"props":231,"children":233},{"id":232},"meme-of-the-week",[234],{"type":29,"value":235},"Meme of the week",{"type":24,"tag":25,"props":237,"children":238},{},[239],{"type":24,"tag":105,"props":240,"children":242},{"alt":7,"src":241},"https://embed.filekitcdn.com/e/7ZDF8HKDtDu5ZtF7YH7UBT/q5753CUchnrVhcBtQJDh8Q/email",[],{"type":24,"tag":86,"props":244,"children":245},{},[],{"type":24,"tag":25,"props":247,"children":248},{},[249,251,258],{"type":29,"value":250},"Also, my friend ",{"type":24,"tag":38,"props":252,"children":255},{"href":253,"rel":254},"https://www.linkedin.com/feed/update/urn:li:activity:7274875979112632321/",[42],[256],{"type":29,"value":257},"Murat Özcan",{"type":29,"value":259},", a real 10x engineer, is currently seeking new opportunities. Known for his exceptional skills and innovative thinking, Murat is a top talent in the tech industry.",{"title":7,"searchDepth":261,"depth":261,"links":262},2,[263,269,270],{"id":92,"depth":261,"text":95,"children":264},[265,267,268],{"id":112,"depth":266,"text":115},3,{"id":144,"depth":266,"text":147},{"id":176,"depth":266,"text":179},{"id":199,"depth":261,"text":202},{"id":232,"depth":261,"text":235},"markdown","content:newsletter:webdriver-io-the-black-horse-of-e2e-testing:index.md","content","newsletter/webdriver-io-the-black-horse-of-e2e-testing/index.md","newsletter/webdriver-io-the-black-horse-of-e2e-testing/index","md",[278,282],{"_path":279,"title":280,"slug":281},"/newsletter/2024-recap-livestream-today","2024 recap - livestream today","2024-recap-livestream-today",{"_path":283,"title":284,"slug":285},"/newsletter/the-end-of-an-era","The end of an era","the-end-of-an-era",1796304106805]