From 8f896226a7a51084e8710bbad6b497bf93fe8867 Mon Sep 17 00:00:00 2001 From: Susan Chen Date: Wed, 12 Jan 2022 10:14:55 -0800 Subject: [PATCH] LPS-145247 Fix tests due to modified logic for table toolbar --- .../uiinfrastructure/wysiwyg/BalloonEditor.testcase | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/frontendinfrastructure/uiinfrastructure/wysiwyg/BalloonEditor.testcase b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/frontendinfrastructure/uiinfrastructure/wysiwyg/BalloonEditor.testcase index a7b169df09fee5..e21c0e38ec18d9 100644 --- a/portal-web/test/functional/com/liferay/portalweb/tests/enduser/frontendinfrastructure/uiinfrastructure/wysiwyg/BalloonEditor.testcase +++ b/portal-web/test/functional/com/liferay/portalweb/tests/enduser/frontendinfrastructure/uiinfrastructure/wysiwyg/BalloonEditor.testcase @@ -217,7 +217,7 @@ definition { } task ("Remove the table") { - TripleClick(locator1 = "CKEditorBalloonEditorSample#TABLE_CELL"); + Click(locator1 = "CKEditorBalloonEditorSample#TABLE_CELL"); Click(locator1 = "CKEditor#REMOVE_TABLE_BUTTON"); @@ -246,7 +246,9 @@ definition { task ("Assert text edition toolbar appearance when highlighting a text inside the cell") { TripleClick(locator1 = "CKEditorBalloonEditorSample#TABLE_CELL"); - AssertVisible(locator1 = "CKEditor#TOOLBAR_ANY_ITEM_BUTTON"); + AssertElementPresent( + key_titleName = "", + locator1 = "CKEditor#TOOLBAR_ANY_ITEM_BUTTON"); } }