Project

General

Profile

action #134690

Updated by syrianidou_sofia over 1 year ago

After unifying the agama playwright tests, we cannot use hardcoded log name paths in order to upload trace.zip logs. We can add a command that will find and move the trace.zip file to a specifically named folder, se that we can upload it using the same command for all tests.  

 Previously we used:  
  upload_logs('./test-results/lvm-The-main-page-Use-logical-volume-management-LVM-as-storage-device-for-installation-chromium/trace.zip'); 

 Now we would like to rename first and then use generic file path: 
 assert_script_run('find ./test-results -name 'trace.zip' -exec mv -t /tmp/ {} +'); 
 upload_logs('./tmp/trace.zip'); 

 Additionally, investigate the possibility of playwright creating more than one log file and make sure that all files will be uploaded. 

Back