Skip to content
Snippets Groups Projects

Issue #3276645: Run readiness checks after stored results have been cleared in certain situations

Merged Issue #3276645: Run readiness checks after stored results have been cleared in certain situations
2 files
+ 19
0
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -266,6 +266,16 @@ class UpdaterFormTest extends AutomaticUpdatesFunctionalTestBase {
$page->pressButton('Continue');
$this->checkForMetaRefresh();
$this->assertSession()->addressEquals('/update.php');
file_put_contents('/Users/yash.rode/www/sample.html', $this->getSession()->getPage()->getContent());
$possible_update_message = 'Possible database updates have been detected in the following extensions.<ul><li>semver_test</li></ul>';
$assert_session->pageTextNotContains($possible_update_message);
$assert_session->pageTextContainsOnce('Please apply database updates to complete the update process.');
$page->clickLink('Continue');
// @see automatic_updates_update_1191934()
$assert_session->pageTextContains('Dynamic automatic_updates_update_1191934');
$page->clickLink('Apply pending updates');
$this->checkForMetaRefresh();
$assert_session->pageTextContains('Updates were attempted.');
}
else {
$page->pressButton('Continue');
Loading