SYNC: fixed test

This commit is contained in:
SPRINX0\prochazka
2025-07-24 08:31:05 +02:00
committed by Diflow
parent d78d22b188
commit 571e332ed5

View File

@@ -381,7 +381,7 @@ describe('Data browser data', () => {
cy.themeshot('compare-database-settings');
});
it('Database chat', () => {
it.only('Database chat', () => {
cy.contains('MySql-connection').click();
cy.contains('MyChinook').click();
cy.testid('TabsPanel_buttonNewObject').click();
@@ -389,14 +389,16 @@ describe('Data browser data', () => {
cy.wait(1000);
cy.get('body').realType('find most popular artist');
cy.get('body').realPress('{enter}');
cy.testid('DatabaseChatTab_executeThisQuery', { timeout: 20000 }).click();
cy.testid('DatabaseChatTab_executeAllQueries', { timeout: 20000 }).click();
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.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', () => {