Skip to content
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
bd57a92
[ux] migrate synthetics journeys to scout
dmlemeshko Feb 17, 2026
1633445
Changes from node scripts/lint_ts_projects --fix
kibanamachine Feb 17, 2026
ef09ab9
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine Feb 17, 2026
7167821
restore helpers
dmlemeshko Feb 18, 2026
0e234fe
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 18, 2026
6dd6b43
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 18, 2026
a46994e
Changes from node scripts/lint_ts_projects --fix
kibanamachine Feb 18, 2026
bd9cc2d
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine Feb 18, 2026
4fffddd
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 18, 2026
32f00af
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 21, 2026
de8b916
update tests
dmlemeshko Feb 21, 2026
86f3c3e
Update ftr_oblt_stateful_configs.yml
dmlemeshko Feb 21, 2026
63ba157
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 24, 2026
2485ab9
Merge remote-tracking branch 'upstream/main' into migrate-ux-journeys…
dmlemeshko Feb 26, 2026
f8ed622
fix comments
dmlemeshko Feb 26, 2026
117dd93
refactor tests
dmlemeshko Feb 26, 2026
cf6687e
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 26, 2026
c77c19e
Delete .buildkite/pipelines/pull_request/ux_plugin_e2e.yml
dmlemeshko Feb 26, 2026
66d017a
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 26, 2026
be32c9f
fix flaky test
dmlemeshko Feb 26, 2026
edbf32b
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 26, 2026
28633a2
skip flaky step
dmlemeshko Feb 26, 2026
370b2bb
Merge branch 'main' into migrate-ux-journeys-to-scout
dmlemeshko Feb 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .buildkite/ftr_oblt_stateful_configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ disabled:
- x-pack/solutions/observability/plugins/uptime/e2e/uptime/synthetics_run.ts
- x-pack/solutions/observability/plugins/synthetics/e2e/config.ts
- x-pack/solutions/observability/plugins/synthetics/e2e/synthetics/synthetics_run.ts
- x-pack/solutions/observability/plugins/exploratory_view/e2e/synthetics_run.ts
- x-pack/solutions/observability/plugins/ux/e2e/synthetics_run.ts
- x-pack/solutions/observability/plugins/slo/e2e/synthetics_run.ts

# Configs that exist but weren't running in CI when this file was introduced
Expand Down
23 changes: 0 additions & 23 deletions .buildkite/pipelines/pull_request/ux_plugin_e2e.yml

This file was deleted.

1 change: 1 addition & 0 deletions .buildkite/scout_ci_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ plugins:
- streams
- streams_app
- transform
- ux
- workflows_extensions
- workflows_management
disabled:
Expand Down
1 change: 0 additions & 1 deletion .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ const SKIPPABLE_PR_MATCHERS = prConfig.skip_ci_on_only_changed!.map((r) => new R
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/synthetics_plugin.yml'));
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/uptime_plugin.yml'));
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/ux_plugin_e2e.yml'));
}

