Make the disk space meter visible and show used percent.
CI / test (push) Failing after 31s
CI / build-and-push (push) Skipped
CI / deploy (push) Skipped

Use an inline-colored full-width progress bar so the fill renders without relying on purged Tailwind classes.
This commit is contained in:
ben
2026-08-13 00:37:20 +02:00
parent f42d124593
commit b3fb74fb1b
3 changed files with 28 additions and 30 deletions
+10 -3
View File
@@ -50,10 +50,17 @@ class DiskSpaceTest extends TestCase
{
Cache::flush();
$this->get(route('recordings.index'))
$response = $this->get(route('recordings.index'))
->assertOk()
->assertSee('Disk space used', false)
->assertSee('Disk space', false)
->assertSee('% used', false)
->assertSee('free')
->assertSee('role="progressbar"', false);
->assertSee('role="progressbar"', false)
->assertSee('background-color:', false);
$this->assertMatchesRegularExpression(
'/width:\s*[\d.]+%;\s*background-color:\s*#(0d9488|f59e0b|dc2626)/',
$response->getContent(),
);
}
}