Project

General

Profile

Actions

action #134690

closed

coordination #121855: [epic] Agama web interactive installation

Enable logs upload for agama playwright tests

Added by syrianidou_sofia over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-08-28
Due date:
% Done:

100%

Estimated time:

Description

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.


Related issues 1 (0 open1 closed)

Related to qe-yam - action #132989: Unify interactive installations in tests/yam/agama and its respective schedulesResolvedtinawang1232023-08-28

Actions
Actions

Also available in: Atom PDF