mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-27 19:36:00 +00:00
SYNC: fixed test
This commit is contained in:
committed by
Diflow
parent
d78d22b188
commit
571e332ed5
@@ -381,7 +381,7 @@ describe('Data browser data', () => {
|
|||||||
cy.themeshot('compare-database-settings');
|
cy.themeshot('compare-database-settings');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Database chat', () => {
|
it.only('Database chat', () => {
|
||||||
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();
|
||||||
@@ -389,14 +389,16 @@ describe('Data browser data', () => {
|
|||||||
cy.wait(1000);
|
cy.wait(1000);
|
||||||
cy.get('body').realType('find most popular artist');
|
cy.get('body').realType('find most popular artist');
|
||||||
cy.get('body').realPress('{enter}');
|
cy.get('body').realPress('{enter}');
|
||||||
cy.testid('DatabaseChatTab_executeThisQuery', { timeout: 20000 }).click();
|
cy.testid('DatabaseChatTab_executeAllQueries', { timeout: 20000 }).click();
|
||||||
cy.contains('Iron Maiden');
|
cy.contains('Iron Maiden');
|
||||||
cy.themeshot('database-chat');
|
|
||||||
|
|
||||||
// cy.get('body').realType('which song did bring the biggest income?');
|
|
||||||
// cy.get('body').realPress('{enter}');
|
|
||||||
// cy.contains('Gay Witch Hunt');
|
|
||||||
// cy.themeshot('database-chat');
|
// cy.themeshot('database-chat');
|
||||||
|
|
||||||
|
cy.testid('DatabaseChatTab_promptInput').click();
|
||||||
|
cy.get('body').realType('I need top 10 songs with the biggest income');
|
||||||
|
cy.get('body').realPress('{enter}');
|
||||||
|
cy.contains('Hot Girl', { timeout: 20000 });
|
||||||
|
cy.wait(1000);
|
||||||
|
cy.themeshot('database-chat');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Modify data', () => {
|
it('Modify data', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user