Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
204

Latest Updates

Documenting code, one commit at a time.

Boosting Confidence with Comprehensive Playwright E2E Tests for Core Business Flows

In our Motos Max Cordialidad project, which manages motorcycle sales and services, maintaining high reliability for core business operations is paramount. While we had some initial test coverage, a significant gap existed in our end-to-end (E2E) testing for crucial business workflows.

The Situation

Before this work, our E2E testing primarily focused on foundational areas like

Securing Your E2E Tests: The Critical Role of CI Secret Management in GitHub Actions

There's nothing quite as frustrating as a failing CI pipeline. Especially when the code changes are minor, and locally, everything works perfectly. In the cronix project, our continuous integration (CI) pipeline is paramount for ensuring the stability and quality of our application, particularly through robust end-to-end (E2E) tests.

The Silent Breaker: Missing Environment Variables

Stabilizing E2E Tests: Resolving CI Flakiness in Cronix with Playwright

Are your CI pipelines plagued by mysterious E2E test failures? The cronix project recently faced a similar challenge. Our continuous integration (CI) builds were often failing due to non-deterministic end-to-end (E2E) tests, leading to developer frustration and slower delivery cycles.

The Problem

Our E2E test suite, powered by Playwright, was frequently yielding different results in the CI

Ensuring Robust E2E Smoke Tests with Isolated Browser Contexts

In the cronix project, maintaining reliable end-to-end (E2E) tests is crucial for ensuring our application's core functionalities are always working. A recent fix highlighted the importance of a fundamental principle in E2E testing: isolation. Specifically, we focused on ensuring our smoke tests always run in a fresh browser context, free from previous authentication states or session data.

Making E2E Tests Resilient: Tackling Auth and Dynamic UIs with Playwright

Flaky end-to-end (E2E) tests are a developer's nightmare. They erode trust in the test suite, slow down development cycles, and can hide actual bugs amidst a sea of false positives. In the ROMEROLUIS15/cronix project, we recently tackled common pain points in our E2E suite: tests failing due to inconsistent authentication states and dynamically hidden UI elements, particularly sidebar links.