refactor(ui): rename forms.copy-button to forms.copy-input

This commit is contained in:
peaklabs-dev
2026-08-19 15:11:49 +02:00
parent 595b72df6a
commit eb9a422d9b
9 changed files with 23 additions and 23 deletions
@@ -184,7 +184,7 @@ it('renders volumes as a data table with shared column headers', function () {
->toMatch('/<x-callout[^>]*title="File-level consistency"[\s\S]*id="stopDuringBackup"[\s\S]*<\/x-callout>/');
expect(file_get_contents(resource_path('views/livewire/project/shared/storages/volume-backups/executions.blade.php')))
->toContain('<span>Time</span>')
->toContain('x-forms.copy-button')
->toContain('x-forms.copy-input')
->toContain('col-span-6');
$css = file_get_contents(resource_path('css/app.css'));
@@ -33,7 +33,7 @@ it('keeps the resource details helper text visible below the modal header', func
});
it('renders copy fields as visible readonly controls with an accessible copy action', function () {
$html = Blade::render('<x-forms.copy-button label="UUID" text="crashloop" />');
$html = Blade::render('<x-forms.copy-input label="UUID" text="crashloop" />');
expect($html)
->toContain('label class="flex gap-1 items-center mb-1 text-sm font-medium text-black dark:text-white"')