Vivetix: QA Automation for Laravel with Cypress, Pest & Superset Integration

Discover how I implemented QA Automation for Laravel at Vivetix, including Cypress E2E tests, Pest integration tests, and Superset dashboards — improving stability, performance, and scalability

POSTGRESQLSUPERSETLARAVEL PHPCYPRESSDOCKERPESTPHP UNIT

Status project: RUNNING

1/20/20252 min read

Vivetix is a growing online ticketing platform with complex needs around scalability, software quality, and real-time analytics. Their tech stack was based on Laravel, but they were heavily reliant on manual processes for functional validation, reporting, and quality control.

As the platform expanded, several core challenges emerged:

  • As the platform expanded, several core challenges emerged:

  • Manual testing became unsustainable.

  • Critical flows (event creation, ticketing, check-ins, discount codes) lacked automation.

  • Business stakeholders lacked visibility into real-time performance data.

  • Documentation for QA and deployment processes was minimal or outdated.

  • Tools like Superset and Cypress weren’t fully integrated into their Dockerized architecture.

Over several months, I helped Vivetix enhance their development workflow by integrating professional-grade tools and methodologies:

✅ QA & Test Automation

  • Designed the entire testing strategy from scratch, since the application had no existing test coverage.

  • Built a robust suite of integration tests using PHPUnit and Pest, ensuring critical endpoints and business logic were consistently validated.

  • Created factories, seeders, and reusable test traits to standardize data setup across the test suite.

  • Implemented Cypress for end-to-end testing of key flows:

    • Event and session creation

    • Discount code validation

    • Ticket resending via email and WhatsApp

    • Admin actions (coupons, check-ins, access control)

  • Standardized HTML attributes (data-testid, id) to improve selector reliability and test maintainability.

🧪 Backend Development (Laravel)

  • Refactored critical endpoints to improve testability and scalability.

  • Wrote API tests using Pest, including for endpoints like /check, /resend, /me, and /sessions.

  • Implemented fine-grained permission checks for roles like seller, admin, and whitebrand.

📊 Superset & Business Intelligence

  • Deployed and configured Superset inside Docker.

  • Integrated Google OAuth authentication and token-based secure dashboard embedding.

  • Automated dashboard filtering by seller_id based on the user’s session.

  • Explored alerting and scheduled reporting features using SQL-based conditions.

⚙️ Infrastructure & DevOps

  • Improved GitHub Actions pipelines for Laravel and Superset deployments.

  • Solved persistent Docker errors and ensured consistent database configuration across environments.

  • Standardized PR templates, internal documentation, and development workflows.

The impact of my work included:

  • Dramatic reduction in release validation times — from days to minutes.

  • Fewer bugs in production, thanks to automated testing.

  • Business dashboards enabled actionable insights on ticket sales, session activity, and user behavior.

  • A more professional development process, allowing the platform to scale with confidence.

Vivetix is a great example of how a startup can scale responsibly by adopting a quality-first mindset. This project allowed me to combine deep technical execution with strategic thinking to help the team grow sustainably.