Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[Bug] test_total_services verifies wrong thing #7703

Open
jan-zmeskal opened this issue Aug 23, 2018 · 3 comments
Open

[Bug] test_total_services verifies wrong thing #7703

jan-zmeskal opened this issue Aug 23, 2018 · 3 comments

Comments

@jan-zmeskal
Copy link
Contributor

I believe this test case tries to verify wrong thing.

It compares that the number of total services in SSUI is the same as number of results. However, it seems that Total Services counts catalog items while Results count number of rows. That might be a problem as illustrated by the attached screenshot. You can see that there are 6 catalog items, while only 5 rows - that's because bundle contains two catalog items.

srvcs

@sshveta
Copy link
Contributor

sshveta commented Aug 23, 2018

HI Jan ,
Yes If we have bundles in catalog item the test will fail.
However on a new appliance without any services on jenkins the test wil create few services and then this test will pass .

I checked on UI and could not come up with a better way to verify the total services displayed on dashboard is same as the number of services displayed in Myservices page .
So ideas are welcome .

May be we can also check if the number displayed with 'Myservice' on left menu is same as total services.

@jan-zmeskal
Copy link
Contributor Author

@sshveta If the outcome of this test case is dependent on the fact that there are no bundeled services, maybe we can just implement a fixture that takes care of that. That seems like the most straightforward solution to me.

@niyazRedhat
Copy link
Contributor

@jan-zmeskal @sshveta last week I investigated the issue. The tests is failing because of paginator which is not working. in test_ssui_dashboard.py there are few tests failing sue to paginator. Normal ui Paginator different from ssui paginator. Nikhil is working on it. also I have looked on workaround for these test.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants