diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 31a56909..755b146a 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -28,6 +28,9 @@ jobs: - name: "database" spec: "cypress/e2e/database/**/*.cy.ts" description: "Database and grid operations" + - name: "embedded" + spec: "cypress/e2e/embeded_database/**/*.cy.ts" + description: "Embedded database operations" - name: "page" spec: "cypress/e2e/page/**/*.cy.ts" description: "Page management (create, delete, share, publish)" diff --git a/cypress/e2e/embeded_database/TEST_CASES.md b/cypress/e2e/embeded/TEST_CASES.md similarity index 100% rename from cypress/e2e/embeded_database/TEST_CASES.md rename to cypress/e2e/embeded/TEST_CASES.md diff --git a/cypress/e2e/embeded_database/database-conditions.cy.ts b/cypress/e2e/embeded/database/database-conditions.cy.ts similarity index 98% rename from cypress/e2e/embeded_database/database-conditions.cy.ts rename to cypress/e2e/embeded/database/database-conditions.cy.ts index a84dbf52..faeab51d 100644 --- a/cypress/e2e/embeded_database/database-conditions.cy.ts +++ b/cypress/e2e/embeded/database/database-conditions.cy.ts @@ -1,6 +1,6 @@ import { v4 as uuidv4 } from 'uuid'; -import { AuthTestUtils } from '../../support/auth-utils'; -import { getSlashMenuItemName } from '../../support/i18n-constants'; +import { AuthTestUtils } from '../../../support/auth-utils'; +import { getSlashMenuItemName } from '../../../support/i18n-constants'; import { AddPageSelectors, DatabaseFilterSelectors, @@ -8,7 +8,7 @@ import { EditorSelectors, SlashCommandSelectors, waitForReactUpdate, -} from '../../support/selectors'; +} from '../../../support/selectors'; describe('Database Conditions - Filters and Sorts UI', () => { const generateRandomEmail = () => `${uuidv4()}@appflowy.io`; diff --git a/cypress/e2e/embeded_database/linked-database-plus-button.cy.ts b/cypress/e2e/embeded/database/linked-database-plus-button.cy.ts similarity index 99% rename from cypress/e2e/embeded_database/linked-database-plus-button.cy.ts rename to cypress/e2e/embeded/database/linked-database-plus-button.cy.ts index e935807e..2c45e845 100644 --- a/cypress/e2e/embeded_database/linked-database-plus-button.cy.ts +++ b/cypress/e2e/embeded/database/linked-database-plus-button.cy.ts @@ -1,12 +1,12 @@ import { v4 as uuidv4 } from 'uuid'; -import { AuthTestUtils } from '../../support/auth-utils'; -import { getSlashMenuItemName } from '../../support/i18n-constants'; +import { AuthTestUtils } from '../../../support/auth-utils'; +import { getSlashMenuItemName } from '../../../support/i18n-constants'; import { AddPageSelectors, EditorSelectors, SlashCommandSelectors, waitForReactUpdate -} from '../../support/selectors'; +} from '../../../support/selectors'; describe('Embedded Database - Plus Button View Creation', () => { const generateRandomEmail = () => `${uuidv4()}@appflowy.io`; diff --git a/cypress/e2e/embeded_database/linked-database-slash-menu.cy.ts b/cypress/e2e/embeded/database/linked-database-slash-menu.cy.ts similarity index 98% rename from cypress/e2e/embeded_database/linked-database-slash-menu.cy.ts rename to cypress/e2e/embeded/database/linked-database-slash-menu.cy.ts index 6eea4b3a..2883e75f 100644 --- a/cypress/e2e/embeded_database/linked-database-slash-menu.cy.ts +++ b/cypress/e2e/embeded/database/linked-database-slash-menu.cy.ts @@ -1,15 +1,14 @@ import { v4 as uuidv4 } from 'uuid'; -import { AuthTestUtils } from '../../support/auth-utils'; -import { getSlashMenuItemName } from '../../support/i18n-constants'; +import { AuthTestUtils } from '../../../support/auth-utils'; +import { getSlashMenuItemName } from '../../../support/i18n-constants'; import { AddPageSelectors, DatabaseGridSelectors, EditorSelectors, ModalSelectors, - PageSelectors, SlashCommandSelectors, waitForReactUpdate -} from '../../support/selectors'; +} from '../../../support/selectors'; describe('Embedded Database - Slash Menu Creation', () => { const generateRandomEmail = () => `${uuidv4()}@appflowy.io`;