mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 06:17:36 +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:
1 parent
0b843bb07c
commit
8ae56587d5
497 files changed
+44045
-22630
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Resource Limits nav must use the reicon "cpu" glyph (not subscription card).
|
||||
*/
|
||||
test('application and database resource limits menus use the cpu icon', function () {
|
||||
$application = file_get_contents(resource_path('views/livewire/project/application/configuration.blade.php'));
|
||||
$database = file_get_contents(resource_path('views/livewire/project/database/configuration.blade.php'));
|
||||
$reicon = file_get_contents(resource_path('views/components/reicon.blade.php'));
|
||||
|
||||
expect($application)
|
||||
->toMatch("/'Resource Limits'\\s*=>\\s*'cpu'/")
|
||||
->not->toMatch("/'Resource Limits'\\s*=>\\s*'subscription'/");
|
||||
|
||||
expect($database)
|
||||
->toMatch("/'label'\\s*=>\\s*'Resource Limits'[\\s\\S]{0,120}?'icon'\\s*=>\\s*'cpu'/")
|
||||
->not->toMatch("/'label'\\s*=>\\s*'Resource Limits'[\\s\\S]{0,120}?'icon'\\s*=>\\s*'subscription'/");
|
||||
|
||||
expect($reicon)
|
||||
->toContain("'cpu' =>");
|
||||
});
|
||||
Reference in new issue
Block a user