mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 11:26:00 +00:00
test fix
This commit is contained in:
@@ -171,7 +171,7 @@ describe('Data browser data', () => {
|
||||
cy.themeshot('joinwizard');
|
||||
});
|
||||
|
||||
it.only('Mongo JSON data view', () => {
|
||||
it('Mongo JSON data view', () => {
|
||||
cy.contains('Mongo-connection').click();
|
||||
cy.contains('MgChinook').click();
|
||||
cy.contains('Customer').click();
|
||||
@@ -187,4 +187,14 @@ describe('Data browser data', () => {
|
||||
cy.contains('Country: "Brazil"');
|
||||
cy.themeshot('mongoquery');
|
||||
});
|
||||
|
||||
it('SQL preview', () => {
|
||||
cy.contains('MySql-connection').click();
|
||||
cy.contains('MyChinook').click();
|
||||
cy.contains('Customer').rightclick();
|
||||
cy.contains('Show SQL').click();
|
||||
// index should be part of create script
|
||||
cy.contains('CREATE INDEX `IFK_CustomerSupportRepId`');
|
||||
cy.themeshot('sqlpreview');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user