Project

General

Profile

action #89866

Updated by JRivrain about 3 years ago

Once parent ticket is done and I tried to introduce a way to assert clients (modules) using libyui's debug_label in firstboot, but this is supported, not supported at the moment.  

 The idea is to make use of the only element I could find wchich is common to all pages/modules, so we don't need to do a different "is_shown" method for each page. 
 Example: 

 { 
 "class" : "YWizard", 
 "debug_label" : "Welcome", 
 "hstretch" : true, 
 "id" : "wizard", 
 "vstretch" : true 
 } 
 
 For now when we send a query like "curl http://server:someport/v1/widgets?debug_label=somedebuglabel" is doing exactly the same as just "curl http://server:someport/v1/widgets" without arguments, it returns a json with all widgets. 
 if we could get rid of assert_screen "Welcome" returned, so we would have a unique way to assert that we are on the right client/page and maybe send it back to record_info, for example. 

 **Acceptance Criteria:** once parent ticket is done 
 - Find a way to assert clients with the following clients: 

     welcome 
     timezone 
     hostname 
     registration 

 debug labels

Back