mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-28 10:45:59 +00:00
try to fix test
This commit is contained in:
@@ -11,6 +11,9 @@ describe('Initialization', () => {
|
|||||||
cy.get('[data-testid=ConnectionDriverFields_user]').clear().type('root');
|
cy.get('[data-testid=ConnectionDriverFields_user]').clear().type('root');
|
||||||
cy.get('[data-testid=ConnectionDriverFields_password]').clear().type('Pwd2020Db');
|
cy.get('[data-testid=ConnectionDriverFields_password]').clear().type('Pwd2020Db');
|
||||||
cy.get('[data-testid=ConnectionDriverFields_port]').clear().type('16004');
|
cy.get('[data-testid=ConnectionDriverFields_port]').clear().type('16004');
|
||||||
|
if (process.env.CI) {
|
||||||
|
cy.get('[data-testid=ConnectionDriverFields_server]').clear().type('mysql');
|
||||||
|
}
|
||||||
cy.get('[data-testid=ConnectionTab_connect]').click();
|
cy.get('[data-testid=ConnectionTab_connect]').click();
|
||||||
cy.contains('performance_schema');
|
cy.contains('performance_schema');
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user