You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(richtext-lexical): editor throws an error if OrderedList is registered but not UnorderedList or CheckList (#14149)
The problem was that the nodes weren't being added.
The logic to avoid adding the same node or plugin multiple times was
repeated in several places. It was also difficult to understand and easy
to make mistakes.
I extracted the logic into a new `shouldRegisterList` utility and
corrected the behavior where necessary.
Fixes#14148
// Unlike the other suites, this one runs in parallel, as they run on the `lexical-fully-featured/create` URL and are "pure" tests
25
+
// PLEASE do not reset the database or perform any operations that modify it in this file.
26
+
test.describe.configure({mode: 'parallel'})
27
+
28
+
describe('Lexical Lists Features',()=>{
29
+
letlexical: LexicalHelpers
30
+
beforeAll(async({ browser },testInfo)=>{
31
+
testInfo.setTimeout(TEST_TIMEOUT_LONG)
32
+
process.env.SEED_IN_CONFIG_ONINIT='false'// Makes it so the payload config onInit seed is not run. Otherwise, the seed would be run unnecessarily twice for the initial test run - once for beforeEach and once for onInit
0 commit comments