diff --git a/x-pack/test/functional/page_objects/graph_page.ts b/x-pack/test/functional/page_objects/graph_page.ts index 52b535a92e63e..780a541db0890 100644 --- a/x-pack/test/functional/page_objects/graph_page.ts +++ b/x-pack/test/functional/page_objects/graph_page.ts @@ -239,10 +239,10 @@ export function GraphPageProvider({ getService, getPageObjects }: FtrProviderCon } async deleteGraph(name: string) { - await this.searchForWorkspaceWithName(name); await testSubjects.click('checkboxSelectAll'); await this.clickDeleteSelectedWorkspaces(); await PageObjects.common.clickConfirmOnModal(); + await testSubjects.find('graphCreateGraphPromptButton'); } async getWorkspaceCount() {