mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-24 16:26:36 +00:00
Add WireGuard networking fields (interface, management pool, listen port), container network pool, coold/corrosion versioning, and builder CPU quota to clusters and servers via new migrations and model fillables. Expose full cluster and server CRUD on the Clusters page with private key selection, pending state tracking, and new form primitives (Field, Input, Textarea). Add server status check fields and a lima test VM config for development.
28 lines
943 B
PHP
28 lines
943 B
PHP
<?php
|
|
|
|
it('uses at least sixteen pixel form controls on mobile to prevent input focus zoom', function (string $stylesheet) {
|
|
$css = file_get_contents(dirname(__DIR__, 2).'/'.$stylesheet);
|
|
|
|
expect($css)->toContain('@media (max-width: 767px)')
|
|
->and($css)->toContain('input,')
|
|
->and($css)->toContain('textarea,')
|
|
->and($css)->toContain('select')
|
|
->and($css)->toContain('font-size: 16px');
|
|
})->with([
|
|
'current interface' => 'resources/css/app.css',
|
|
'v5 interface' => 'resources/css/v5/app.css',
|
|
]);
|
|
|
|
it('keeps user zoom enabled in the viewport meta tags', function () {
|
|
$layouts = [
|
|
'resources/views/layouts/base.blade.php',
|
|
'resources/views/v5/app.blade.php',
|
|
];
|
|
|
|
foreach ($layouts as $layout) {
|
|
expect(file_get_contents(dirname(__DIR__, 2).'/'.$layout))
|
|
->not->toContain('maximum-scale')
|
|
->not->toContain('user-scalable=no');
|
|
}
|
|
});
|