removed e2e tests from run-tests workflow

This commit is contained in:
SPRINX0\prochazka
2025-01-29 16:02:10 +01:00
parent f22adf3cc8
commit 9309f25126
3 changed files with 14 additions and 110 deletions

View File

@@ -22,17 +22,6 @@ jobs:
- name: yarn install
run: |
yarn install
- name: Build packer dist for cypress
run: |
yarn prepare:packer
- name: yarn install cypress
run: |
cd e2e-tests
yarn install
- name: Run Cypress tests
run: |
cd e2e-tests
yarn test:ci
- name: Integration tests
run: |
cd integration-tests
@@ -99,39 +88,3 @@ jobs:
ORACLE_PASSWORD: Pwd2020Db
ports:
- '15006:1521'
postgres-cypress:
image: postgres
options: '--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5'
env:
POSTGRES_PASSWORD: Pwd2020Db
ports:
- '16000:5432'
mysql-cypress:
image: 'mysql:8.0.18'
ports:
- '16004:3306'
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
mysql-ssh-login:
image: 'ghcr.io/dbgate/mysql-ssh-login:latest'
ports:
- '16006:22'
mysql-ssh-keyfile:
image: 'ghcr.io/dbgate/mysql-ssh-keyfile:latest'
ports:
- '16008:22'
dex:
image: 'ghcr.io/dbgate/dex:latest'
ports:
- '16009:5556'
mongo:
image: 'mongo:4.0.12'
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: Pwd2020Db
ports:
- '16010:27017'
redis:
image: redis
ports:
- '16011:6379'

View File

@@ -145,7 +145,7 @@ describe('Data browser data', () => {
cy.themeshot('perspective1');
});
it('Query editor', () => {
it('Query editor - code completion', () => {
cy.contains('MySql-connection').click();
cy.contains('MyChinook').click();
cy.contains('Customer').rightclick();
@@ -157,4 +157,17 @@ describe('Data browser data', () => {
cy.contains('ArtistId');
cy.themeshot('query');
});
it.only('Query editor - join wizard', () => {
cy.contains('MySql-connection').click();
cy.contains('MyChinook').click();
cy.testid('TabsPanel_buttonNewQuery').click();
cy.wait(1000);
cy.get('body').realType('select * from Invoice');
cy.get('body').realPress('{enter}');
cy.get('body').realPress(['Control', 'j']);
// JOIN wizard
cy.contains('INNER JOIN Customer ON Invoice.CustomerId = Customer.CustomerId');
cy.themeshot('joinwizard');
});
});

View File

@@ -25,20 +25,6 @@ jobs:
run: |
yarn install
- name: Build packer dist for cypress
run: |
yarn prepare:packer
- name: yarn install cypress
run: |
cd e2e-tests
yarn install
- name: Run Cypress tests
run: |
cd e2e-tests
yarn test:ci
- name: Integration tests
run: |
cd integration-tests
@@ -119,51 +105,3 @@ jobs:
ORACLE_PASSWORD: Pwd2020Db
ports:
- 15006:1521
postgres-cypress:
image: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_PASSWORD: Pwd2020Db
ports:
- 16000:5432
mysql-cypress:
image: mysql:8.0.18
ports:
- 16004:3306
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
mysql-ssh-login:
image: ghcr.io/dbgate/mysql-ssh-login:latest
ports:
- '16006:22'
mysql-ssh-keyfile:
image: ghcr.io/dbgate/mysql-ssh-keyfile:latest
ports:
- '16008:22'
dex:
image: ghcr.io/dbgate/dex:latest
ports:
- 16009:5556
mongo:
image: mongo:4.0.12
env:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: Pwd2020Db
ports:
- 16010:27017
redis:
image: redis
ports:
- 16011:6379