Project

General

Profile

Actions

action #170434

closed

coordination #169654: [epic] Create test scenarios for Agama

Control unattended installation also with puppeteer for remote workers

Added by JERiveraMoya 21 days ago. Updated 7 days ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
-
Start date:
2024-11-28
Due date:
% Done:

0%

Estimated time:

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:

  1. Edit test_default_installation.ts describe("Agama test", function () { test_init(options); login(options.password); if (options.install) performInstallation(); });
  2. 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); }
  3. Patch live iso with changes
  4. Start unnattended installation.
  5. Execute puppeteer automation

Result, login and interaction with page is possible from the browser that puppeteer handles.


Related issues 1 (1 open0 closed)

Related to qe-yam - action #167093: Detect end of agama auto-installation in s390x using for example logsNew2024-09-20

Actions
Actions

Also available in: Atom PDF