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

* Re-enable synthetics e2e tests

* more renaming
This commit is contained in:
Shahzad 2022-05-30 17:44:23 +02:00 committed by GitHub
parent a7204d603c
commit edbcf8f35b
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 export JOB=kibana-uptime-playwright
echo "--- Uptime @elastic/synthetics Tests" echo "--- synthetics @elastic/synthetics Tests"
cd "$XPACK_DIR" 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*" 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 export JOB=kibana-uptime-playwright
echo "--- Uptime @elastic/synthetics Tests" echo "--- synthetics @elastic/synthetics Tests"
cd "$XPACK_DIR" 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}\"} 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/lists/server/scripts,
<absolute path>/x-pack/plugins/security_solution/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/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/lists/server/scripts'),
fromRoot('x-pack/plugins/security_solution/scripts'), fromRoot('x-pack/plugins/security_solution/scripts'),
fromRoot('x-pack/plugins/security_solution/server/lib/detection_engine/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 { return {

View file

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

View file

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