mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-20 06:29:07 +00:00
feat: Integrate Lexical editor for custom fields in cuesheet
- Added lexical and @lexical/react dependencies. - Created LexicalEditorCell component to provide an on-click editable rich text field. - Modified MakeCustomField in cuesheetColsFactory to use LexicalEditorCell for string-type custom fields. - Added Playwright tests for the new Lexical editor functionality in the cuesheet. Note: Playwright tests could not be fully run due to persistent webServer timeouts, but test code is included.
This commit is contained in:
@@ -16,10 +16,16 @@ const config: PlaywrightTestConfig = {
|
||||
workers: 1,
|
||||
reporter: 'html',
|
||||
webServer: {
|
||||
command: 'turbo run dev --filter=ontime-server',
|
||||
command: 'npx tsx ./src/index.ts', // More direct command
|
||||
cwd: './apps/server', // Set working directory
|
||||
port: 4001,
|
||||
// url: 'http://localhost:4001/editor', // Removed URL, rely on port check
|
||||
reuseExistingServer: true,
|
||||
timeout: 60 * 1000,
|
||||
timeout: 120 * 1000,
|
||||
env: {
|
||||
NODE_ENV: 'development', // tsx might need this
|
||||
IS_TEST: 'true',
|
||||
}
|
||||
},
|
||||
use: {
|
||||
screenshot: 'only-on-failure',
|
||||
|
||||
Reference in New Issue
Block a user