From 49b488270e8b4395cf8a571280e3fc85fc2cb1cb Mon Sep 17 00:00:00 2001 From: Rickyanto Ang Date: Mon, 13 Nov 2023 10:38:35 -0800 Subject: [PATCH] [Cloud Security][FTR]Fix for flaky add integration FTR (#171053) ## Summary This PR is to address Flaky FTR https://github.com/elastic/kibana/issues/170886 https://github.com/elastic/kibana/issues/170633 https://github.com/elastic/kibana/issues/171050 Tested on Flaky test runner for 850 cycles (0 failure) https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3971 https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3972 --- .../page_objects/add_cis_integration_form_page.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 0500a68e8654d..b4cfc2eaa8dd3 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 @@ -144,7 +144,11 @@ export function AddCisIntegrationFormPageProvider({ const navigateToIntegrationCspList = async () => { await PageObjects.common.navigateToActualUrl( 'integrations', // Defined in Security Solution plugin - '/detail/cloud_security_posture/policies' + '/detail/cloud_security_posture/policies', + { + ensureCurrentUrl: false, + shouldLoginIfPrompted: false, + } ); };