Shifting Left in Test Automation: Why E2E Projects Often Fail Before They Start

By
Full name
11 Jan 2022
5 min read
Share this post

In the quest for faster release cycles and higher-quality software, many teams embrace the “shift-left” testing philosophy—bringing testing earlier into the development process. While this idea is powerful in theory, the reality of implementing shift-left end-to-end (E2E) testing is often far more complicated.

Let’s break down what typically goes wrong.

The E2E Conundrum: Code vs. No-Code

Most E2E automation projects fall into one of two categories: code-based or no-code. Both come with their own set of problems.

Option 1: No-Code Tools

These platforms promise that anyone, even without technical skills, can create automation flows. It sounds like a dream—but it usually turns into a nightmare.

  • Naïve Implementations: No-code tools often rely on simple assumptions about the structure of the UI and its logic. This works fine for a login page or a product search. But once the UI becomes dynamic, stateful, or layered with real-world complexity, these tools quickly fall apart.

  • Lack of Flexibility: Anything beyond the “happy path”—like conditional logic, advanced validations, or multi-layered authentication—becomes a painful workaround or outright impossible.

  • Developer Frustration: Developers, who understand the tech stack deeply, often find it faster and cleaner to write tests using Selenium, Playwright, or Cypress. For them, the no-code approach feels like dragging a boulder uphill.

Option 2: Code-Based Frameworks

Using code-based tools makes more sense from a power-user standpoint. However, this creates a new kind of divide.

  • Excludes Non-Coders: Product managers, QA analysts, and even some testers may not have the technical proficiency to contribute. They become dependent on the few who can code.

  • “The Automation Beast”: Developers see this test project sitting in a separate repo or directory, growing more complex and brittle by the day. It’s not quite production code, and it’s not quite QA—it becomes a strange hybrid that no one really owns.

  • Low Buy-In: With different team members having different skill sets and priorities, it becomes hard to align. The project ends up being maintained by the few enthusiasts—until they leave or burn out.

What Does a Successful E2E Project Look Like?

A good E2E project balances technical depth with accessibility. Here’s what it should aim for:

  • Shared Ownership: Developers, QA, and even product stakeholders should be able to contribute in some capacity. This often means combining code-based tools with friendly DSLs (domain-specific languages) or higher-level abstractions.

  • Clear Separation of Concerns: Keep test infrastructure, test logic, and test data decoupled. This reduces complexity and makes it easier for new contributors to jump in.

  • Documentation and Onboarding: The best test frameworks have internal wikis, how-to videos, and sample tests. If someone can’t write their first test in 15 minutes, the barrier is too high.

  • Automation Culture: Shifting left only works when it’s part of the team’s DNA. Tests should be discussed in code reviews, monitored in CI, and fixed as a priority.

In Summary

Shifting left is an admirable goal, but the E2E automation strategy must be carefully chosen. No-code tools often fall short in real-world applications, while code-based approaches can become elitist and neglected. Success lies in finding a middle ground—where tools are powerful yet accessible, and where automation is everyone’s responsibility, not just a side project.

Sign up for our newsletter

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

By clicking Sign Up you're confirming that you agree with our Terms and Conditions.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.