diff --git a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts index e18eaf6a2ef39..ed20adbab9e9a 100644 --- a/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts +++ b/x-pack/test/security_solution_endpoint/apps/endpoint/policy_details.ts @@ -224,8 +224,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { await advancedPolicyField.clearValueWithKeyboard(); // Make sure the toast button closes so the save button on the sticky footer is visible - //await testSubjects.waitForHidden('toastCloseButton'); - await new Promise(r => setTimeout(r, 5000)); + // await testSubjects.waitForHidden('toastCloseButton'); + await new Promise((r) => setTimeout(r, 5000)); await pageObjects.policy.confirmAndSave(); await testSubjects.existOrFail('policyDetailsSuccessMessage');