Skip to content
Merged
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const toasts = getService('toasts');
const inspector = getService('inspector');

// Failing: See https://github.com/elastic/kibana/issues/147667
describe.skip('Dashboard panel options a11y tests', () => {
describe('Dashboard panel options a11y tests', () => {
const title = '[Flights] Flight count';
before(async () => {
await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', {
Expand Down Expand Up @@ -45,9 +44,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

it('dashboard panel - customize time range', async () => {
await dashboardPanelActions.toggleContextMenuByTitle(title);
await testSubjects.click('embeddablePanelAction-CUSTOM_TIME_RANGE');
await testSubjects.click('embeddablePanelAction-ACTION_CUSTOMIZE_PANEL');
await testSubjects.click('customizePanelShowCustomTimeRange');

await a11y.testAppSnapshot();
await testSubjects.click('cancelPerPanelTimeRangeButton');
await testSubjects.click('cancelCustomizePanelButton');
});

it('dashboard panel- inspect', async () => {
Expand Down Expand Up @@ -81,6 +82,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await dashboardPanelActions.clickExpandPanelToggle();
await a11y.testAppSnapshot();
await dashboardPanelActions.clickExpandPanelToggle();
await a11y.testAppSnapshot();
});

it('dashboard panel - copy to dashboard', async () => {
Expand All @@ -107,6 +109,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await a11y.testAppSnapshot();
await testSubjects.click('customEmbeddablePanelHideTitleSwitch');
await testSubjects.click('saveCustomizePanelButton');
await a11y.testAppSnapshot();
});

it('dashboard panel - Create drilldown panel', async () => {
Expand All @@ -130,11 +133,5 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await a11y.testAppSnapshot();
await testSubjects.click('euiFlyoutCloseButton');
});

it('dashboard panel - save to library', async () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this test case removed?

Copy link
Contributor Author

@alexwizp alexwizp Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nreese Most probably this is a bad test — I think the idea was to check a11y for dashboardPanelActions.saveToLibrary modal. In reality, this method performs a save operation and returns us to the UI that we’ve already tested in one of the previous tests. It seems redundant to me.

await dashboardPanelActions.saveToLibrary('', title);
await a11y.testAppSnapshot();
await testSubjects.click('saveCancelButton');
});
});
}