diff --git a/tests/test_search.py b/tests/test_search.py index b0889d7..ddcd1a3 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -237,8 +237,8 @@ def test_copies_slider_filters_results(self, mozwebqa): initial_library_count = searchpage_obj.library_count_label searchpage_obj.move_copies_slider(1) - Assert.true(initial_addon_count > searchpage_obj.addons_count_label) - Assert.true(initial_library_count > searchpage_obj.library_count_label) + Assert.greater(initial_addon_count, searchpage_obj.addons_count_label) + Assert.greater(initial_library_count, searchpage_obj.library_count_label) @pytest.mark.native @pytest.mark.nondestructive @@ -252,7 +252,7 @@ def test_used_packages_slider_filters_results(self, mozwebqa): initial_library_count = searchpage_obj.library_count_label searchpage_obj.move_used_packages_slider(10) - Assert.true(initial_library_count > searchpage_obj.library_count_label) + Assert.greater(initial_library_count, searchpage_obj.library_count_label) @pytest.mark.native @pytest.mark.nondestructive @@ -266,8 +266,8 @@ def test_activity_slider_filters_results(self, mozwebqa): initial_library_count = searchpage_obj.library_count_label searchpage_obj.move_activity_slider(1) - Assert.true(initial_addon_count > searchpage_obj.addons_count_label) - Assert.true(initial_library_count > searchpage_obj.library_count_label) + Assert.greater(initial_addon_count, searchpage_obj.addons_count_label) + Assert.greater(initial_library_count, searchpage_obj.library_count_label) @pytest.mark.nondestructive @pytest.mark.xfail(reason="Bug 738469 - Default sort order says 'Activity', but doesn't actually match 'Activity' search-sort order/results")