* feat(richtext-lexical): 'bottom' position value for plugins * feat: TestRecorderFeature * chore: restructuring to seed and clear db before each test * chore: make sure all tests pass * chore: make sure indexes are created in seed.ts - this fixes one erroring test * chore: speed up test runs through db snapshots * chore: support drizzle when resetting db * chore: simplify seeding process, by moving boilerplate db reset / snapshot logic into a wrapper function * chore: add new seeding process to admin test suite * chore(deps): upgrade jest and playwright * chore: make sure mongoose-specific tests are not skipped * chore: fix point test, which was depending on another test (that's bad!) * chore: fix incorrect import * chore: remove unnecessary comments * chore: clearly label lexicalE2E test file as todo * chore: simplify seed logic * chore: move versions test suite to new seed system
42 lines
1.6 KiB
TypeScript
42 lines
1.6 KiB
TypeScript
export const usersCollectionSlug = 'users' as const
|
|
export const customViews1CollectionSlug = 'custom-views-one' as const
|
|
export const customViews2CollectionSlug = 'custom-views-two' as const
|
|
export const geoCollectionSlug = 'geo' as const
|
|
export const postsCollectionSlug = 'posts' as const
|
|
export const group1Collection1Slug = 'group-one-collection-ones' as const
|
|
export const group1Collection2Slug = 'group-one-collection-twos' as const
|
|
export const group2Collection1Slug = 'group-two-collection-ones' as const
|
|
export const group2Collection2Slug = 'group-two-collection-twos' as const
|
|
export const hiddenCollectionSlug = 'hidden-collection' as const
|
|
export const noApiViewCollectionSlug = 'collection-no-api-view' as const
|
|
export const collectionSlugs = [
|
|
usersCollectionSlug,
|
|
customViews1CollectionSlug,
|
|
customViews2CollectionSlug,
|
|
geoCollectionSlug,
|
|
postsCollectionSlug,
|
|
group1Collection1Slug,
|
|
group1Collection2Slug,
|
|
group2Collection1Slug,
|
|
group2Collection2Slug,
|
|
hiddenCollectionSlug,
|
|
noApiViewCollectionSlug,
|
|
]
|
|
|
|
export const customGlobalViews1GlobalSlug = 'custom-global-views-one' as const
|
|
export const customGlobalViews2GlobalSlug = 'custom-global-views-two' as const
|
|
export const globalSlug = 'global' as const
|
|
export const group1GlobalSlug = 'group-globals-one' as const
|
|
export const group2GlobalSlug = 'group-globals-two' as const
|
|
export const hiddenGlobalSlug = 'hidden-global' as const
|
|
export const noApiViewGlobalSlug = 'global-no-api-view'
|
|
export const globalSlugs = [
|
|
customGlobalViews1GlobalSlug,
|
|
customGlobalViews2GlobalSlug,
|
|
globalSlug,
|
|
group1GlobalSlug,
|
|
group2GlobalSlug,
|
|
hiddenGlobalSlug,
|
|
noApiViewGlobalSlug,
|
|
]
|