mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 00:56:02 +00:00
SYNC: backup table, truncate, drop table - tests for all DBs
This commit is contained in:
committed by
Diflow
parent
3a04166747
commit
9265e52d68
@@ -416,35 +416,4 @@ describe('Data browser data', () => {
|
||||
// });
|
||||
|
||||
// });
|
||||
|
||||
it('Backup table', () => {
|
||||
cy.contains('MySql-connection').click();
|
||||
cy.contains('MyChinook').click();
|
||||
cy.contains('Customer').rightclick();
|
||||
cy.contains('backup').click();
|
||||
cy.testid('ConfirmSqlModal_okButton').click();
|
||||
cy.contains ('_Customer').should('be.visible');
|
||||
});
|
||||
|
||||
it('Truncate table', () => {
|
||||
cy.contains('MySql-connection').click();
|
||||
cy.contains('MyChinook').click();
|
||||
cy.contains('_Customer').click();
|
||||
cy.contains('Leonie').click();
|
||||
cy.contains('_Customer').rightclick();
|
||||
cy.contains('Truncate table').click();
|
||||
cy.testid('ConfirmSqlModal_okButton').click();
|
||||
cy.contains('Leonie').click();
|
||||
cy.testid ('TableDataTab_refreshGrid').click();
|
||||
cy.contains('No rows loaded')
|
||||
});
|
||||
|
||||
it('Drop table', () => {
|
||||
cy.contains('MySql-connection').click();
|
||||
cy.contains('MyChinook').click();
|
||||
cy.contains('_Customer').rightclick();
|
||||
cy.contains('Drop table').click();
|
||||
cy.testid('ConfirmSqlModal_okButton').click();
|
||||
cy.contains('_Customer').should('not.exist');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user