mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-28 02:06:37 -04:00
fix(application): defer Docker Compose loading and preserve domains
Load the compose file only after the user confirms its location, initialize the default compose path when switching build packs, and retain existing application domains.
This commit is contained in:
@@ -13,6 +13,14 @@ test('compose actions are grouped with the application details header', function
|
||||
->toContain('Reload compose');
|
||||
});
|
||||
|
||||
test('compose file loading waits for the user to confirm the file location', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/application/general.blade.php'));
|
||||
|
||||
expect($view)
|
||||
->toContain('x-on:click="$wire.dispatch(\'loadCompose\', false)"')
|
||||
->not->toContain('x-init="$wire.dispatch(\'loadCompose\', true)"');
|
||||
});
|
||||
|
||||
test('docker compose heading separates its title and action', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/application/general.blade.php'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user