Browse Source

chore(action): docker compose correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/510/head
Pranav C 3 years ago
parent
commit
424e138c0c
  1. 2
      cypress/integration/app_rest_api_project_spec.js
  2. 6
      docker-compose-cypress.yml

2
cypress/integration/app_rest_api_project_spec.js

@ -85,7 +85,7 @@ describe('Rest api project test', () => {
cy.get(`.project-tab:contains(Actor)`).should('exist')
cy.url().should('contain', `?name=Actor&`)
cy.get('td[data-col="Actor <=> Film"] div:visible').first().click({force: true})
cy.get('td[data-col="Actor <=> Film"] div').first().click({force: true})
cy.get('td[data-col="Actor <=> Film"] div .mdi-arrow-expand').first().click({force: true})
//
// cy.get(":contains(Link to 'City')").should('exist')

6
docker-compose-cypress.yml

@ -7,15 +7,11 @@ services:
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
ports:
- 3306:3306
volumes:
- ./packages/nocodb/tests/mysql-sakila-db:/docker-entrypoint-initdb.d
xc-cypress-nocodb:
network_mode: host
image: node:12.22.1-slim
ports:
- "8080:8080"
volumes:
- ./packages/nocodb:/home/app
command:
@ -27,8 +23,6 @@ services:
xc-cypress-nc-gui:
network_mode: host
image: node:12.22.1-slim
ports:
- "3000:3000"
environment:
- HOST=0.0.0.0
- PORT=3000

Loading…
Cancel
Save