From a08ff37683ff90829b7acd0db0426e4bdc8a8f53 Mon Sep 17 00:00:00 2001 From: Stephan Robotta Date: Tue, 27 Feb 2024 20:29:23 +0100 Subject: [PATCH] Fix behat tests because of removed dir attribute --- tests/behat/tiny_multilang.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/behat/tiny_multilang.feature b/tests/behat/tiny_multilang.feature index 76b037d..75055e3 100644 --- a/tests/behat/tiny_multilang.feature +++ b/tests/behat/tiny_multilang.feature @@ -108,8 +108,8 @@ Feature: Tiny editor multilang plugin with multilangfilter2 And I select the inner "p" element in position "1" of the "Description" TinyMCE editor And I click on the "Format > Language > Arabic (ar)" submenu item for the "Description" TinyMCE editor And I press "Update profile" - And I should see "Đây là Tiếng Việt" in the "//span[@class='multilang'][contains(@lang, 'vi')][contains(@dir, 'ltr')]" "xpath_element" - And I should see "السلام عليكم" in the "//span[@class='multilang'][contains(@lang, 'ar')][contains(@dir, 'rtl')]" "xpath_element" + And I should see "Đây là Tiếng Việt" in the "//span[@class='multilang'][contains(@lang, 'vi')]" "xpath_element" + And I should see "السلام عليكم" in the "//span[@class='multilang'][contains(@lang, 'ar')]" "xpath_element" Scenario: Test add complex multi language types. Given the following config values are set as admin: