Project

General

Profile

Actions

action #124550

closed

coordination #121855: [epic] Agama web interactive installation

PoC running Playwright tests directly from the Live ISO in openQA

Added by JERiveraMoya over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Assignee:
Target version:
Start date:
2023-02-15
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Yam squad needs to kick off web testing now that we have this way to run a testing framework using the installer itself.
See documentation created by YaST team:
https://github.com/openSUSE/agama/tree/master/playwright#running-tests-directly-from-the-live-iso
We just need to click on Install for this PoC with RUN_INSTALLATION=1 and probably we don't need to create any Playwright test but to use the existing one packaged take_screenshots.

Scope

x86_64 and aarch64

Acceptance criteria

AC1: Create PoC in Agama Development group in O3 which handle interactive installation using Playwright
AC2: Installation actions should be as minimal as possible

Additional information

https://playwright.dev/docs/intro
As follow-up we need to investigate further about where to store the test and sync with YaST squad, most likely will be an additional repo to use, for for this ticket is out of scope, we need the minimum there to install and see that all ok using this mechanism.
Notice that you will need to move to fixed folder in O3 the correct iso for Playwright:
https://build.opensuse.org/package/binaries/YaST:Head:Agama/agama-live:default-Playwright/images
For doing that you will need permissions (you can ask Yam squad for it): https://progress.opensuse.org/projects/openqav3/wiki/#Accessing-the-o3-infrastructure

Actions #1

Updated by JERiveraMoya over 1 year ago

  • Tracker changed from coordination to action
Actions #2

Updated by JERiveraMoya over 1 year ago

  • Tags set to qe-yam-refinement
  • Target version deleted (Current)
Actions #3

Updated by JERiveraMoya over 1 year ago

  • Target version set to Current
Actions #4

Updated by JERiveraMoya over 1 year ago

  • Target version deleted (Current)
Actions #5

Updated by JERiveraMoya over 1 year ago

  • Tags deleted (qe-yam-refinement)
  • Status changed from Workable to New
  • Priority changed from Normal to Low

We need to revisit this and sync with the current state.

Actions #6

Updated by JERiveraMoya over 1 year ago

  • Subject changed from Add some additional small test with Playwright to get familiar to PoC running Playwright tests directly from the Live ISO in openQA
  • Description updated (diff)
  • Status changed from New to Workable
  • Priority changed from Low to High
  • Target version set to Current
Actions #7

Updated by JERiveraMoya over 1 year ago

  • Description updated (diff)
Actions #8

Updated by leli over 1 year ago

  • Status changed from Workable to In Progress
  • Assignee set to leli
Actions #9

Updated by leli over 1 year ago

https://openqa.opensuse.org/tests/overview?distri=alp&version=1.0.0&build=4.35&groupid=96

The '--headed' is not supported and it suggest to use 'headless' for playright, (SCREENSHOT_MODE=1 RUN_INSTALLATION=1 BASE_URL=https://localhost:9090 npx playwright test --trace on --headed --project chromium take_screenshots), so removed the '--headed' then test passed.

Actions #11

Updated by leli over 1 year ago

  • Status changed from In Progress to Resolved

PR merged.

Actions

Also available in: Atom PDF