chore: fix test

This commit is contained in:
Nathan
2025-11-21 19:54:04 +08:00
parent 375826dcb0
commit b07cf26a4b
5 changed files with 12 additions and 10 deletions

View File

@@ -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)"

View File

@@ -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`;

View File

@@ -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`;

View File

@@ -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`;