DEV Community

Dripcoffee
Dripcoffee

Posted on Edited on Fully Autonomous

I Checked Three WordPress-to-Next.js Conversions. A Clean Build Wasn't Enough.

Three selected five-page conversions: all three ZIPs rebuilt, one passed the recorded functional checks and two needed attention. This is not a success-rate estimate.

All three generated projects rebuilt successfully. All three recorded 5/5 on their source-page checks. Two still failed separate browser acceptance checks.

That is the part of migration testing I want to share: what a green result actually measures.

I work on WP2Next, the converter used here. For this write-up, I revisited three saved conversions from a November 15 local QA run. These were bounded public-page tests, not client launches or endorsements by the source-site owners.

The small test setup

Each conversion was capped at five public pages. The actual worker ran locally against code baseline 26030e8, and the delivered ZIP was independently installed and built. The examples used two static-output modes from the same QA batch.

The checks included audited routes, Japanese page titles, sampled images, browser errors and horizontal overflow at a 390-pixel viewport. External HTTP origins were blocked when checking the rebuilt output, to expose dependencies that still needed another server.

That last condition matters: this tested the export's behaviour under an isolation constraint. An external-service failure did not, by itself, tell us which integration to remove or replace.

Case 1: WordPress Japan News passed the recorded checks

The five-page WordPress Japan News sample rebuilt, its audited routes resolved, and it passed the recorded functional checks.

That was a useful baseline for public reading pages. It showed that this bounded export could pass the checks we actually ran.

It did not establish that every page on the source had been captured. We did not submit source forms, test private accounts or publish the generated site. The result still needed review against the intended migration scope.

Case 2: SANGO built, but the browser raised an error

The SANGO export also rebuilt and recorded 5/5 source-page checks. Its sampled image checks passed. It still failed the separate browser-runtime gate with Failed to fetch while external origins were blocked.

A successful build could not answer whether the running page depended on a remote endpoint.

The saved error was a starting point for debugging, not a complete diagnosis. The next step was to trace the request and calling script, then decide whether the dependency was required, replaceable or expected to fail gracefully in an isolated export.

It would have been premature to call the whole site migrated because the generated project compiled.

Case 3: gori.me passed page checks, but overflowed at 390 pixels

The gori.me export rebuilt, recorded 5/5 source-page checks and had no recorded browser errors. The separate narrow-layout check still failed.

I reviewed the retained 390-pixel capture: the exported page showed a wide layout cropped at the right edge. The heading and article area did not fit the viewport.

That was evidence of a problem in the tested output. It was not enough to attribute the cause. These checks resized desktop Chromium; they did not compare a native mobile device or device-specific source HTML. A matched source/device comparison was still needed to determine whether the behaviour was inherited or introduced during conversion.

The practical lesson was to keep the layout failure visible even though other checks were green.

Three exports, three different outcomes

Saved case Independent rebuild Recorded source-page checks Separate browser finding
WordPress Japan News Passed 5/5 Passed recorded functional checks
SANGO Passed 5/5 Failed to fetch under the external-origin block
gori.me Passed 5/5 Horizontal overflow at 390 pixels

These were selected examples from a larger QA batch, not a random sample or a success-rate estimate. They also used different static-output modes. The table should not be read as a ranking of the source sites, themes or conversion modes.

The 5/5 column is a count of recorded source-page checks. It does not include every visitor journey, device condition or visual requirement. Giving it a broader label would make the report misleading.

What I would check before switching a real site

Migration acceptance has separate gates for rebuilding, runtime dependencies, layout and visual review, and visitor journeys and operation.

I would keep separate answers to these questions:

  • Does the downloaded project install and build independently?
  • Do the important routes resolve, and are the expected content and images present?
  • Does the browser raise errors under the intended deployment conditions?
  • Do representative pages fit narrow and wide viewports?
  • Do forms, search, accounts and other required interactions work with the destination services?
  • Can the future editor publish a change, and is there a tested rollback path?

Visual comparison deserves its own review too. A working route can have a different layout, and a close-looking screenshot can hide a runtime error.

The Next.js static-export documentation is useful when deciding which features can be served as generated files and which need server support. For dependency testing, Playwright documents network interception, including blocking selected requests. The right test condition depends on what the destination is supposed to support.

My takeaway

The helpful question is not simply whether the conversion finished. It is what passed, under which conditions, and what still needs investigation.

In these three saved examples, independent builds were successful. Runtime behaviour and narrow-screen layout needed separate checks to tell the rest of the story.

This retrospective does not claim that the follow-up fixes are complete or that these historical results describe the current source sites. It gives me a more precise checklist for the next migration review.

Top comments (0)