mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* 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:
parent
1cf893ef2e
commit
6138661773
6 changed files with 11 additions and 11 deletions
|
@ -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*"
|
||||
|
|
|
@ -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}\"}
|
||||
|
|
|
@ -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,
|
||||
]
|
||||
`);
|
||||
});
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 ""
|
||||
|
|
|
@ -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/',
|
||||
]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue