From 9d498b962c88680c306722d172ad1841c7ddea27 Mon Sep 17 00:00:00 2001
From: Nathan L Smith <nathan.smith@elastic.co>
Date: Mon, 11 Oct 2021 12:55:06 -0500
Subject: [PATCH] [APM] Disabling apm e2e test (#114544)

[skip-ci]

APM Cypress tests are again failing on PRs. Disable temporarily.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
---
 vars/tasks.groovy | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/vars/tasks.groovy b/vars/tasks.groovy
index 1842e278282b1..5a015bddc8fbc 100644
--- a/vars/tasks.groovy
+++ b/vars/tasks.groovy
@@ -146,13 +146,14 @@ def functionalXpack(Map params = [:]) {
       }
     }
 
-    whenChanged([
-      'x-pack/plugins/apm/',
-    ]) {
-      if (githubPr.isPr()) {
-        task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh'))
-      }
-    }
+    //temporarily disable apm e2e test since it's breaking.
+    // whenChanged([
+    //   'x-pack/plugins/apm/',
+    // ]) {
+    //   if (githubPr.isPr()) {
+    //     task(kibanaPipeline.functionalTestProcess('xpack-APMCypress', './test/scripts/jenkins_apm_cypress.sh'))
+    //   }
+    // }
 
     whenChanged([
       'x-pack/plugins/uptime/',