Skip to content

Commit 8e967d4

Browse files
authored
Update MagentoWebDriver.php
1 parent 7cfb053 commit 8e967d4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,8 +910,9 @@ public function _failed(TestInterface $test, $fail)
910910
}
911911

912912
if ($this->current_test === null) {
913-
throw new \RuntimeException("Suite condition failure: \n"
914-
. " Something went wrong with selenium server/chrome driver ");
913+
throw new \RuntimeEcleaxception("Suite condition failure: \n"
914+
. " Something went wrong with selenium server/chrome driver : \n .
915+
{$fail->getMessage()}\n{$fail->getTraceAsString()}");
915916
}
916917
YandexAllure::lifecycle()
917918
->fire(new AddAttachmentEvent($this->pngReport, $test->getMetadata()->getName() . '.png', 'image/png'));

0 commit comments

Comments
 (0)