action #27853
closed
[sle][functional][u][easy] extend SUSEConnect test with minimal UI checks
Added by okurz over 6 years ago.
Updated almost 4 years ago.
Target version:
SUSE QA - Milestone 30
Description
Observation¶
openQA test in scenario sle-15-Installer-DVD-x86_64-minimal+proxy_SCC-postreg_SUSEconnect@64bit in
suseconnect_scc shows that the test passes but the output is … suboptimal, e.g. "--list-extensions" does not list the "server applications" module even though it's there as it can be activated later on.
Acceptance criteria¶
- AC1: There is a needle check asserting on correct rendering of the console UI of SUSEConnect
- AC2: There is a soft-fail needle with a bugref for the missing server applications module -> https://bugzilla.suse.com/show_bug.cgi?id=1064264 , being VERIFIED FIXED
Tasks¶
- Search for an existing UI test case. If the output layout of
SUSEConnect --list-extensions
is already tested, this ticket can be resolved. If not, the graphical output of the command needs to be tested in suseconnect_scc
- Add a
assert_screen
call after the "--list-extensions" call (0.1-1h)
- Add a needle with soft-fail reference to the bug that nsinger create(s/d) (0.1-0.5h)
Further details¶
I think a needle check with assert_screen
is correct here because even though it's about a console application we want to check the very least of "UI" here as the customer is supposed to use the same. correct rendering is up to the ticket assignee to decide what makes sense.
Always latest result in this scenario: latest
- Status changed from In Progress to Workable
- Category changed from Bugs in existing tests to New test
- Target version changed from Milestone 13 to Milestone 16
that's actually a "new test". Maybe something we will be able to do in M16
- Subject changed from [sle][functional][easy]extend SUSEConnect test with minimal UI checks to [sle][functional][u][easy] extend SUSEConnect test with minimal UI checks
- Target version changed from Milestone 16 to Milestone 19
M16 is too ambitious it seems
- Target version changed from Milestone 19 to Milestone 19
- Target version changed from Milestone 19 to future
@okurz:
Regarding AC1: Can you rephrase this - my grammar parser fails here
Regarding AC2: Do we have a bsc here?
- Description updated (diff)
dheidler wrote:
Regarding AC1: Can you rephrase this - my grammar parser fails here
yes, I tried to.
Regarding AC2: Do we have a bsc here?
I crossed of this point as the bug is VERIFIED FIXED since then so I think this is not needed anymore.
- Status changed from Workable to Blocked
- Assignee set to okurz
Seems some development is ongoing by hurhaj already in the related ticket, let's wait for that.
SUSEConnect doesn't work on transactional-server role, and the suggestions output may reference to "transactional-server register".
See #42929
Not sure if we want to cover this, and if we want to cover it on this ticket.
- Status changed from Blocked to Workable
- Assignee deleted (
okurz)
- Target version changed from future to Milestone 24
#43136 is finished, should be easy for us to schedule the test module within product validation tests.
Suggestion: First schedule a simple scenario for both SLE12 and SLE15 with REGRESSION=suseconnect
, later think about extending for what might be still missing (see description).
- Status changed from Workable to New
- Priority changed from Normal to Low
- Target version changed from Milestone 24 to future
let's focus more on improving our current tests and workflows first. Putting to "holding tank" :)
- Assignee set to mgriessmeier
Matthias to check what's needed here
- Assignee changed from mgriessmeier to SLindoMansilla
- Assignee changed from SLindoMansilla to mgriessmeier
A side note, we can simply use the serial console instead, and use the json output (-s
option) of SUSEConnect in combination with script_output, so that perl does all the heavylifting here instead.
- Assignee changed from mgriessmeier to SLindoMansilla
- Description updated (diff)
- Status changed from New to Workable
- Assignee deleted (
SLindoMansilla)
- Priority changed from Low to Normal
- Target version changed from future to Milestone 30
- Estimated time set to 42.00 h
- Related to action #66826: [SLE][Migration][SLE15SP2][enhance] Check SUSEConnect --list-extensions, SUSEConnect --status-text,zypper lr include all module information added
- Status changed from Workable to In Progress
- Assignee set to zluo
okay, checking and add assert_screen call after the "--list-extensions"
- Status changed from In Progress to Resolved
- Status changed from Resolved to In Progress
needle match only Server Applications Module 15 SP2
and Web and Scripting Module 15 SP2
without matching neither architecture, nor the instructions to activate/deactivate
Just make sure to match also the spaces before the module names to check for indentation:
SUSEConnect -l | grep "$(echo -en ' \e\[1mLegacy Module')"
- Status changed from In Progress to Resolved
Also available in: Atom
PDF