Skip to content

Commit c1b2b7b

Browse files
authored
MQE-1994: Refactor MFTF tests/actionGroups that need custom actions
1 parent 827a027 commit c1b2b7b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/PageBuilder/Test/Mftf/Helper/SelectText.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
namespace Magento\PageBuilder\Test\Mftf\Helper;
88

99
use Magento\FunctionalTestingFramework\Helper\Helper;
10-
use Magento\Tests\NamingConvention\true\string;
1110

1211
/**
1312
* Class SelectText provides an ability to select needed text.
@@ -69,9 +68,9 @@ public function selectHeadingTextAndVariableTinyMCE(
6968
$text = $webDriver->webDriver->findElement(\Facebook\WebDriver\WebDriverBy::xpath($secondContext));
7069
$actions = new \Facebook\WebDriver\Interactions\WebDriverActions($webDriver->webDriver);
7170
$actions->moveToElement($heading, $startX, $startY)
72-
->clickAndHold()
71+
->clickAndHold()
7372
->moveToElement($text, $endX, $endY)
74-
->release()
73+
->release()
7574
->perform();
7675
} catch (\Exception $e) {
7776
$this->fail($e->getMessage());

0 commit comments

Comments
 (0)