Project

General

Profile

Actions

action #137537

closed

test fails sporadically in agama - waiting for getByRole('button', { name: /\/dev\/.d.\,\ [0-9]*\ .iB/ })

Added by JRivrain 7 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Start date:
2023-10-06
Due date:
% Done:

0%

Estimated time:

Description

Observation

LOG
expect.toBeVisible with timeout 5000ms
waiting for getByRole('button', { name: /\/dev\/.d.\,\ [0-9]*\ .iB/ })

We are expecting alink with the a text similar to "/dev/vda 20 GiB" but we get just "/dev/vda".

  • Increasing the timeout does not help
  • Asserting just "/dev/vda" causes issue at next step, "storage not found". We assume it's because we are clicking "storage" too fast in the main page. Unless devs fix this, we need a workaround.

Suggestion:

  • Also asserting the size in the main/parent page may work. If not, we may need to detect the wrong pattern (/dev/vda), then refresh the page if it appears. The first solution is preferable, unless we find a better idea.

openQA test in scenario alp-agama-3.0-staging-agama-live-openSUSE-Playwright-x86_64-agama_tumbleweed_select_install_device@64bit-2G fails in
agama

Test suite description

The base test suite is used for job templates defined in YAML documents. It has no settings of its own.

Reproducible

Fails since (at least) Build 1.34

Expected result

Last good: 1.32 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by JRivrain 7 months ago

  • Subject changed from test fails in agama - waiting for getByRole('button', { name: /\/dev\/.d.\,\ [0-9]*\ .iB/ }) to test fails sporadically in agama - waiting for getByRole('button', { name: /\/dev\/.d.\,\ [0-9]*\ .iB/ })
Actions #2

Updated by rainerkoenig 7 months ago

  • Status changed from New to Workable
  • Target version set to Current
Actions #3

Updated by leli 7 months ago

  • Assignee set to leli
Actions #4

Updated by leli 7 months ago

  • Status changed from Workable to In Progress
Actions #6

Updated by leli 7 months ago

  • Status changed from In Progress to Resolved

PR merged.

Actions

Also available in: Atom PDF