Remove deprecated legacy interval field from setup and settings UI
This commit is contained in:
@@ -108,16 +108,6 @@ test.describe('Setup Page - Form Validation', () => {
|
||||
expect(validationMessage).toBeTruthy();
|
||||
});
|
||||
|
||||
test('should validate scheduler interval is positive', async ({ page }) => {
|
||||
const intervalInput = page.locator('#scheduler_interval_minutes');
|
||||
|
||||
await intervalInput.fill('0');
|
||||
|
||||
const validationMessage = await intervalInput.evaluate(
|
||||
(el: HTMLInputElement) => el.validationMessage
|
||||
);
|
||||
expect(validationMessage).toBeTruthy();
|
||||
});
|
||||
});
|
||||
|
||||
test.describe('Setup Page - Password Strength Indicator', () => {
|
||||
@@ -239,14 +229,11 @@ test.describe('Setup Page - Configuration Sections', () => {
|
||||
|
||||
test('should have scheduler settings with checkbox', async ({ page }) => {
|
||||
const enabledCheckbox = page.locator('#scheduler_enabled');
|
||||
const intervalInput = page.locator('#scheduler_interval_minutes');
|
||||
|
||||
await expect(enabledCheckbox).toBeVisible();
|
||||
await expect(intervalInput).toBeVisible();
|
||||
|
||||
// Should be enabled by default
|
||||
await expect(enabledCheckbox).toBeChecked();
|
||||
await expect(intervalInput).toHaveValue('60');
|
||||
});
|
||||
|
||||
test('should allow toggling scheduler enabled', async ({ page }) => {
|
||||
|
||||
Reference in New Issue
Block a user