[Synthetics] Re-enable synthetics e2e tests (#133100) (#133158)

* Re-enable synthetics e2e tests

* more renaming

(cherry picked from commit edbcf8f35b)

Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
This commit is contained in:
Kibana Machine 2022-05-30 11:47:34 -05:00 committed by GitHub
parent 1cf893ef2e
commit 6138661773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View file

@ -9,9 +9,9 @@ source .buildkite/scripts/common/util.sh
export JOB=kibana-uptime-playwright
echo "--- Uptime @elastic/synthetics Tests"
echo "--- synthetics @elastic/synthetics Tests"
cd "$XPACK_DIR"
checks-reporter-with-killswitch "Uptime @elastic/synthetics Tests" \
checks-reporter-with-killswitch "synthetics @elastic/synthetics Tests" \
node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" --grep "MonitorManagement-monitor*"

View file

@ -9,9 +9,9 @@ source .buildkite/scripts/common/util.sh
export JOB=kibana-uptime-playwright
echo "--- Uptime @elastic/synthetics Tests"
echo "--- synthetics @elastic/synthetics Tests"
cd "$XPACK_DIR"
checks-reporter-with-killswitch "uptime plugin @elastic/synthetics Tests" \
checks-reporter-with-killswitch "synthetics plugin @elastic/synthetics Tests" \
node plugins/synthetics/scripts/e2e.js --kibana-install-dir "$KIBANA_BUILD_LOCATION" ${GREP:+--grep \"${GREP}\"}

View file

@ -76,7 +76,7 @@ it('produces the right watch and ignore list', () => {
<absolute path>/x-pack/plugins/lists/server/scripts,
<absolute path>/x-pack/plugins/security_solution/scripts,
<absolute path>/x-pack/plugins/security_solution/server/lib/detection_engine/scripts,
<absolute path>/x-pack/plugins/uptime/e2e,
<absolute path>/x-pack/plugins/synthetics/e2e,
]
`);
});

View file

@ -66,7 +66,7 @@ export function getServerWatchPaths({ pluginPaths, pluginScanDirs }: Options) {
fromRoot('x-pack/plugins/lists/server/scripts'),
fromRoot('x-pack/plugins/security_solution/scripts'),
fromRoot('x-pack/plugins/security_solution/server/lib/detection_engine/scripts'),
fromRoot('x-pack/plugins/uptime/e2e'),
fromRoot('x-pack/plugins/synthetics/e2e'),
];
return {

View file

@ -2,11 +2,11 @@
source test/scripts/jenkins_test_setup_xpack.sh
echo " -> Running Uptime @elastic/synthetics tests"
echo " -> Running synthetics @elastic/synthetics tests"
cd "$XPACK_DIR"
checks-reporter-with-killswitch "Uptime @elastic/synthetics Tests" \
node plugins/uptime/scripts/e2e.js
checks-reporter-with-killswitch "synthetics @elastic/synthetics Tests" \
node plugins/synthetics/scripts/e2e.js
echo ""
echo ""

View file

@ -158,13 +158,13 @@ def functionalXpack(Map params = [:]) {
}
whenChanged([
'x-pack/plugins/uptime/',
'x-pack/plugins/synthetics/',
]) {
if (githubPr.isPr()) {
task(kibanaPipeline.functionalTestProcess('xpack-UptimePlaywright', './test/scripts/jenkins_uptime_playwright.sh'))
}
}
whenChanged([
'x-pack/plugins/fleet/',
]) {