fix: use correct checkbox assertion for CrowdSec toggle test

This commit is contained in:
GitHub Actions
2026-03-18 19:05:16 +00:00
parent 75ae77a6bf
commit 460834f8f3

View File

@@ -33,7 +33,7 @@ test.describe('CrowdSec first-enable UX @security', () => {
await toggle.click();
// Immediately after click, the toggle should remain checked (user intent)
await expect(toggle).toHaveAttribute('aria-checked', 'true');
await expect(toggle).toBeChecked();
});
test('CrowdSec card shows Starting badge while starting', async ({ page }) => {