Project

General

Profile

Actions

action #134228

closed

coordination #121855: [epic] Agama web interactive installation

Create a Dolomite default installation and modify Tumbleweed default installation without using CI tests

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

Status:
Resolved
Priority:
Urgent
Target version:
Start date:
2023-08-15
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Currently, we are using the upstream take_screenshots.spec.ts for the agama Tumbleweed default installation. We should create our own default installation test that will utilize all the POMs created so far and the user/password aligned with Yam::agama::agama_base.

Latest run for existing test:
https://openqa.opensuse.org/tests/latest?arch=aarch64&distri=alp&flavor=agama-live-openSUSE-Playwright&machine=aarch64&test=agama_tumbleweed&version=agama-3.0-staging

Besides create new test and necessary POMs we should take care of not repeating the configuration of default user and root in each test.

Acceptance criteria

AC1: Create agama_dolomite and modify agama_tumbleweed to be our default installations with Playwright not using CI tests (ie: take_screenshots.spec.ts)
AC2: Do not import expect on top as the validation should be done at the Page level.
AC3: Extract the configuration of user name and password and root password to not repeat it in each test.
AC4: Extract the part of the installation as well in order to not repeat it in each test.

Suggestions

  • we can use main-page (all our tests would use - instead of _. To distinguish better we can wait and sync our test with upstream project and communicate with developers, so we can just use that simple rule.
  • Extraction in AC3 and AC4 could be just some calls to methods in new Page Object Models (ie that while loop should be insider some page method) that represent the installation process, other option would be to use shared libraries like the example under lib/ but better not using shared libraries, as we know how this could go really wrong...
Actions #1

Updated by syrianidou_sofia over 1 year ago

  • Description updated (diff)
Actions #2

Updated by JERiveraMoya over 1 year ago

  • Subject changed from Create an agama Tumbleweed default installation test with Playwright to Create an Dolomite default installation and modify Tumbleweed default installation without using CI tests
  • Description updated (diff)
  • Parent task set to #121855
Actions #3

Updated by syrianidou_sofia over 1 year ago

  • Subject changed from Create an Dolomite default installation and modify Tumbleweed default installation without using CI tests to Create a Dolomite default installation and modify Tumbleweed default installation without using CI tests
Actions #4

Updated by leli over 1 year ago

  • Related to action #132884: Create POM for product selection in Agama added
Actions #5

Updated by JERiveraMoya over 1 year ago

  • Description updated (diff)
Actions #6

Updated by JERiveraMoya over 1 year ago

  • Priority changed from High to Urgent
Actions #7

Updated by JERiveraMoya over 1 year ago

let's increase to urgent to give some sense of priority among other high prio tickets for Agama, but nothing else, for organization, no PjM request or something like that :)

Actions #8

Updated by syrianidou_sofia over 1 year ago

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

Updated by JERiveraMoya over 1 year ago

  • Related to deleted (action #132884: Create POM for product selection in Agama)
Actions #10

Updated by JERiveraMoya over 1 year ago

we might get use of results in #132890, but it is not strictly necessary, so AC4 might be skipped.

Actions #11

Updated by JERiveraMoya over 1 year ago

to remove this problem with - or _` in test what we could do is to move those three ci test to folder ci/ and move all our test to folder e2e/, that would help,
because having main_page.spec.ts and main-page.spec.ts might not be a good idea, still someone can get confused. I have seen this folder name e2e/ in other project or youtube learning with playwright just for the record :)

Actions

Also available in: Atom PDF