<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hari Gokul</title>
    <description>The latest articles on DEV Community by Hari Gokul (@hari_gokul).</description>
    <link>https://dev.to/hari_gokul</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3817749%2F52d4309f-c76d-44f9-9d73-073bfe9cc1d9.png</url>
      <title>DEV Community: Hari Gokul</title>
      <link>https://dev.to/hari_gokul</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hari_gokul"/>
    <language>en</language>
    <item>
      <title>Why Flaky Tests Are More Dangerous Than Failed Tests</title>
      <dc:creator>Hari Gokul</dc:creator>
      <pubDate>Thu, 24 Sep 2026 09:52:29 +0000</pubDate>
      <link>https://dev.to/hari_gokul/why-flaky-tests-are-more-dangerous-than-failed-tests-13m6</link>
      <guid>https://dev.to/hari_gokul/why-flaky-tests-are-more-dangerous-than-failed-tests-13m6</guid>
      <description>&lt;p&gt;A failed test is usually easy to notice.&lt;/p&gt;

&lt;p&gt;It turns red, someone checks it, finds the problem, fixes it, and moves on.&lt;/p&gt;

&lt;p&gt;Flaky tests are different. They pass sometimes and fail sometimes, and the difficult part is figuring out why. After seeing the same test fail randomly several times, people can slowly start treating it as "just another flaky test."&lt;/p&gt;

&lt;p&gt;That's where things become risky.&lt;/p&gt;

&lt;p&gt;Flaky tests can come from timing issues, unstable selectors, network delays, test data, asynchronous operations, or differences between environments. Sometimes the application is working perfectly and the test is the problem. Other times, the failure is actually pointing to a real bug.&lt;/p&gt;

&lt;p&gt;The biggest problem is that people eventually stop trusting the test results.&lt;/p&gt;

&lt;p&gt;Imagine a CI pipeline with hundreds of tests. If a few tests are known to fail randomly, developers may simply rerun the pipeline. But what if one of those failures is actually a real issue?&lt;/p&gt;

&lt;p&gt;This is why we started looking at flaky tests differently while working on X360aitech. The goal isn't just to make the pipeline green. It's to understand what caused the failure and give testers enough information to decide what to do next.&lt;/p&gt;

&lt;p&gt;Playwright is great for browser automation, but the framework itself can't solve every source of flakiness. Test design, stable locators, proper waits, isolated test data, and a reliable environment are still important. In X360aitech, we look at these execution details together with AI-assisted analysis rather than treating a failed test as just a red status.&lt;/p&gt;

&lt;p&gt;This is where AI becomes interesting. With X360aitech, execution information such as logs, screenshots, traces, and previous test results can be used to help identify patterns around failures. Instead of spending time going through everything manually, testers can get a better starting point for investigation.&lt;/p&gt;

&lt;p&gt;Self-healing is another area we're exploring with X360aitech. If a UI change breaks a selector, AI can help identify whether the element has changed and whether a possible replacement actually makes sense.&lt;/p&gt;

&lt;p&gt;But there's an important distinction: self-healing shouldn't mean making every failed test pass.&lt;/p&gt;

&lt;p&gt;If a test fails three times and passes on the fourth attempt, that doesn't automatically mean the problem is solved. The important question is still: why did it fail?&lt;/p&gt;

&lt;p&gt;That's also how we're thinking about AI-assisted testing in X360aitech. AI should help with investigation and maintenance, but it shouldn't hide failures or make changes without enough context.&lt;/p&gt;

&lt;p&gt;For me, good test automation isn't about having the biggest test suite. It's about having tests that the team can actually trust.&lt;/p&gt;

&lt;p&gt;I'd rather have a smaller set of stable and meaningful tests than thousands of tests that everyone ignores when they fail.&lt;/p&gt;

&lt;p&gt;So the next time a test fails randomly, instead of immediately clicking "Rerun", maybe ask:&lt;/p&gt;

