Feature: 0027 - List available products
Description: In order to use software channels
As root user
I want to list available products from command line
File name: srv_mgr_sync_list_products.feature
Relative path: secondary/srv_mgr_sync_list_products.feature
When
I execute mgr-sync "list products" with user "admin" and password "admin"
00:00:07.730
'[ ] openSUSE Leap 15.6 x86_64' not found in output 'Available Products: (R) - recommended extension Status: - [I] - product is installed - [ ] - product is not installed, but is available - [U] - product is unavailable [ ] RHEL and Liberty 8 Base [ ] RHEL and Liberty 9 Base [ ] RHEL7 Base x86_64 [ ] SUSE Linux Enterprise Desktop 15 SP4 x86_64 [ ] SUSE Linux Enterprise Micro 5.2 x86_64 [ ] SUSE Linux Enterprise Micro 5.3 x86_64 [ ] SUSE Linux Enterprise Server 15 SP4 x86_64 [ ] SUSE Linux Enterprise Server 15 SP5 x86_64 [ ] SUSE Linux Enterprise Server 15 SP6 x86_64 [I] SUSE Linux Enterprise Server 15 SP7 x86_64 [I] (R) Basesystem Module 15 SP7 x86_64 [ ] Containers Module 15 SP7 x86_64 [I] Desktop Applications Module 15 SP7 x86_64 [I] Development Tools Module 15 SP7 x86_64 [ ] Public Cloud Module 15 SP7 x86_64 [I] (R) Python 3 Module 15 SP7 x86_64 [I] (R) Server Applications Module 15 SP7 x86_64 [I] (R) Systems Management Module 15 SP7 x86_64 [ ] Web and Scripting Module 15 SP7 x86_64 [ ] SUSE Linux Enterprise Live Patching 15 SP7 x86_64 ' (ScriptError) ./features/step_definitions/command_steps.rb:206:in `/^I should get "([^"]*)"$/' features/secondary/srv_mgr_sync_list_products.feature:17:in `I should get "[ ] openSUSE Leap 15.6 x86_64"'
When
I execute mgr-sync "list products -e"
0s
Then
I should get "[ ] SUSE Linux Enterprise Desktop 15 SP3 x86_64"
0s
And
I should get " [ ] (R) Basesystem Module 15 SP3 x86_64"
0s
And
I should get " [ ] Desktop Applications Module 15 SP3 x86_64"
0s