const aiInfraPaths = [
Expand Down
17 changes: 0 additions & 17 deletions .buildkite/scripts/steps/functional/ux_synthetics_e2e.sh

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/
import type { Page } from '@elastic/synthetics';
import { waitForLoadingToFinish } from '@kbn/ux-plugin/e2e/journeys/utils';
import { waitForLoadingToFinish } from './utils';

export function loginPageProvider({
page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,39 @@
* 2.0.
*/
import type { Page } from '@elastic/synthetics';
import { waitForLoadingToFinish } from '@kbn/ux-plugin/e2e/journeys/utils';

export const byTestId = (testId: string) => {
return `[data-test-subj="${testId}"]`;
};

export async function waitForLoadingToFinish({ page }: { page: Page }) {
let retries = 50;
while (retries) {
retries--;
if ((await page.$(byTestId('kbnLoadingMessage'))) === null) break;
await page.waitForTimeout(2 * 1000);
}
retries = 50;
while (retries) {
if ((await page.$(byTestId('globalLoadingIndicator'))) === null) break;
await page.waitForTimeout(2 * 1000);
}
}

export async function loginToKibana({
page,
user,
}: {
page: Page;
user?: { username: string; password: string };
}) {
await page.fill('[data-test-subj=loginUsername]', user?.username ?? 'elastic', {
timeout: 60 * 1000,
});
await page.fill('[data-test-subj=loginPassword]', user?.password ?? 'changeme');
await page.click('[data-test-subj=loginSubmit]');
await waitForLoadingToFinish({ page });
}

export function utilsPageProvider({ page }: { page: Page }) {
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
*/

import { journey, step, before, after, expect } from '@elastic/synthetics';
import { byTestId } from '@kbn/ux-plugin/e2e/journeys/utils';
import type { RetryService } from '@kbn/ftr-common-functional-services';
import { v4 as uuidv4 } from 'uuid';
import { getReasonMessage } from '@kbn/synthetics-plugin/server/alert_rules/status_rule/message_utils';
import { byTestId } from '../../../page_objects/utils';
import { syntheticsAppPageProvider } from '../../page_objects/synthetics_app';
import { SyntheticsServices } from '../services/synthetics_services';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/

import { journey, step, before, after, expect } from '@elastic/synthetics';
import { byTestId } from '@kbn/ux-plugin/e2e/journeys/utils';
import type { RetryService } from '@kbn/ftr-common-functional-services';
import moment from 'moment';
import { byTestId } from '../../../page_objects/utils';
import { syntheticsAppPageProvider } from '../../page_objects/synthetics_app';
import { SyntheticsServices } from '../services/synthetics_services';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { journey, step, before, after, expect } from '@elastic/synthetics';
import { waitForLoadingToFinish } from '@kbn/ux-plugin/e2e/journeys/utils';
import { waitForLoadingToFinish } from '../../page_objects/utils';
import { SyntheticsServices } from './services/synthetics_services';
import { byTestId } from '../../helpers/utils';
import { addTestMonitor, cleanPrivateLocations, cleanTestMonitors } from './services/add_monitor';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
"kbn_references": [
"@kbn/test",
"@kbn/dev-utils",
"@kbn/ux-plugin/e2e",
"@kbn/ftr-common-functional-services",
"@kbn/synthetics-plugin",
"@kbn/observability-synthetics-test-data",
"@kbn/ftr-common-functional-ui-services"
"@kbn/ftr-common-functional-ui-services",
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* 2.0.
*/
import type { Page } from '@elastic/synthetics';
import { waitForLoadingToFinish } from '@kbn/ux-plugin/e2e/journeys/utils';
import { waitForLoadingToFinish } from './utils';

export function loginPageProvider({
page,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,24 @@
*/
import type { Page } from '@elastic/synthetics';
import { expect } from '@elastic/synthetics';
import { waitForLoadingToFinish } from '@kbn/ux-plugin/e2e/journeys/utils';

export const byTestId = (testId: string) => {
return `[data-test-subj="${testId}"]`;
};

export async function waitForLoadingToFinish({ page }: { page: Page }) {
let retries = 50;
while (retries) {
retries--;
if ((await page.$(byTestId('kbnLoadingMessage'))) === null) break;
await page.waitForTimeout(2 * 1000);
}
retries = 50;
while (retries) {
if ((await page.$(byTestId('globalLoadingIndicator'))) === null) break;
await page.waitForTimeout(2 * 1000);
}
}

export function utilsPageProvider({ page }: { page: Page }) {
return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
"kbn_references": [
"@kbn/test",
"@kbn/dev-utils",
"@kbn/ux-plugin/e2e",
"@kbn/ftr-common-functional-services",
"@kbn/apm-plugin",
"@kbn/ftr-common-functional-ui-services",
"@kbn/observability-synthetics-test-data"
"@kbn/observability-synthetics-test-data",
]
}

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions x-pack/solutions/observability/plugins/ux/e2e/README.md

This file was deleted.

Loading
Loading