Project

General

Profile

action #89482

Updated by riafarov about 3 years ago

We have all agreed that stack trace is very helpful in case of failures during execution of tests, as show the flow of the failed call. 

 Another good idea is to log json output of the currently displayed widgets, so it's easy to spot if e.g. id of the control has changed. 

 assert_true calls already print stacktrace, so we can take a look how it's done in Test::Assert library (https://metacpan.org/pod/Test::Assert). 

 Logging should be improved for the installation tests and tests in the installed system. 

 ## Acceptance criteria 
 1. Full stack trace is logged in case of failures 
 2. Screenshot is added for any failure in yast related tests 
 3. Currently displayed widgets are dumped to log file (only in case REST API is enabled)

Back