mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 02:27:57 +00:00
fix(upgrade): explain manual reload fallback
This commit is contained in:
@@ -101,6 +101,10 @@
|
||||
class="font-semibold text-coollabs dark:text-warning"></span>
|
||||
seconds…
|
||||
</p>
|
||||
<p class="text-center text-[11px] leading-4"
|
||||
style="color: var(--coollabs-subtle)">
|
||||
If the page does not reload automatically, reload it manually.
|
||||
</p>
|
||||
<x-forms.button @click="reloadNow()" type="button" isHighlighted>
|
||||
Reload now
|
||||
</x-forms.button>
|
||||
|
||||
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user