fix(upgrade): explain manual reload fallback

This commit is contained in:
Andras Bacsai
2026-08-13 14:44:25 +02:00
parent 8576214a6d
commit 719942853f
2 changed files with 10 additions and 0 deletions
+6
View File
@@ -149,6 +149,12 @@ it('finishes after health recovers from observed downtime for older target relea
->toContain('return;');
});
it('tells users to reload manually if the automatic reload does not happen', function () {
$upgradeView = file_get_contents(__DIR__.'/../../resources/views/livewire/upgrade.blade.php');
expect($upgradeView)->toContain('If the page does not reload automatically, reload it manually.');
});
it('starts the upgrade after the Livewire response so status polling is not blocked', function () {
$upgradeComponent = file_get_contents(__DIR__.'/../../app/Livewire/Upgrade.php');