Skip to content
Snippets Groups Projects
Commit f7db960b authored by Kunal Sachdev's avatar Kunal Sachdev Committed by Adam G-H
Browse files

Issue #3339659 by kunal.sachdev, tedbow, yash.rode: UpdateReady form does not have primary button

parent a65d64bf
No related branches found
Tags 8.x-2.0-alpha1
3 merge requests!989Issue #3356804 by phenaproxima: Flag a warning during status check if the...,!831Issue #3339659: UpdateReady form does not have primary button,!548Issue #3310729: Incorrect documentation link in UI in case of Process error
......@@ -164,6 +164,7 @@ final class UpdateReady extends UpdateFormBase {
'#type' => 'submit',
'#value' => $this->t('Continue'),
];
$form['actions']['submit']['#button_type'] = 'primary';
return $form;
}
......
......@@ -136,6 +136,8 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase {
$assert_session = $this->assertSession();
$assert_session->addressMatches('/\/admin\/automatic-update-ready\/[a-zA-Z0-9_\-]+$/');
$assert_session->pageTextContainsOnce('Drupal core will be updated to ' . $target_version);
$button = $assert_session->buttonExists("Continue");
$this->assertTrue($button->hasClass('button--primary'));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment