mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-20 10:23:30 +00:00
feat(ui): Shadow UI redesign, domain management, and DNS autoconfigure (#11119)
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com>
This commit is contained in:
co-authored by
ShadowArcanist
parent
0b843bb07c
commit
8ae56587d5
@@ -56,11 +56,10 @@ it('shows explicit loading spinners and disables cloud token action buttons whil
|
||||
$tokenShowView = file_get_contents(__DIR__.'/../../resources/views/livewire/security/cloud-provider-token/show.blade.php');
|
||||
$serverTokenView = file_get_contents(__DIR__.'/../../resources/views/livewire/server/cloud-provider-token/show.blade.php');
|
||||
|
||||
expect(substr_count($tokenFormView, 'wire:loading.attr="disabled" wire:target="addToken"'))->toBe(2)
|
||||
->and(substr_count($tokenFormView, '<x-loading-on-button wire:loading wire:target="addToken" />'))->toBe(2)
|
||||
->and($tokenShowView)->toContain('wire:loading.attr="disabled" wire:target="validateToken"')
|
||||
->and($tokenShowView)->toContain('<x-loading-on-button wire:loading wire:target="validateToken" />')
|
||||
->and($serverTokenView)->toContain('wire:loading.attr="disabled"')
|
||||
->and($serverTokenView)->toContain('wire:target="validateToken"')
|
||||
->and($serverTokenView)->toContain('<x-loading-on-button wire:loading wire:target="validateToken" />');
|
||||
expect($tokenFormView)->toContain('wire:target="addToken"')
|
||||
->and($tokenFormView)->toContain('<x-forms.button type="submit"')
|
||||
->and($tokenShowView)->toContain('wire:click="validateToken"')
|
||||
->and($tokenShowView)->toContain('<x-forms.button type="button" wire:click="validateToken">')
|
||||
->and($serverTokenView)->toContain('wire:click.prevent="validateToken"')
|
||||
->and($serverTokenView)->toContain('<x-forms.button canGate="update" :canResource="$server"');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user