File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Magento/FunctionalTestingFramework/Module Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -912,8 +912,10 @@ public function _failed(TestInterface $test, $fail)
912
912
if ($ this ->current_test === null ) {
913
913
throw new \RuntimeException ("Suite condition failure: \n" . $ fail ->getMessage ());
914
914
}
915
- YandexAllure::lifecycle ()->fire (new AddAttachmentEvent ($ this ->pngReport , $ test ->getMetadata ()->getName () . '.png ' , 'image/png ' ));
916
- YandexAllure::lifecycle ()->fire (new AddAttachmentEvent ($ this ->htmlReport , $ test ->getMetadata ()->getName () . '.html ' , 'text/html ' ));
915
+ YandexAllure::lifecycle ()
916
+ ->fire (new AddAttachmentEvent ($ this ->pngReport , $ test ->getMetadata ()->getName () . '.png ' , 'image/png ' ));
917
+ YandexAllure::lifecycle ()
918
+ ->fire (new AddAttachmentEvent ($ this ->htmlReport , $ test ->getMetadata ()->getName () . '.html ' , 'text/html ' ));
917
919
$ this ->debug ("Failure due to : {$ fail ->getMessage ()}" );
918
920
$ this ->debug ("Screenshot saved to {$ this ->pngReport }" );
919
921
$ this ->debug ("Html saved to {$ this ->htmlReport }" );
You can’t perform that action at this time.
0 commit comments