Browse Source

test/cypress: ci-cd corrections

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

3
.github/workflows/ci-cd.yml

@ -4,14 +4,13 @@
name: "CI/CD" name: "CI/CD"
on: on:
push: push:
branches: [master, cypress]
paths: paths:
- "packages/nc-gui/**" - "packages/nc-gui/**"
- "scripts/cypress/**" - "scripts/cypress/**"
- "packages/nocodb/**" - "packages/nocodb/**"
- ".github/workflows/ci-cd.yml" - ".github/workflows/ci-cd.yml"
pull_request: pull_request:
branches: [master] branches: [master, develop]
paths: paths:
- "packages/nc-gui/**" - "packages/nc-gui/**"
- "scripts/cypress/**" - "scripts/cypress/**"

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

@ -9,6 +9,7 @@ export const genTest = (type, xcdb) => {
before(() => { before(() => {
// loginPage.loginAndOpenProject(type) // loginPage.loginAndOpenProject(type)
cy.openTableTab("Country", 25); cy.openTableTab("Country", 25);
cy.screenshot("6b-before");
}); });
after(() => { after(() => {

Loading…
Cancel
Save