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

Commit

Permalink
used 'item_amount' for getting security groups count
Browse files Browse the repository at this point in the history
  • Loading branch information
mayurilahane committed Jan 30, 2020
1 parent 1a5067d commit 9abea7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cfme/tests/cloud_infra_common/test_relationships.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def test_change_network_security_groups_per_page_items(setup_provider, appliance
"""
view = navigate_to(provider, "NetworkSecurityGroup")
view.toolbar.view_selector.select('List View')
total_count = len(view.entities.get_all(surf_pages=True))
total_count = view.paginator.items_amount
for item_count in [5, 10, 20, 50, 100, 200, 500, 1000]:
if item_count <= total_count:
view.paginator.set_items_per_page(item_count)
Expand Down

0 comments on commit 9abea7d

Please sign in to comment.