Skip to content

Commit 271b9d5

Browse files
authored
Merge pull request #251 from magento-gl/ACQE-4310
ACQE-2302: Unable to connect to selenium server message display
2 parents c8ddd1b + 75d2e56 commit 271b9d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

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

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

0 commit comments

Comments
 (0)