Browse Source

test/cypress: disable ci-cd screenshot upload

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/1127/head
Raju Udava 3 years ago
parent
commit
817442ef9f
  1. 99
      .github/workflows/ci-cd.yml
  2. 1
      scripts/cypress/integration/common/6b_downloadCsv.js

99
.github/workflows/ci-cd.yml

@ -4,13 +4,14 @@
name: "CI/CD"
on:
push:
branches: [master, cypress]
paths:
- "packages/nc-gui/**"
- "scripts/cypress/**"
- "packages/nocodb/**"
- ".github/workflows/ci-cd.yml"
pull_request:
branches: [master, develop]
branches: [master]
paths:
- "packages/nc-gui/**"
- "scripts/cypress/**"
@ -44,12 +45,6 @@ jobs:
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -88,12 +83,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -132,12 +121,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -176,12 +159,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -219,12 +196,6 @@ jobs:
${{ runner.os }}-
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -263,12 +234,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -307,12 +272,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -351,12 +310,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -395,12 +348,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -439,12 +386,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -483,12 +424,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -527,12 +462,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -571,12 +500,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -615,12 +538,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -659,12 +576,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:
@ -703,12 +614,6 @@ jobs:
- name: Set env
run: echo "NODE_ENV=test" >> $GITHUB_ENV
- name: Upload screenshots
uses: actions/upload-artifact@latest
if: failure()
with:
name: cypress-snapshots
path: cypress/snapshots
- name: Cypress run
uses: cypress-io/github-action@v2
with:

1
scripts/cypress/integration/common/6b_downloadCsv.js

@ -13,6 +13,7 @@ export const genTest = (type, xcdb) => {
after(() => {
cy.closeTableTab("Country");
cy.screenshot('6b-after')
});
it("Download verification- base view, default columns", () => {

Loading…
Cancel
Save