File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
app/code/Magento/PageBuilder/Test/Mftf/Helper Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 7
7
namespace Magento \PageBuilder \Test \Mftf \Helper ;
8
8
9
9
use Magento \FunctionalTestingFramework \Helper \Helper ;
10
- use Magento \Tests \NamingConvention \true \string ;
11
10
12
11
/**
13
12
* Class SelectText provides an ability to select needed text.
@@ -69,9 +68,9 @@ public function selectHeadingTextAndVariableTinyMCE(
69
68
$ text = $ webDriver ->webDriver ->findElement (\Facebook \WebDriver \WebDriverBy::xpath ($ secondContext ));
70
69
$ actions = new \Facebook \WebDriver \Interactions \WebDriverActions ($ webDriver ->webDriver );
71
70
$ actions ->moveToElement ($ heading , $ startX , $ startY )
72
- ->clickAndHold ()
71
+ ->clickAndHold ()
73
72
->moveToElement ($ text , $ endX , $ endY )
74
- ->release ()
73
+ ->release ()
75
74
->perform ();
76
75
} catch (\Exception $ e ) {
77
76
$ this ->fail ($ e ->getMessage ());
You can’t perform that action at this time.
0 commit comments