mirror of
https://github.com/elastic/kibana.git
synced 2025-06-28 11:05:39 -04:00
[Synthetics] Re-enable synthetics e2e tests (#133100)
* Re-enable synthetics e2e tests * more renaming
This commit is contained in:
parent
a7204d603c
commit
edbcf8f35b
6 changed files with 11 additions and 11 deletions
|
@ -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*"
|
||||||
|
|
|
@ -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}\"}
|
||||||
|
|
|
@ -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,
|
||||||
]
|
]
|
||||||
`);
|
`);
|
||||||
});
|
});
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 ""
|
||||||
|
|
|
@ -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'))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue