mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-27 09:45:58 -04:00
fix(storages): keep volume actions on one line
This commit is contained in:
@@ -249,6 +249,18 @@ it('renders volume actions and PR suffix controls as valid markup', function ()
|
||||
->and($xpath->query("//template[@x-teleport='body']/*[@role='listbox']"))->toHaveCount(2);
|
||||
});
|
||||
|
||||
it('keeps editable volume actions on one line', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/shared/storages/all.blade.php'));
|
||||
$css = file_get_contents(resource_path('css/app.css'));
|
||||
|
||||
expect($view)
|
||||
->toMatch('/volumes-col-actions volumes-cell-actions flex flex-nowrap items-center justify-end gap-1\.5[\s\S]*?Update[\s\S]*?Backup[\s\S]*?Delete/');
|
||||
|
||||
expect($css)
|
||||
->toMatch('/\.volumes-table-grid\s*\{[^}]*grid-template-columns:[^;}]*15rem;/')
|
||||
->toMatch('/\.volumes-table-grid-with-pr\s*\{[^}]*grid-template-columns:[^;}]*15rem;/');
|
||||
});
|
||||
|
||||
it('declares explicit authorization on the changed storage controls', function () {
|
||||
$view = file_get_contents(resource_path('views/livewire/project/shared/storages/all.blade.php'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user