From 42895321b1bf8b8bdb9cd0a84227edada23c782e Mon Sep 17 00:00:00 2001 From: aschek <139126091+alexandruschek@users.noreply.github.com> Date: Tue, 26 Sep 2023 11:55:36 +0300 Subject: [PATCH] removed waits (#857) --- frontend-dev-parallel-test-results.html | 967 ++++++++++++++++++++++++ pages/desktop/about_addons.py | 3 - pages/desktop/frontend/home.py | 3 - pages/desktop/frontend/search.py | 1 - 4 files changed, 967 insertions(+), 7 deletions(-) create mode 100644 frontend-dev-parallel-test-results.html diff --git a/frontend-dev-parallel-test-results.html b/frontend-dev-parallel-test-results.html new file mode 100644 index 0000000..e3a3a5a --- /dev/null +++ b/frontend-dev-parallel-test-results.html @@ -0,0 +1,967 @@ + + + + + Test Report + + + +

frontend-dev-parallel-test-results.html

+

Report generated on 26-Sep-2023 at 10:22:04 by pytest-html v3.1.1

+

Summary

+

58 tests ran in 298.04 seconds.

+ 58 passed, 0 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes, 0 rerun +

Results

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
ResultTestDurationLinks
Passedtests/frontend/test_home.py::test_click_header_extensions[Desktop]4.81
+
No log output captured.
Passedtests/frontend/test_home.py::test_click_header_themes[Desktop]4.35
+
No log output captured.
Passedtests/frontend/test_home.py::test_logo_routes_to_homepage[Desktop]5.06
+
No log output captured.
Passedtests/frontend/test_home.py::test_firefox_addons_blog_link[Desktop]5.85
+
No log output captured.
Passedtests/frontend/test_home.py::test_developer_hub_link[Desktop]4.80
+
No log output captured.
Passedtests/frontend/test_home.py::test_extension_workshop_link[Desktop]4.51
+
No log output captured.
Passedtests/frontend/test_home.py::test_more_dropdown_navigates_correctly[Desktop-0-Dictionaries and Language Packs]9.12
+
No log output captured.
Passedtests/frontend/test_home.py::test_more_dropdown_navigates_correctly[Desktop-1-Add-ons for Firefox Android]9.10
+
No log output captured.
Passedtests/frontend/test_home.py::test_primary_hero[Desktop]5.14
+
No log output captured.
Passedtests/frontend/test_home.py::test_secondary_hero_message[Desktop]4.33
+
No log output captured.
Passedtests/frontend/test_home.py::test_secondary_hero_modules[Desktop]4.10
+
No log output captured.
Passedtests/frontend/test_home.py::test_click_module_link[Desktop-0-First module]5.04
+
No log output captured.
Passedtests/frontend/test_home.py::test_click_module_link[Desktop-1-Second module]5.10
+
No log output captured.
Passedtests/frontend/test_home.py::test_click_module_link[Desktop-2-Third module]5.57
+
No log output captured.
Passedtests/frontend/test_home.py::test_browse_all_recommended_extensions[Desktop]5.02
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_recommended_extensions_shelf[Desktop]4.38
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_see_more_popular_themes[Desktop]5.33
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_popular_themes_shelf[Desktop]4.35
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_see_more_recommended_themes[Desktop]4.40
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_shelf_item_rating[Desktop]4.27
+
No log output captured.
Passedtests/frontend/test_home.py::test_home_see_more_links[Desktop]11.35
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-0-Abstract]4.85
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-1-Nature]4.94
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-2-Film]4.90
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-3-Scenery]4.86
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-4-Music]4.87
+
No log output captured.
Passedtests/frontend/test_home.py::test_theme_categories_shelf[Desktop-5-Seasonal]4.64
+
No log output captured.
Passedtests/frontend/test_home.py::test_mozilla_footer_link[Desktop]5.31
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-About]4.25
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Firefox Add-ons Blog]5.99
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Extension Workshop]4.37
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Developer Hub]4.43
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Developer Policies]4.41
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Community Blog]5.69
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Forum]7.83
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Report a bug]4.86
+
No log output captured.
Passedtests/frontend/test_home.py::test_addons_footer_links[Desktop-Review Guide]4.29
+
No log output captured.
Passedtests/frontend/test_home.py::test_browsers_footer_links[Desktop-Firefox Desktop]4.39
+
No log output captured.
Passedtests/frontend/test_home.py::test_browsers_footer_links[Desktop-Firefox Mobile]4.38
+
No log output captured.
Passedtests/frontend/test_home.py::test_browsers_footer_links[Desktop-Firefox Enterprise]4.42
+
No log output captured.
Passedtests/frontend/test_home.py::test_products_footer_links[Desktop-Browsers]5.22
+
No log output captured.
Passedtests/frontend/test_home.py::test_products_footer_links[Desktop-VPN]4.47
+
No log output captured.
Passedtests/frontend/test_home.py::test_products_footer_links[Desktop-Relay]5.04
+
No log output captured.
Passedtests/frontend/test_home.py::test_products_footer_links[Desktop-Monitor]7.18
+
No log output captured.
Passedtests/frontend/test_home.py::test_products_footer_links[Desktop-Pocket]4.64
+
No log output captured.
Passedtests/frontend/test_home.py::test_social_footer_links[Desktop-Firefox on Twitter]5.77
+
No log output captured.
Passedtests/frontend/test_home.py::test_social_footer_links[Desktop-Firefox on Instagram]4.53
+
No log output captured.
Passedtests/frontend/test_home.py::test_social_footer_links[Desktop-Firefox on YouTube]4.58
+
No log output captured.
Passedtests/frontend/test_home.py::test_legal_footer_links[Desktop-Privacy]4.33
+
No log output captured.
Passedtests/frontend/test_home.py::test_legal_footer_links[Desktop-Cookies]4.30
+
No log output captured.
Passedtests/frontend/test_home.py::test_legal_footer_links[Desktop-Legal]4.39
+
No log output captured.
Passedtests/frontend/test_home.py::test_copyright_footer_links[Desktop-Legal]4.37
+
No log output captured.
Passedtests/frontend/test_home.py::test_copyright_footer_links[Desktop-Creative Commons License]4.44
+
No log output captured.
Passedtests/frontend/test_home.py::test_change_language[Desktop-HomePage French Translation]5.13
+
No log output captured.
Passedtests/frontend/test_home.py::test_change_language[Desktop-HomePage German Translation]4.56
+
No log output captured.
Passedtests/frontend/test_home.py::test_change_language[Desktop-HomePage Chinese Translation]5.40
+
No log output captured.
Passedtests/frontend/test_home.py::test_change_language[Desktop-HomePage Russian Translation]4.82
+
No log output captured.
Passedtests/frontend/test_home.py::test_change_language[Desktop-HomePage Hebrew Translation]4.86
+
No log output captured.
\ No newline at end of file diff --git a/pages/desktop/about_addons.py b/pages/desktop/about_addons.py index 0785020..ecab4c4 100644 --- a/pages/desktop/about_addons.py +++ b/pages/desktop/about_addons.py @@ -119,9 +119,6 @@ class AboutAddons(Page): @property def enabled_theme_image(self): - self.wait.until( - EC.visibility_of_element_located(self._enabled_theme_image_locator) - ) return self.find_elements(*self._enabled_theme_image_locator)[0].get_attribute( "src" ) diff --git a/pages/desktop/frontend/home.py b/pages/desktop/frontend/home.py index f9aac13..1880d56 100644 --- a/pages/desktop/frontend/home.py +++ b/pages/desktop/frontend/home.py @@ -287,9 +287,6 @@ class Home(Base): @property def addon_rating_preview(self): - self.wait.until( - EC.visibility_of_element_located(self._addon_rating_locator) - ) return self.find_element(*self._addon_rating_locator) def shelf_item_elements(self, item): diff --git a/pages/desktop/frontend/search.py b/pages/desktop/frontend/search.py index d46a768..4abf421 100644 --- a/pages/desktop/frontend/search.py +++ b/pages/desktop/frontend/search.py @@ -110,7 +110,6 @@ class Search(Page): @property def search_results(self): - self.wait.until(EC.visibility_of_element_located(self._result_locator)) items = self.find_elements(*self._result_locator) return [self.ResultListItems(self, el) for el in items]