UI: New share button and toolbar reorganize (#77563)

This commit is contained in:
Ezequiel Victorero
2024-01-08 10:42:24 -03:00
committed by GitHub
parent eae6adf002
commit 25ff4baa76
12 changed files with 83 additions and 94 deletions

View File

@@ -14,7 +14,7 @@ describe('Public dashboards', () => {
cy.wait('@query');
// Open sharing modal
e2e.pages.ShareDashboardModal.shareButton().click();
e2e.pages.Dashboard.DashNav.shareButton().click();
// Select public dashboards tab
e2e.pages.ShareDashboardModal.PublicDashboard.Tab().click();
@@ -74,7 +74,7 @@ describe('Public dashboards', () => {
e2e.pages.Dashboard.DashNav.publicDashboardTag().should('exist');
// Open sharing modal
e2e.pages.ShareDashboardModal.shareButton().click();
e2e.pages.Dashboard.DashNav.shareButton().click();
// Select public dashboards tab
cy.intercept('GET', '/api/dashboards/uid/ZqZnVvFZz/public-dashboards').as('query-public-dashboard');
@@ -114,7 +114,7 @@ describe('Public dashboards', () => {
cy.wait('@query');
// Open sharing modal
e2e.pages.ShareDashboardModal.shareButton().click();
e2e.pages.Dashboard.DashNav.shareButton().click();
// Select public dashboards tab
cy.intercept('GET', '/api/dashboards/uid/ZqZnVvFZz/public-dashboards').as('query-public-dashboard');

View File

@@ -10,7 +10,7 @@ describe('Create a public dashboard with template variables shows a template var
e2e.flows.openDashboard({ uid: 'HYaGDGIMk' });
// Open sharing modal
e2e.pages.ShareDashboardModal.shareButton().click();
e2e.pages.Dashboard.DashNav.shareButton().click();
// Select public dashboards tab
e2e.pages.ShareDashboardModal.PublicDashboard.Tab().click();