Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
b1e32f0
Update EUI to v114.0.0
acstll Mar 25, 2026
6188286
Update @elastic/eslint-plugin-eui
acstll Mar 25, 2026
0835cd5
[Security Plugin] Update snapshots
acstll Mar 25, 2026
19a0b33
[Discover][Scout] Fix flyout tests related to new scoped history
acstll Mar 25, 2026
1e7c214
Revert "[Discover][Scout] Fix flyout tests related to new scoped hist…
tsullivan Mar 25, 2026
9a9528e
wiring of historyKey for Traces Waterfall flyout
tsullivan Mar 25, 2026
e3dcf9f
Move cascade-close flyout stability test to Traces in Discover
tsullivan Mar 25, 2026
bbb1ddd
Fix for 'Explore from APM › Errors page - "Open in Discover"' test
tsullivan Mar 25, 2026
038cf56
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine Mar 26, 2026
b019a02
Fix lint error in 'Explore from APM › Errors page - Open in Discover'…
acstll Mar 29, 2026
eedd32f
Merge branch 'main' into eui/v114.0.0
weronikaolejniczak Mar 31, 2026
5f43e9d
TO FIX: Run node 'scripts/yarn_deduplicate && yarn kbn bootstrap' loc…
kibanamachine Mar 31, 2026
6bec361
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine Mar 31, 2026
6fb8bbd
remove strictness from useFlyoutHistoryKey hook
tsullivan Mar 31, 2026
7df0c06
fix ts error
tsullivan Mar 31, 2026
5ad719f
Merge branch 'main' into eui/v114.0.0
weronikaolejniczak Apr 1, 2026
7fb2dbf
Merge branch 'main' into eui/v114.0.0
weronikaolejniczak Apr 1, 2026
0d966b5
Merge branch 'main' into eui/v114.0.0
weronikaolejniczak Apr 1, 2026
cbd5739
fix(unified_doc_viewer): add custom footer back
weronikaolejniczak Apr 1, 2026
cfdcdaa
fix(doc_viewer_flyout): add missing import
weronikaolejniczak Apr 1, 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
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@
"@elastic/elasticsearch": "9.3.4",
"@elastic/ems-client": "8.6.3",
"@elastic/esql": "1.7.0",
"@elastic/eui": "113.3.0",
"@elastic/eui-theme-borealis": "6.2.0",
"@elastic/eui": "114.0.0",
"@elastic/eui-theme-borealis": "7.0.0",
"@elastic/filesaver": "1.1.2",
"@elastic/kibana-d3-color": "npm:@elastic/kibana-d3-color@2.0.1",
"@elastic/monaco-esql": "3.2.2",
Expand Down Expand Up @@ -1573,7 +1573,7 @@
"@cypress/debugging-proxy": "2.0.1",
"@cypress/grep": "5.1.0",
"@cypress/webpack-preprocessor": "6.0.2",
"@elastic/eslint-plugin-eui": "2.10.0",
"@elastic/eslint-plugin-eui": "2.11.0",
"@elastic/makelogs": "6.1.1",
"@emotion/babel-preset-css-prop": "11.11.0",
"@emotion/jest": "11.11.0",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ export const getEuiContextMapping = (): EuiTokensObject => {
defaultMessage: 'Alpha channel (opacity) value',
description: 'Label describing color alpha channel',
}),
'euiColorPicker.ariaLabel': i18n.translate('core.euiColorPicker.ariaLabel', {
defaultMessage: 'Select a color',
description: 'ARIA label for the color picker button',
}),
'euiColorPicker.colorLabel': i18n.translate('core.euiColorPicker.colorLabel', {
defaultMessage: 'Color value',
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
@elastic/apm-rum-core@5.25.1
@elastic/charts@71.3.0
@elastic/esql@1.7.0
@elastic/eui-theme-borealis@6.2.0
@elastic/eui-theme-common@8.1.0
@elastic/eui@113.3.0
@elastic/eui-theme-borealis@7.0.0
@elastic/eui-theme-common@9.0.0
@elastic/eui@114.0.0
@elastic/numeral@2.5.1
@elastic/prismjs-esql@1.1.2
@emotion/babel-plugin@11.13.5
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function createApmPage(page: ScoutPage): ApmPage {
? page.testSubj.locator(tableTestSubj)
: page.locator('table');

await container.getByText(linkText).click();
await container.getByRole('link', { name: linkText }).click();
Comment thread
iblancof marked this conversation as resolved.
},

async clickWaterfallItem(itemName: string) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/

Comment thread
iblancof marked this conversation as resolved.
import { tags } from '@kbn/scout';
import { expect } from '@kbn/scout/ui';
import type { PageObjects } from '@kbn/scout';
import {
spaceTest,
TRACES,
RICH_TRACE,
setupTracesExperience,
teardownTracesExperience,
} from '../../fixtures/traces_experience';
import type { TracesFlyout } from '../../fixtures/traces_experience/page_objects/flyout';

type DiscoverPage = PageObjects['discover'];

const openDocViewerAndTraceTimeline = async (pageObjects: {
discover: DiscoverPage;
tracesExperience: {
openOverviewTab: (d: DiscoverPage) => Promise<void>;
flyout: TracesFlyout;
};
}) => {
await pageObjects.discover.writeAndSubmitEsqlQuery(
`${TRACES.ESQL_QUERY} | WHERE transaction.name == "${RICH_TRACE.TRANSACTION_NAME}"`
);
await pageObjects.tracesExperience.openOverviewTab(pageObjects.discover);
await pageObjects.tracesExperience.flyout.traceSummary.fullScreenButton.click();
await expect(pageObjects.tracesExperience.flyout.waterfallFlyout.container).toBeVisible();
};

spaceTest.describe(
'Traces in Discover - Flyout cascade-close Emotion cache stability',
{
tag: [...tags.stateful.all, ...tags.serverless.observability.complete],
},
() => {
spaceTest.beforeAll(async ({ scoutSpace, config }) => {
await setupTracesExperience(scoutSpace, config);
});

spaceTest.beforeEach(async ({ browserAuth, pageObjects, page }) => {
await browserAuth.loginAsViewer();
await pageObjects.discover.goto();
// Suppress the tour so it does not overlap the waterfall flyout interactions.
await page.evaluate(() => localStorage.setItem('fullscreenWaterfallTourDismissed', 'true'));
});

spaceTest.afterAll(async ({ scoutSpace }) => {
await teardownTracesExperience(scoutSpace);
});

spaceTest(
'closing the Trace Timeline flyout navigates back to the Document Viewer without corrupting the Emotion style cache',
async ({ page, pageObjects }) => {
const { flyout } = pageObjects.tracesExperience;
const docViewerFlyout = page.testSubj.locator('docViewerFlyout');

const consoleErrors: string[] = [];
page.on('console', (msg) => {
if (msg.type() === 'error') {
consoleErrors.push(msg.text());
}
});

await spaceTest.step('open the Document Viewer and Trace Timeline flyouts', async () => {
await pageObjects.discover.waitUntilSearchingHasFinished();
await openDocViewerAndTraceTimeline(pageObjects);
});

await spaceTest.step('close the Trace Timeline flyout via the Back button', async () => {
await flyout.waterfallFlyout.backButton.click();
await expect(flyout.waterfallFlyout.container).toBeHidden();
// The Document Viewer remains visible — it was not cascade-closed because
// both flyouts share the same EUI flyout-manager historyKey.
await expect(docViewerFlyout).toBeVisible();
});

await spaceTest.step(
're-open the Trace Timeline flyout after navigating back',
async () => {
await flyout.traceSummary.fullScreenButton.click();
await expect(flyout.waterfallFlyout.container).toBeVisible();
}
);

await spaceTest.step(
'verify no insertBefore errors from stale Emotion cache refs',
async () => {
const hasInsertBeforeError = consoleErrors.some((msg) => msg.includes('insertBefore'));
expect(hasInsertBeforeError).toBe(false);
}
);
}
);
}
);
Loading
Loading