diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index db791f96d..63dc46262 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -32,7 +32,7 @@ jobs: - name: Run Cypress tests run: | cd e2e-tests - yarn ci + yarn test:ci services: mysql: diff --git a/e2e-tests/cypress/e2e/connect.cy.js b/e2e-tests/cypress/e2e/connect.cy.js index ac21458f0..9ed86cfd5 100644 --- a/e2e-tests/cypress/e2e/connect.cy.js +++ b/e2e-tests/cypress/e2e/connect.cy.js @@ -14,7 +14,7 @@ describe('Initialization', () => { 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_buttonConnect]').click(); cy.contains('performance_schema'); }); }); diff --git a/e2e-tests/package.json b/e2e-tests/package.json index 636ca3313..08754e7fd 100644 --- a/e2e-tests/package.json +++ b/e2e-tests/package.json @@ -12,7 +12,7 @@ "cy:open": "cypress open", "cy:run": "cypress run", "start:ci": "cd .. && cross-env CI=true node packer/build/bundle.js --listen-api --run-packer-build", - "start:local": "cd .. && node common/clearDataWithBackup.js && cross-env CI=true node packer/build/bundle.js --listen-api --run-packer-build", + "start:local": "cd .. && node common/clearDataWithBackup.js && node packer/build/bundle.js --listen-api --run-packer-build", "test:ci": "start-server-and-test start:ci http://localhost:3000 cy:run", "test:local": "start-server-and-test start:local http://localhost:3000 cy:run" } diff --git a/packages/web/src/tabs/ConnectionTab.svelte b/packages/web/src/tabs/ConnectionTab.svelte index 18cad3b97..d4a293c19 100644 --- a/packages/web/src/tabs/ConnectionTab.svelte +++ b/packages/web/src/tabs/ConnectionTab.svelte @@ -223,20 +223,20 @@
{#if onlyTestButton} {#if isTesting} - + {:else} - + {/if} {:else if isConnected} - + {:else} - + {#if isTesting} {:else} - + {/if} - + {/if}