SYNC: chart screenshot

This commit is contained in:
SPRINX0\prochazka
2025-06-16 09:23:19 +02:00
committed by Diflow
parent cd7cf63144
commit eaa60c281e
5 changed files with 26 additions and 1 deletions

View File

@@ -488,4 +488,18 @@ describe('Data browser data', () => {
cy.testid('DataDeployTab_importIntoDb').click();
cy.themeshot('data-replicator');
});
it('Public Knowledge base - show chart', () => {
cy.contains('MySql-connection').click();
cy.contains('MyChinook').click();
cy.testid('WidgetIconPanel_cloud-public').click();
cy.testid('public-cloud-file-tag-mysql/folder-MySQL/tag-premium/top-tables-row-count.sql').click();
cy.testid('chart-canvas').should($c => expect($c[0].toDataURL()).to.match(/^data:image\/png;base64/));
cy.themeshot('public-knowledge-base-tables-sizes');
});
// it('Private cloud - sign in', () => {
// cy.testid('WidgetIconPanel_cloudAccount').click();
// cy.themeshot('private-cloud-sign-in');
// });
});