File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
src/Magento/FunctionalTestingFramework/Extension Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ modules:
2828 url : " %MAGENTO_BASE_URL%"
2929 backend_name : " %MAGENTO_BACKEND_NAME%"
3030 browser : ' chrome'
31- restart : true
3231 window_size : 1280x1024
3332 username : " %MAGENTO_ADMIN_USERNAME%"
3433 password : " %MAGENTO_ADMIN_PASSWORD%"
Original file line number Diff line number Diff line change @@ -187,11 +187,7 @@ function () use ($metrics) {
187187 private function checkForNewPage ($ step )
188188 {
189189 try {
190- if (!empty ($ this ->getDriver ())) {
191- $ currentUri = $ this ->getDriver ()->_getCurrentUri ();
192- } else {
193- throw new \Exception ();
194- }
190+ $ currentUri = $ this ->getDriver ()->_getCurrentUri ();
195191
196192 if ($ this ->uri !== $ currentUri ) {
197193 $ this ->logDebug (
Original file line number Diff line number Diff line change @@ -122,8 +122,6 @@ public function afterStep(\Codeception\Event\StepEvent $e)
122122 // @codingStandardsIgnoreStart
123123 $ webDriver = $ this ->getModule ("\Magento\FunctionalTestingFramework\Module\MagentoWebDriver " )->webDriver ;
124124 // @codingStandardsIgnoreEnd
125- if (!empty ($ webDriver )) {
126- ErrorLogger::getInstance ()->logErrors ($ webDriver , $ e );
127- }
125+ ErrorLogger::getInstance ()->logErrors ($ webDriver , $ e );
128126 }
129127}
You can’t perform that action at this time.
0 commit comments