Remove deprecated legacy interval field from setup and settings UI
This commit is contained in:
@@ -75,7 +75,6 @@ test.describe('Settings Modal - Configuration Sections', () => {
|
||||
test('should display scheduler configuration section', async ({ page }) => {
|
||||
await expect(page.locator('text=Scheduled Operations')).toBeVisible();
|
||||
await expect(page.locator('#scheduled-rescan-enabled')).toBeVisible();
|
||||
await expect(page.locator('#scheduled-rescan-interval')).toBeVisible();
|
||||
});
|
||||
|
||||
test('should display NFO settings section', async ({ page }) => {
|
||||
@@ -177,29 +176,6 @@ test.describe('Settings Modal - Edit Configuration', () => {
|
||||
expect(newState).not.toBe(initialState);
|
||||
});
|
||||
|
||||
test('should allow editing scheduler interval', async ({ page }) => {
|
||||
const intervalInput = page.locator('#scheduled-rescan-interval');
|
||||
|
||||
await intervalInput.clear();
|
||||
await intervalInput.fill('120');
|
||||
|
||||
const value = await intervalInput.inputValue();
|
||||
expect(value).toBe('120');
|
||||
});
|
||||
|
||||
test('should validate scheduler interval is positive', async ({ page }) => {
|
||||
const intervalInput = page.locator('#scheduled-rescan-interval');
|
||||
|
||||
await intervalInput.clear();
|
||||
await intervalInput.fill('0');
|
||||
|
||||
// HTML5 validation should prevent this
|
||||
const validationMessage = await intervalInput.evaluate(
|
||||
(el: HTMLInputElement) => el.validationMessage
|
||||
);
|
||||
expect(validationMessage).toBeTruthy();
|
||||
});
|
||||
|
||||
test('should series count field be readonly', async ({ page }) => {
|
||||
const seriesCount = page.locator('#series-count-input');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user