mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
SYNC: front matter in chart screenshot
This commit is contained in:
committed by
Diflow
parent
caadee7901
commit
e05bd6f231
@@ -498,7 +498,7 @@ describe('Data browser data', () => {
|
|||||||
cy.themeshot('public-knowledge-base-tables-sizes');
|
cy.themeshot('public-knowledge-base-tables-sizes');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Private cloud - sign in', () => {
|
it.only('Private cloud - sign in', () => {
|
||||||
cy.contains('MySql-connection').click();
|
cy.contains('MySql-connection').click();
|
||||||
cy.contains('MyChinook').click();
|
cy.contains('MyChinook').click();
|
||||||
cy.contains('Invoice').rightclick();
|
cy.contains('Invoice').rightclick();
|
||||||
@@ -507,6 +507,8 @@ describe('Data browser data', () => {
|
|||||||
cy.testid('QueryTab_executeButton').click();
|
cy.testid('QueryTab_executeButton').click();
|
||||||
cy.contains('Chart 1').click();
|
cy.contains('Chart 1').click();
|
||||||
cy.testid('JslChart_customizeButton').click();
|
cy.testid('JslChart_customizeButton').click();
|
||||||
|
cy.testid('ChartDefinitionEditor_chartTypeSelect').select('Bar');
|
||||||
|
cy.testid('ChartDefinitionEditor_chartTypeSelect').select('Line');
|
||||||
cy.testid('chart-canvas').should($c => expect($c[0].toDataURL()).to.match(/^data:image\/png;base64/));
|
cy.testid('chart-canvas').should($c => expect($c[0].toDataURL()).to.match(/^data:image\/png;base64/));
|
||||||
cy.themeshot('query-result-chart');
|
cy.themeshot('query-result-chart');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user