action #170434
closedcoordination #169654: [epic] Create test scenarios for Agama
Control unattended installation also with puppeteer for remote workers
0%
Description
Motivation¶
For remote workers in Agama where there is not VNC* Linuxrc parameter we cannot see the screen, remote workers in openQA using powerVM and specially in s390x we need a realiable way to know when the installation has finished, interact with any error popup that appears and have some visual aid.
We can use puppeteer as well for this.
See feature:
https://jira.suse.com/browse/PED-10808
Acceptance criteria¶
- ** AC1**: New test is created that can handle congratulation page with puppeteer.
- ** AC2**: Additional tests are schedule, for example to patch agama to bring this test to the live iso.
- ** AC3**: Apply to all our unattended installation with Agama that need it.
Additional information¶
It was tried out successfully the following:
- Edit test_default_installation.ts
describe("Agama test", function () { test_init(options); login(options.password); if (options.install) performInstallation(); });
- Edit perform_installation.ts
export function performInstallation() { it("should finish installation", async function () { await page .locator("h2::-p-text('Congratulations!')") .setTimeout(40 * 60 * 1000) .wait(); }, 40 * 60 * 1000); }
- Patch live iso with changes
- Start unnattended installation.
- Execute puppeteer automation
Result, login and interaction with page is possible from the browser that puppeteer handles.
Updated by JERiveraMoya 16 days ago
- Tags changed from qe-yam-nov-sprint to qe-yam-dec-sprint-fy25
Updated by JERiveraMoya 13 days ago
- Related to action #167093: Detect end of agama auto-installation in s390x using for example logs added
Updated by leli 9 days ago ยท Edited
Reported agama doesn't recognize shorten url issue in proj_agama, https://suse.slack.com/archives/C02TLF25571/p1733814442210659
Updated by leli 9 days ago
Close the old PR and submitted a new PR https://github.com/jknphy/agama-integration-test-webpack/pull/46
Updated by leli 8 days ago
Filed a bug for agama doesn't recognize shorten url issue on s390x z/VM, https://bugzilla.suse.com/show_bug.cgi?id=1234362. This bug block the unattended test on s390x z/VM.
Updated by JERiveraMoya 8 days ago
I think the only missing part is to add a new yaml schedule for a s390x unattended installation.
Updated by leli 7 days ago
Updated sles_default_unattended test in sles devel group (repplaced yaml file and update setting related).
https://openqa.suse.de/tests/16183042#step/reconnect_mgmt_console/9 kvm test failed for https://bugzilla.suse.com/show_bug.cgi?id=1234264
https://openqa.suse.de/tests/16183024#step/agama/5 zvm test blocked by https://bugzilla.suse.com/show_bug.cgi?id=1234362
Updated by leli 7 days ago
Also updated https://openqa.suse.de/group_overview/612 for the sles_auto_default on zvm and zkvm, but haven't triggered them for the build is too old.