diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 63dc46262..da0826611 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -39,5 +39,3 @@ jobs: image: mysql:8.0.18 env: MYSQL_ROOT_PASSWORD: Pwd2020Db - ports: - - 16004:3306 diff --git a/e2e-tests/cypress/e2e/connect.cy.js b/e2e-tests/cypress/e2e/connect.cy.js index f6db25863..39bf8a110 100644 --- a/e2e-tests/cypress/e2e/connect.cy.js +++ b/e2e-tests/cypress/e2e/connect.cy.js @@ -12,10 +12,11 @@ describe('Initialization', () => { cy.get('[data-testid=ConnectionDriverFields_connectionType]').select('MySQL'); cy.get('[data-testid=ConnectionDriverFields_user]').clear().type('root'); cy.get('[data-testid=ConnectionDriverFields_password]').clear().type('Pwd2020Db'); - cy.get('[data-testid=ConnectionDriverFields_port]').clear().type('16004'); if (runOnCI) { cy.get('[data-testid=ConnectionDriverFields_server]').clear().type('mysql'); - } + } else { + cy.get('[data-testid=ConnectionDriverFields_port]').clear().type('16004'); + } cy.get('[data-testid=ConnectionDriverFields_displayName]').clear().type('test-mysql-1'); cy.get('[data-testid=ConnectionTab_buttonSave]').click(); cy.get('[data-testid=ConnectionTab_buttonConnect]').click(); @@ -24,7 +25,7 @@ describe('Initialization', () => { // it('import chinook DB', () => { // cy.visit('http://localhost:3000'); - // cy.findByText('test-mysql-1').dblclick(); + // cy.get('[data-testid=ConnectionTab_buttonConnect]').click(); // }); });