mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
fix
This commit is contained in:
2
.github/workflows/e2e-pro.yaml
vendored
2
.github/workflows/e2e-pro.yaml
vendored
@@ -84,7 +84,7 @@ jobs:
|
|||||||
mysql-ssh-login:
|
mysql-ssh-login:
|
||||||
image: 'ghcr.io/dbgate/mysql-ssh-login:latest'
|
image: 'ghcr.io/dbgate/mysql-ssh-login:latest'
|
||||||
ports:
|
ports:
|
||||||
- '16006:22'
|
- '16012:22'
|
||||||
mysql-ssh-keyfile:
|
mysql-ssh-keyfile:
|
||||||
image: 'ghcr.io/dbgate/mysql-ssh-keyfile:latest'
|
image: 'ghcr.io/dbgate/mysql-ssh-keyfile:latest'
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ describe('Add connection', () => {
|
|||||||
cy.get('[data-testid=ConnectionSshTunnelFields_useSshTunnel]').check();
|
cy.get('[data-testid=ConnectionSshTunnelFields_useSshTunnel]').check();
|
||||||
cy.get('[data-testid=ConnectionSshTunnelFields_sshLogin]').clear().type('root');
|
cy.get('[data-testid=ConnectionSshTunnelFields_sshLogin]').clear().type('root');
|
||||||
cy.get('[data-testid=ConnectionSshTunnelFields_sshPassword]').clear().type('root');
|
cy.get('[data-testid=ConnectionSshTunnelFields_sshPassword]').clear().type('root');
|
||||||
cy.get('[data-testid=ConnectionSshTunnelFields_sshPort]').clear().type('16006');
|
cy.get('[data-testid=ConnectionSshTunnelFields_sshPort]').clear().type('16012');
|
||||||
cy.get('[data-testid=ConnectionTab_buttonSave]').click();
|
cy.get('[data-testid=ConnectionTab_buttonSave]').click();
|
||||||
cy.get('[data-testid=ConnectionTab_buttonConnect]').click();
|
cy.get('[data-testid=ConnectionTab_buttonConnect]').click();
|
||||||
cy.contains('performance_schema');
|
cy.contains('performance_schema');
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ beforeEach(() => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
describe('Team edition tests', () => {
|
describe('Team edition tests', () => {
|
||||||
it('Data archive editor - macros', () => {
|
it('Team edition screens', () => {
|
||||||
cy.testid('LoginPage_linkAdmin').click();
|
cy.testid('LoginPage_linkAdmin').click();
|
||||||
cy.testid('LoginPage_password').type('adminpwd');
|
cy.testid('LoginPage_password').type('adminpwd');
|
||||||
cy.testid('LoginPage_submitLogin').click();
|
cy.testid('LoginPage_submitLogin').click();
|
||||||
@@ -27,4 +27,13 @@ describe('Team edition tests', () => {
|
|||||||
cy.contains('OAuth 2.0').click();
|
cy.contains('OAuth 2.0').click();
|
||||||
cy.themeshot('authadmin');
|
cy.themeshot('authadmin');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// it('OAuth authentication', () => {
|
||||||
|
// cy.testid('AdminMenuWidget_itemAuthentication').click();
|
||||||
|
// cy.contains('Add authentication').click();
|
||||||
|
// cy.contains('Use database login').click();
|
||||||
|
// cy.contains('Add authentication').click();
|
||||||
|
// cy.contains('OAuth 2.0').click();
|
||||||
|
// cy.themeshot('authadmin');
|
||||||
|
// });
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 16005:3306
|
- 16005:3306
|
||||||
- "16006:22"
|
- "16012:22"
|
||||||
|
|
||||||
mysql-ssh-keyfile:
|
mysql-ssh-keyfile:
|
||||||
build: containers/mysql-ssh-keyfile
|
build: containers/mysql-ssh-keyfile
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ jobs:
|
|||||||
mysql-ssh-login:
|
mysql-ssh-login:
|
||||||
image: ghcr.io/dbgate/mysql-ssh-login:latest
|
image: ghcr.io/dbgate/mysql-ssh-login:latest
|
||||||
ports:
|
ports:
|
||||||
- '16006:22'
|
- '16012:22'
|
||||||
|
|
||||||
mysql-ssh-keyfile:
|
mysql-ssh-keyfile:
|
||||||
image: ghcr.io/dbgate/mysql-ssh-keyfile:latest
|
image: ghcr.io/dbgate/mysql-ssh-keyfile:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user