mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 02:27:57 +00:00
Use shared listbox for private-repo selection, align listbox trigger heights with form inputs, restore compose editor spacing and full width, and wire loading states on create/continue actions.
24 lines
913 B
PHP
24 lines
913 B
PHP
<?php
|
|
|
|
it('keeps spacing around the Docker Compose editor', function () {
|
|
$view = file_get_contents(resource_path('views/livewire/project/new/docker-compose.blade.php'));
|
|
|
|
expect($view)
|
|
->toContain('class="application-settings-section-body"')
|
|
->not->toContain('class="application-settings-section-body p-0!"');
|
|
});
|
|
|
|
it('lets the Docker Compose editor use the available width', function () {
|
|
$view = file_get_contents(resource_path('views/livewire/project/new/docker-compose.blade.php'));
|
|
|
|
expect($view)
|
|
->toContain('class="mt-8 w-full lg:mt-3"')
|
|
->not->toContain('max-w-[1180px]');
|
|
});
|
|
|
|
it('shows a loading indicator while creating the service', function () {
|
|
$view = file_get_contents(resource_path('views/livewire/project/new/docker-compose.blade.php'));
|
|
|
|
expect($view)->toContain('<x-forms.button type="submit" wire:target="submit" isHighlighted>');
|
|
});
|