From fd9538d225f75e4ecf6ac469fc9179921b360c8e Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Wed, 29 Jun 2022 12:25:16 +0530 Subject: [PATCH] fix: preparation of db pre-test Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .github/workflows/ci-cd.yml | 3 ++- scripts/cypress/integration/common/9a_QuickTest.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 2e3cfd1388..c2fd63e1ac 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -577,6 +577,7 @@ jobs: uses: cypress-io/github-action@v2 with: start: | + cp ./scripts/cypress/fixtures/quickTest/noco_0_91_7.db ./packages/nocodb/noco.db npm run start:api:cache npm run start:web docker-compose -f ./scripts/docker-compose-cypress.yml up -d @@ -621,9 +622,9 @@ jobs: uses: cypress-io/github-action@v2 with: start: | + docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d npm run start:api:cache:pg npm run start:web - docker-compose -f ./scripts/cypress/docker-compose-pg-cy-quick.yml up -d spec: "./scripts/cypress/integration/common/9a_QuickTest.js" wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js" wait-on-timeout: 1200 diff --git a/scripts/cypress/integration/common/9a_QuickTest.js b/scripts/cypress/integration/common/9a_QuickTest.js index b3a956d1a6..819590799e 100644 --- a/scripts/cypress/integration/common/9a_QuickTest.js +++ b/scripts/cypress/integration/common/9a_QuickTest.js @@ -66,7 +66,7 @@ export const genTest = (apiType, dbType) => { if (!isTestSuiteActive(apiType, dbType)) return; describe(`Webhook`, () => { before(() => { - cy.task("copyFile") + // cy.task("copyFile") loginPage.signIn(roles.owner.credentials); projectsPage.openProject("sample"); });