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.get(`.project-tab:contains(Actor)`).should('exist')
cy.url().should('contain', `?name=Actor&`) 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('td[data-col="Actor <=> Film"] div .mdi-arrow-expand').first().click({force: true})
// //
// cy.get(":contains(Link to 'City')").should('exist') // cy.get(":contains(Link to 'City')").should('exist')

6
docker-compose-cypress.yml

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

Loading…
Cancel
Save