[wp-trac] [WordPress Trac] #34693: Add browser-based testing and automated acceptance tests (BrowserStack)

WordPress Trac noreply at wordpress.org
Thu Feb 5 11:28:54 UTC 2026


#34693: Add browser-based testing and automated acceptance tests (BrowserStack)
------------------------------+------------------------
 Reporter:  westonruter       |       Owner:  (none)
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  duplicate
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------

Comment (by mattcalder0901):

 This is a well reasoned argument for expanding WordPress testing beyond
 its current comfort zone. Relying on a single headless browser for
 JavaScript tests inevitably leaves gaps, especially for a platform that
 explicitly supports a wide range of browsers. Integrating cross browser
 execution would close off an entire class of regressions that are
 otherwise hard to catch until users report them.

 The point about acceptance testing is particularly important. Many of
 WordPress’s most critical user flows live at the intersection of PHP,
 JavaScript, and Ajax, where unit and integration tests struggle to reflect
 real behavior. Exercising those paths through a real browser would not
 only improve coverage but also reduce the complexity and fragility of
 excessive mocking.

 Acceptance tests also tend to democratize testing. When tests are written
 in terms of user actions and outcomes, contributors who are less familiar
 with internals can still add meaningful coverage. To scale that kind of
 effort, teams need good structure around test ownership, execution, and
 review. That is where well organized test management tools like Tuskr can
 help coordinate browser coverage, track regressions, and keep acceptance
 suites maintainable over time. ou can learn more about automated tests
 here: https://tuskr.app/learn/automated-testing

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/34693#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list