diff --git a/x-pack/test/cloud_security_posture_functional/page_objects/add_cis_integration_form_page.ts b/x-pack/test/cloud_security_posture_functional/page_objects/add_cis_integration_form_page.ts index b4cfc2eaa8dd3..ad8816989f133 100644 --- a/x-pack/test/cloud_security_posture_functional/page_objects/add_cis_integration_form_page.ts +++ b/x-pack/test/cloud_security_posture_functional/page_objects/add_cis_integration_form_page.ts @@ -131,6 +131,7 @@ export function AddCisIntegrationFormPageProvider({ 'integrations/cloud_security_posture/add-integration/cspm', { shouldUseHashForSubUrl: false } ); + await PageObjects.header.waitUntilLoadingHasFinished(); }; const navigateToAddIntegrationCnvmPage = async () => { @@ -139,6 +140,7 @@ export function AddCisIntegrationFormPageProvider({ 'integrations/cloud_security_posture/add-integration/vuln_mgmt', { shouldUseHashForSubUrl: false } ); + await PageObjects.header.waitUntilLoadingHasFinished(); }; const navigateToIntegrationCspList = async () => { @@ -150,6 +152,7 @@ export function AddCisIntegrationFormPageProvider({ shouldLoginIfPrompted: false, } ); + await PageObjects.header.waitUntilLoadingHasFinished(); }; const clickPolicyToBeEdited = async (name: string) => {