File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
dev/tests/functional/tests/app/Magento/Ui/Test/Block/Adminhtml Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -329,11 +329,9 @@ public function selectMassAction($massActionSelection)
329
329
$ massActionList = '( ' . $ this ->massActionToggleList . ")[ $ i] " ;
330
330
if ($ this ->_rootElement ->find ($ massActionButton , Locator::SELECTOR_XPATH )->isVisible ()) {
331
331
$ this ->_rootElement ->find ($ massActionButton , Locator::SELECTOR_XPATH )->click ();
332
- $ element = $ this ->_rootElement
333
- ->find (sprintf ($ massActionList , $ massActionSelection ), Locator::SELECTOR_XPATH );
334
- if ($ element ->isVisible ()) {
335
- $ element ->click ();
336
- }
332
+ $ this ->_rootElement
333
+ ->find (sprintf ($ massActionList , $ massActionSelection ), Locator::SELECTOR_XPATH )
334
+ ->click ();
337
335
break ;
338
336
}
339
337
}
You can’t perform that action at this time.
0 commit comments