mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 18:26:00 +00:00
SYNC: fixed test
This commit is contained in:
committed by
Diflow
parent
4d6957a6fa
commit
87c58cae83
@@ -110,7 +110,7 @@ describe('Charts', () => {
|
|||||||
cy.themeshot('new-object-window');
|
cy.themeshot('new-object-window');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Database chat - charts', () => {
|
it.only('Database chat - charts', () => {
|
||||||
cy.contains('MySql-connection').click();
|
cy.contains('MySql-connection').click();
|
||||||
cy.contains('MyChinook').click();
|
cy.contains('MyChinook').click();
|
||||||
cy.testid('TabsPanel_buttonNewObject').click();
|
cy.testid('TabsPanel_buttonNewObject').click();
|
||||||
@@ -119,8 +119,7 @@ describe('Charts', () => {
|
|||||||
cy.get('body').realType('show me chart of most popular genres');
|
cy.get('body').realType('show me chart of most popular genres');
|
||||||
cy.get('body').realPress('{enter}');
|
cy.get('body').realPress('{enter}');
|
||||||
cy.testid('DatabaseChatTab_executeAllQueries', { timeout: 30000 }).click();
|
cy.testid('DatabaseChatTab_executeAllQueries', { timeout: 30000 }).click();
|
||||||
cy.wait(5000);
|
cy.testid('chart-canvas', { timeout: 30000 }).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('database-chat-chart');
|
cy.themeshot('database-chat-chart');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user