AppFlowy/frontend/appflowy_web_app/cypress.config.ts

35 lines
883 B
TypeScript
Raw Normal View History

import { defineConfig } from 'cypress';
import registerCodeCoverageTasks from '@cypress/code-coverage/task';
import { addMatchImageSnapshotPlugin } from 'cypress-image-snapshot/plugin';
export default defineConfig({
env: {
codeCoverage: {
exclude: ['cypress/**/*.*', '**/__tests__/**/*.*', '**/*.test.*'],
},
},
watchForFileChanges: false,
component: {
devServer: {
framework: 'react',
bundler: 'vite',
},
feat: project management & document editor features on web (#7051) * fix: support page operations * fix: support select language of code block * fix: support hover controls of document * fix: support slash panel of document * feat: support image block and file block of document * feat: support outline block of document * feat: support add document on document * feat: support create sub-page on document * feat: support mention panel * feat: support more actions * feat: support create space * fix: add some shortcuts to document * fix: add some shortcuts to document * fix: multiple select blocks * fix: reupdate trash after restore and delete * fix: lint check * fix: callout block * fix: view icon * fix: colors * fix: colors * feat: support add grid/board/calendar * feat: support database new layout * fix: slash panel * fix: bugs * fix: grid table * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: bugs * fix: some bugs * fix: some bugs * fix: invite members * fix: styles * fix: styles * fix: styles * fix: inline code * fix: image block * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: add applink * fix: add applink * fix: add applink * fix: add share link * fix: inline link * fix: add log * fix: simple table bugs * fix: simple table bugs * fix: some bugs * fix: build size * fix: build size * fix: remove private from package.json * fix: support quick note * fix: support quick note * fix: support quick note * fix: support quick note * fix: support quick note * fix: some bugs * fix: support paste md * fix: modified toolbar * fix: modified toolbard actions * fix: adjust editor toolbar * fix: support billing
2024-12-30 10:12:54 +08:00
setupNodeEvents(on, config) {
registerCodeCoverageTasks(on, config);
addMatchImageSnapshotPlugin(on, config);
return config;
},
supportFile: 'cypress/support/component.ts',
},
feat: project management & document editor features on web (#7051) * fix: support page operations * fix: support select language of code block * fix: support hover controls of document * fix: support slash panel of document * feat: support image block and file block of document * feat: support outline block of document * feat: support add document on document * feat: support create sub-page on document * feat: support mention panel * feat: support more actions * feat: support create space * fix: add some shortcuts to document * fix: add some shortcuts to document * fix: multiple select blocks * fix: reupdate trash after restore and delete * fix: lint check * fix: callout block * fix: view icon * fix: colors * fix: colors * feat: support add grid/board/calendar * feat: support database new layout * fix: slash panel * fix: bugs * fix: grid table * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: bugs * fix: some bugs * fix: some bugs * fix: invite members * fix: styles * fix: styles * fix: styles * fix: inline code * fix: image block * fix: some bugs * fix: some bugs * fix: some bugs * fix: some bugs * fix: add applink * fix: add applink * fix: add applink * fix: add share link * fix: inline link * fix: add log * fix: simple table bugs * fix: simple table bugs * fix: some bugs * fix: build size * fix: build size * fix: remove private from package.json * fix: support quick note * fix: support quick note * fix: support quick note * fix: support quick note * fix: support quick note * fix: some bugs * fix: support paste md * fix: modified toolbar * fix: modified toolbard actions * fix: adjust editor toolbar * fix: support billing
2024-12-30 10:12:54 +08:00
chromeWebSecurity: false,
retries: {
// Configure retry attempts for `cypress run`
// Default is 0
runMode: 10,
// Configure retry attempts for `cypress open`
// Default is 0
openMode: 0,
},
});