chore: moves lexical tests into collection folder

This commit is contained in:
James
2024-04-08 11:30:15 -04:00
committed by Jarrod Flesch
parent 0ff1e6632b
commit ea507fbcc4
3 changed files with 11 additions and 11 deletions

View File

@@ -259,7 +259,7 @@ jobs:
- fields/collections/Blocks
- fields/collections/Array
- fields/collections/Relationship
# - fields/lexical
- fields/collections/Lexical
# - live-preview
# - localization
# - plugin-form-builder

View File

@@ -7,16 +7,16 @@ import { expect, test } from '@playwright/test'
import path from 'path'
import { fileURLToPath } from 'url'
import type { LexicalField } from './payload-types.js'
import type { LexicalField } from '../../payload-types.js'
import { initPageConsoleErrorCatch, saveDocAndAssert } from '../helpers.js'
import { AdminUrlUtil } from '../helpers/adminUrlUtil.js'
import { initPayloadE2E } from '../helpers/initPayloadE2E.js'
import { RESTClient } from '../helpers/rest.js'
import { POLL_TOPASS_TIMEOUT } from '../playwright.config.js'
import { lexicalDocData } from './collections/Lexical/data.js'
import { clearAndSeedEverything } from './seed.js'
import { lexicalFieldsSlug } from './slugs.js'
import { initPageConsoleErrorCatch, saveDocAndAssert } from '../../../helpers.js'
import { AdminUrlUtil } from '../../../helpers/adminUrlUtil.js'
import { initPayloadE2E } from '../../../helpers/initPayloadE2E.js'
import { RESTClient } from '../../../helpers/rest.js'
import { POLL_TOPASS_TIMEOUT } from '../../../playwright.config.js'
import { clearAndSeedEverything } from '../../seed.js'
import { lexicalFieldsSlug } from '../../slugs.js'
import { lexicalDocData } from './data.js'
const filename = fileURLToPath(import.meta.url)
const dirname = path.dirname(filename)

View File

@@ -53,7 +53,7 @@ if (!suiteName) {
} else {
// Run specific suite
clearWebpackCache()
const suitePath = path.resolve(dirname, suiteName, '.e2e.spec.ts')
const suitePath = path.resolve(dirname, suiteName, 'e2e.spec.ts')
executePlaywright(suitePath)
}