Skip to content

Commit

Permalink
Fix FTR common tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yansavitski committed Jan 5, 2025
1 parent af6b879 commit befb4b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export const applicationUsageSchema = {
enterpriseSearchContent: commonSchema,
searchInferenceEndpoints: commonSchema,
searchPlayground: commonSchema,
elasticsearchIndices: commonSchema,
elasticsearchStart: commonSchema,
enterpriseSearchAnalytics: commonSchema,
enterpriseSearchApplications: commonSchema,
enterpriseSearchAISearch: commonSchema,
Expand Down
4 changes: 2 additions & 2 deletions x-pack/test/functional/page_objects/index_management_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function IndexManagementPageProvider({ getService }: FtrProviderContext)
const indexList = await testSubjects.findAll('indexTableIndexNameLink');
await indexList[indexOfRow].click();
await retry.waitFor('details page title to show up', async () => {
return (await testSubjects.isDisplayed('indexDetailsHeader')) === true;
return (await testSubjects.isDisplayed('searchIndexDetailsHeader')) === true;
});
},

Expand Down Expand Up @@ -158,7 +158,7 @@ export function IndexManagementPageProvider({ getService }: FtrProviderContext)
const indexList = await testSubjects.findAll('indexTableIndexNameLink');
await indexList[indexOfRow].click();
await retry.waitFor('index details page title to show up', async () => {
return (await testSubjects.isDisplayed('indexDetailsHeader')) === true;
return (await testSubjects.isDisplayed('searchIndexDetailsHeader')) === true;
});
},
async expectIndexDetailsPageIsLoaded() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ export default function catalogueTests({ getService }: FtrProviderContext) {
'enterpriseSearchSemanticSearch',
'enterpriseSearchElasticsearch',
'searchPlayground',
'elasticsearchIndices',
'elasticsearchStart',
'searchInferenceEndpoints',
'appSearch',
'observabilityAIAssistant',
Expand Down

0 comments on commit befb4b4

Please sign in to comment.