|
@@ -7,3 +7,11 @@ test('Successfully rebuild index', async({ page }) => {
|
|
|
|
|
|
|
|
await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED');
|
|
await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED');
|
|
|
});
|
|
});
|
|
|
|
|
+
|
|
|
|
|
+test('Search page with "q" param is successfully loaded', async({ page }) => {
|
|
|
|
|
+ // Navigate to the search page with query parameters
|
|
|
|
|
+ await page.goto('/_search?q=alerts');
|
|
|
|
|
+
|
|
|
|
|
+ // Confirm search result elements are visible
|
|
|
|
|
+ await expect(page.getByTestId('search-result-base')).toBeVisible();
|
|
|
|
|
+});
|