fix: useTruncation infinite loop, reenable dashboard cross links on ChartList (#27701)

This commit is contained in:
Kamil Gabryjelski
2024-04-09 12:30:57 +02:00
committed by GitHub
parent 4ecfce98f6
commit ae0f2ce3c1
13 changed files with 282 additions and 179 deletions

View File

@@ -31,13 +31,13 @@ const SAMPLE_DASHBOARDS_INDEXES = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
function openDashboardsAddedTo() {
cy.getBySel('actions-trigger').click();
cy.get('.ant-dropdown-menu-submenu-title')
.contains('Dashboards added to')
.contains('On dashboards')
.trigger('mouseover', { force: true });
}
function closeDashboardsAddedTo() {
cy.get('.ant-dropdown-menu-submenu-title')
.contains('Dashboards added to')
.contains('On dashboards')
.trigger('mouseout', { force: true });
cy.getBySel('actions-trigger').click();
}