Project

General

Profile

Actions

action #117034

closed

[desktop] usr_sbin_smbd: nautilus UI changes makes test fail

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Bugs in existing tests
Target version:
-
Start date:
2022-09-22
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Observation

GNOME has been updated to version 43, which has a bunch of UI changes affecting nautilus.
The test needs to be reworked to match the new workflows

openQA test in scenario opensuse-Tumbleweed-DVD-x86_64-apparmor_profile@64bit fails in
usr_sbin_smbd

Test suite description

Maintainer: llzhao@suse.de.
Test AppArmor profiles with an existing disk image.

Reproducible

Fails since (at least) Build 20220921

Expected result

Last good: 20220920 (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by maritawerner over 1 year ago

  • Subject changed from usr_sbin_smbd: nautilus UI changes makes test fail to [desktop] usr_sbin_smbd: nautilus UI changes makes test fail
Actions #2

Updated by openqa_review over 1 year ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: apparmor_profile
https://openqa.opensuse.org/tests/2780032#step/usr_sbin_smbd/1

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 28 days if nothing changes in this ticket.

Actions #3

Updated by openqa_review over 1 year ago

This is an autogenerated message for openQA integration by the openqa_review script:

This bug is still referenced in a failing openQA test: apparmor_profile
https://openqa.opensuse.org/tests/2852960#step/usr_sbin_smbd/1

To prevent further reminder comments one of the following options should be followed:

  1. The test scenario is fixed by applying the bug fix to the tested product or the test is adjusted
  2. The openQA job group is moved to "Released" or "EOL" (End-of-Life)
  3. The bugref in the openQA scenario is removed or replaced, e.g. label:wontfix:boo1234

Expect the next reminder at the earliest in 56 days if nothing changes in this ticket.

Actions #4

Updated by dimstar over 1 year ago

Identified an invalid needle -> removed
https://github.com/os-autoinst/os-autoinst-needles-opensuse/commit/4c885d28e1420e6bef0165f0078ad79207cdfb54

Re-created the needle based on the correct screenshot
https://github.com/os-autoinst/os-autoinst-needles-opensuse/commit/7147a4c369eadf5e3b9aeeab2b3bd77821cc2d23

This allows the test to progress a bit further, but this test code can't be matched with needles:

 # Do some operations, e.g., create a test folder then delete it
 assert_and_click("nautilus-open-menu");
 assert_and_click("nautilus-new-folder");
 assert_screen("nautilus-folder-name-input-box");
 type_string("sub-testdir", wait_screen_change => 10);

i.e. clicking the hamburger menu works (nautilus-open-menu) - but there is no 'create new folder' action in there.
Probably better to 'right click' the 'Folder is Empty' (which we detected just before), then pick 'Create new Folder in that menu

Actions #5

Updated by dimstar over 1 year ago

The needed code changes on distri-opensuse would be
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15992

With this, the test can now pass properly

Actions #6

Updated by dimstar over 1 year ago

  • Status changed from New to Resolved

dimstar wrote:

The needed code changes on distri-opensuse would be
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15992

With this, the test can now pass properly

PR has been merged; test has been passing reliably:
https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=apparmor_profile&version=Tumbleweed#next_previous

Actions

Also available in: Atom PDF