File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
dev/tests/functional/tests/app/Magento/Catalog/Test/Block/Product/Compare Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -198,7 +198,10 @@ public function removeProduct($index = 1)
198
198
$ this ->_rootElement ->find (sprintf ($ this ->removeButton , $ index ), Locator::SELECTOR_XPATH )->click ();
199
199
$ modalElement = $ this ->browser ->find ($ this ->confirmModal );
200
200
/** @var \Magento\Ui\Test\Block\Adminhtml\Modal $modal */
201
- $ modal = $ this ->blockFactory ->create (\Magento \Ui \Test \Block \Adminhtml \Modal::class, ['element ' => $ modalElement ]);
201
+ $ modal = $ this ->blockFactory ->create (
202
+ \Magento \Ui \Test \Block \Adminhtml \Modal::class,
203
+ ['element ' => $ modalElement ]
204
+ );
202
205
$ modal ->acceptAlert ();
203
206
}
204
207
Original file line number Diff line number Diff line change @@ -88,7 +88,10 @@ function () use ($rootElement, $selector) {
88
88
$ this ->_rootElement ->find ($ this ->clearAll )->click ();
89
89
$ modalElement = $ this ->browser ->find ($ this ->confirmModal );
90
90
/** @var \Magento\Ui\Test\Block\Adminhtml\Modal $modal */
91
- $ modal = $ this ->blockFactory ->create (\Magento \Ui \Test \Block \Adminhtml \Modal::class, ['element ' => $ modalElement ]);
91
+ $ modal = $ this ->blockFactory ->create (
92
+ \Magento \Ui \Test \Block \Adminhtml \Modal::class,
93
+ ['element ' => $ modalElement ]
94
+ );
92
95
$ modal ->acceptAlert ();
93
96
}
94
97
}
You can’t perform that action at this time.
0 commit comments