HTML Architect: Add end-to-end (E2E) tests

HTML Architect currently has no end-to-end test coverage. Following the discussion with Pavel and Jindra, the recommended approach is to introduce a modern E2E testing setup based on Playwright.

Why Playwright

Playwright is currently the best E2E framework, according to 2026 benchmark data
Sources for reference:

Goal

Set up a Playwright-based E2E testing infrastructure for HTML Architect

Scope / acceptance criteria

  • Playwright installed and configured in the HTML Architect project
  • CI integration tests run on PRs

After discussion with Tomash we decided to to stick with Puppeteer to keep our testing infrastructure consistent and avoid adding more testing tools to the Infrastructure. However, if we hit major roadblocks with the Implementation or or critical testing functions will be missing, we’ll switch to Playwright

Hello @DanilTkachenko,

Has something changed here? The card says that after discussing with Tomash, the decision was to stick with Puppeteer to keep the testing infrastructure consistent - but with the caveat that you’d switch to Playwright if you hit major roadblocks or critical testing functions were missing.

In the follow-up PR, though, I’m seeing Playwright already being used. So I’m trying to understand: did you hit one of those roadblocks and the switch actually happened? Or did the decision change? Either way, the card doesn’t seem to reflect it.

For what it’s worth, I think Playwright is clearly the better choice - I’d just like to understand what the official decision is now and how it relates to what’s being implemented.

Thanks for clarifying!

Hello, regarding papitir, I talked about this with Jindra and he told me many times that papitir has very big problems from a technology standpoint, and that it’s better to move forward with Playwright. After that, I tried adding Playwright over a couple of days and I managed to get everything working. Honestly, I wanted to announce this at Team Jam but I just didn’t have time to do it sorry for not letting you know. I think at one of the upcoming Team Jam sessions I’ll show Playwright and explain everything.

As I said, I’ve been advocating for Playwright for a long time. I’m also the one who convinced Jindra about Playwright. What caught my attention was the discrepancy between the PR and the note in the card. I have no objections to Playwright whatsoever - quite the opposite, I’m glad it turned out this way. I just hadn’t been able to get budget for it for a long time.