fix restore search settings and policies test (#21857)

This commit is contained in:
Pranita Fulsundar 2025-06-19 15:43:51 +05:30 committed by GitHub
parent e7c0216b25
commit d78a573746
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -43,8 +43,9 @@ export const getElementWithPagination = async (
break; break;
} }
const nextBtn = page.locator('[data-testid="next"]'); const nextBtn = page.locator('[data-testid="next"]');
await nextBtn.scrollIntoViewIfNeeded();
await nextBtn.waitFor({ state: 'visible' }); await nextBtn.waitFor({ state: 'visible' });
hasNext = !(await nextBtn.getAttribute('disabled')); hasNext = !(await nextBtn.getAttribute('disabled'));

View File

@ -66,7 +66,7 @@ export const mockEntitySearchConfig = {
}, },
], ],
scoreMode: 'sum', scoreMode: 'sum',
boostMode: 'multiply', boostMode: 'sum',
}; };
export async function setSliderValue( export async function setSliderValue(