&lt;p&gt;Why did it fail?&lt;/p&gt;

&lt;p&gt;Is it really flaky?&lt;/p&gt;

&lt;p&gt;Or is it telling us something important about the application?&lt;/p&gt;

&lt;p&gt;That's the kind of problem we're trying to solve with X360aitech making automated testing not just faster, but easier to understand and maintain.&lt;/p&gt;

&lt;p&gt;How does your team deal with flaky tests — fix them immediately, quarantine them, or just rerun them?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>playwright</category>
    </item>
    <item>
      <title>Why AI Is Changing the Way We Think About Test Automation</title>
      <dc:creator>Hari Gokul</dc:creator>
      <pubDate>Tue, 22 Sep 2026 16:07:24 +0000</pubDate>
      <link>https://dev.to/hari_gokul/why-ai-is-changing-the-way-we-think-about-test-automation-gke</link>
      <guid>https://dev.to/hari_gokul/why-ai-is-changing-the-way-we-think-about-test-automation-gke</guid>
      <description>&lt;p&gt;Test automation has made testing a lot easier. Tools like Selenium and Playwright help us automate repetitive tasks and save a lot of time. But anyone who has worked with automation for a while knows that writing the test is only the beginning.&lt;/p&gt;

&lt;p&gt;As the application grows, tests also become harder to maintain. A small UI change can break a selector, a test can become flaky, or a failure can take a lot of time to understand. Sometimes the application is perfectly fine and the problem is actually with the test.&lt;/p&gt;

&lt;p&gt;This is one of the areas where I think AI can be genuinely useful in testing.&lt;/p&gt;

&lt;p&gt;Instead of using AI only to generate test scripts, we can use it to understand requirements, think about different test scenarios, analyze failures, and help maintain existing tests.&lt;/p&gt;

&lt;p&gt;For example, if we have a requirement for a login feature, AI can help think beyond the normal successful login. It can suggest cases for invalid credentials, empty fields, locked accounts, and other edge cases. A tester still needs to review those scenarios, but it can be a good starting point and save some manual effort.&lt;/p&gt;

&lt;p&gt;AI can also help when it comes to automation itself. A tester can describe what they want to test in natural language, and AI can help translate that intent into automation. This is one of the ideas we are exploring with X360aitech, where AI-assisted testing works alongside technologies like Playwright.&lt;/p&gt;

&lt;p&gt;The idea isn't to replace Playwright or other automation frameworks. Playwright can handle the actual browser execution while AI helps with understanding the testing intent and the context around it.&lt;/p&gt;

&lt;p&gt;Test maintenance is another interesting area. When the UI changes, an existing test might stop working even though the feature itself is still working. AI-assisted self-healing can help identify these changes and suggest a way to recover the test.&lt;/p&gt;

&lt;p&gt;But this needs to be done carefully. Making a test pass isn't the same as fixing a test. If AI picks the wrong element and the test passes, we might actually be hiding a problem instead of solving one.&lt;/p&gt;

&lt;p&gt;The same applies to failed tests. When something fails, testers often have to go through logs, screenshots, traces, and previous results to understand what happened. AI can help bring this information together and give us a better starting point for the investigation. This is another area we are exploring with X360aitech.&lt;/p&gt;

&lt;p&gt;For me, the interesting part isn't simply generating more tests. It's making the whole testing process a little smarter  understanding what needs to be tested, creating the automation, running it, understanding failures, and improving the tests over time.&lt;/p&gt;

&lt;p&gt;And I don't think AI means testers become less important. Someone still needs to understand the product, question the results, and decide whether something is actually a bug. AI can take care of some repetitive work, but the final thinking still needs to come from people.&lt;/p&gt;

&lt;p&gt;That's the direction we're exploring with X360aitech combining AI with automation and human judgment to make testing easier to create, maintain, and understand.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>testing</category>
      <category>playwright</category>
      <category>automation</category>
    </item>
  </channel>
</rss>
