From 6e7ec515efa826516a76a28bee9b9eb68b9512ac Mon Sep 17 00:00:00 2001 From: Volker Killesreiter Date: Mon, 22 Apr 2024 09:50:27 +0200 Subject: [PATCH] Remove debug, reload editor ids --- .../FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php b/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php index 8bc8c46..1c7a763 100644 --- a/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php +++ b/tests/src/FunctionalJavascript/ParagraphsFeaturesSplitTextTest.php @@ -110,8 +110,6 @@ protected function setEditorSelection($ck_editor_id, $needle): void { const newRange = writer.createRange( newPosition ); writer.setSelection( newRange ); editor.focus() - setTimeout(() => console.log("First"), 20000) - }); })('{$ck_editor_id}', '{$needle}') JS; @@ -550,6 +548,8 @@ public function testSplitTwice() { $this->setEditorSelection($ck_editor_id_1, 'third'); $this->clickParagraphSplitButton($ck_editor_id_1); + $ck_editor_id_0 = $this->getCkEditorId(0); + $ck_editor_id_1 = $this->getCkEditorId(1); $ck_editor_id_2 = $this->getCkEditorId(2); static::assertEquals( $paragraph_content_0,