diff --git a/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts b/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts index f11804d409457..9c584d7d5a87a 100644 --- a/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts +++ b/x-pack/platform/test/functional_with_es_ssl/page_objects/triggers_actions_ui_page.ts @@ -71,9 +71,10 @@ export function TriggersActionsPageProvider({ getService }: FtrProviderContext) await searchBox.clearValue(); await searchBox.type(searchText); await searchBox.pressKeys(ENTER_KEY); - await find.byCssSelector( - '.euiBasicTable[data-test-subj="actionsTable"]:not(.euiBasicTable-loading)' - ); + await retry.waitFor('connectors list filtered to the search text', async () => { + const rows = await this.getConnectorsList(); + return rows.length > 0 && rows.every((row) => row.name.includes(searchText)); + }); }, async searchAlerts(searchText: string) { const searchBox = await testSubjects.find('ruleSearchField');