[wp-trac] [WordPress Trac] #43395: Add Automated E2E Tests for Core Updates

WordPress Trac noreply at wordpress.org
Fri Feb 23 20:11:10 UTC 2018


#43395: Add Automated E2E Tests for Core Updates
-----------------------------+--------------------
 Reporter:  jorbin           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.9.5
Component:  Upgrade/Install  |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:
-----------------------------+--------------------
Changes (by jorbin):

 * keywords:   => 2nd-opinion


Comment:

 My idea for the route to solving this is slightly complicated, but I think
 does the best job of ensuring that automatic updates work.

 1) Create a docker container for running the tests. We may be able to use
 some prior art from Gutenberg.  This should include file permissions where
 auto updates will work. We should install the latest stable version of
 wordpress (though it may make sense in the future to also do this on a
 branch by branch basis)
 2) Include and activate the beta tester plugin. Configure it for minor
 version nightly updates.
 3) Trigger an autoupdate via a hit to wp-cron.
 4) Confirm that the site doesn’t fatal and the site is updated. Maybe also
 confirm that the error log is empty.

 cc/ @dd32 and @pento to see if they agree.

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


More information about the wp-trac mailing list