Граф коммитов

10598 Коммитов

Автор SHA1 Сообщение Дата
Emil Ghitta 6a79a25222
Merge pull request #6134 from emilghittasv/expand-playwright-coverage-explore-by-topic
Expanding playwright coverage over the Explore by topic page
2024-07-24 09:18:47 +03:00
Emil Ghitta f92c0b92ba - Adding a new helper function in BasePage to extract the list of textContent for a given locator.
- Adding the https://support.allizom.org/en-US/kb/get-community-support?exit_aaq=1 page to test data.
- Adding the AAQ widget text which is displayed when the "All Products" filter is applied to AAQWidgetMessage for further usage in tests.
- Expanding the locators & actions for the ExploreByTopicsPage class.
- Adding playwright coverage for the "Explore By Topic" page:
  - Verifying that the correct explore by topic page header is displayed when changing the topic via the "All Topics" side navbar.
  - Verifying that the "Filter by product" successfully updates the displayed list of articles with articles that belong to the chosen product from the "Filter by product" dropdown (by verifying the displayed metadata for each listed article)
  - Verifying that the correct AAQ widget text is displayed for each filtered product.
  - Verifying the correct AAQ widget redirect for each filtered product.
  - Added playwright coverage for the https://github.com/mozilla/sumo/issues/1876 case
- Adding the new test suite to playwright.yml
2024-07-23 15:55:04 +03:00
Emil Ghitta 99d6154cca
Merge pull request #6133 from emilghittasv/expand-playwright-top-navbar-coverage
Expand playwright coverage over the new top-navbar options
2024-07-22 22:39:33 +03:00
Emil Ghitta c25974ece2 - Adding a new helper function inside BasePage which should check if a given Locator is visible.
- Creating the contributor_discussions_page.py page (for /forums SUMO page), discussions_page.py (for /forums/{forumName}/ page) and explore_by_topic_page.py page (for /topics/ SUMO page).
- Instantiating the newly created pages inside sumo_pages.py
- Updating the top-navbar.py with several new locators (for the new top-navbar) & action functions against them.
- Expanding playwright coverage over the top-navbar section by verifying:
 - All Explore Help Articles > Explore by product top-navbar options redirects.
 - All Explore Help Articles > Explore by topic redirects top-navbar options redirects + the default "Filter by product" & "All Topics" filter when accessing the page.
 - All Community Forums > Browse by product top-navbar options redirects.
 - All Community Forums > Browse all forum threads by topic top-navbar options redirects + the filter displayed inside the "Topics" dropdown.
 - All Ask a Question top-navbar option redirects.
 - All Contribute > Contributor Discussions top-navbar redirects + the highlighted option inside the "Contributor discussions" side-navbar
2024-07-22 19:44:14 +03:00
Tasos Katsoulas 4ea3baed8e
Merge pull request #6132 from janbrasna/fix/products-option-l10n
Fix products dropdown macro default option l10n
2024-07-22 17:40:26 +03:00
Tasos Katsoulas 4a8b96b2ac
Merge pull request #6130 from akatsoulas/taxonomy-topics
Taxonomy topics
2024-07-22 14:47:09 +03:00
Tasos Katsoulas 6afaca093a
Create new taxonomy topics 2024-07-22 14:33:48 +03:00
Jan Brasna 0ffd102eee
Update product_macros default option l10n 2024-07-22 13:00:14 +02:00
Tasos Katsoulas 9a1ca419e5
Merge pull request #6131 from janbrasna/fix/banner-macro-cta-l10n
Fix banner macro CTA l10n
2024-07-22 13:32:24 +03:00
Jan Brasna 20ceb553e7
Fix common_macros scam_banner CTA l10n 2024-07-21 19:20:30 +02:00
Emil Ghitta f9c7d4275f
Merge pull request #6129 from emilghittasv/playwright-framework-refactor
Playwright add chromium browser option & rename TestUtilities class and instances
2024-07-19 13:50:07 +03:00
Emil Ghitta 29d1844d52 - Update browser option from chrome to chromium.
- Renamed the TestUtilities class to Utilities & class instance from test_utilities to utilities
- Adding create_delete_article mark to pytest.ini
2024-07-19 12:59:22 +03:00
Emil Ghitta c4eb68b1d5
Merge pull request #6128 from emilghittasv/playwright-framework-refactor
Refactoring playwright framework
2024-07-19 01:03:01 +03:00
Tasos Katsoulas c1be78d3bc
Make product FK nullable 2024-07-18 16:35:38 +03:00
Emil Ghitta 4eef3588cb Refactoring playwright framework 2024-07-18 12:27:33 +03:00
Tasos Katsoulas ae43b3b20a
Merge pull request #6121 from mozilla/dependabot/pip/setuptools-70.0.0
Bump setuptools from 69.0.3 to 70.0.0
2024-07-17 18:40:05 +03:00
Tasos Katsoulas 2a6332364c
Merge pull request #6119 from escattone/fix-1876
return 404 instead of 500 for non-navigable topics
2024-07-17 18:29:48 +03:00
Ryan Johnson a17c531ff4
Merge pull request #6123 from akatsoulas/firefox-desktop
Wording menu updates
2024-07-17 08:25:12 -07:00
Tasos Katsoulas b953efb0b9
Wording menu updates 2024-07-17 17:11:50 +03:00
Tasos Katsoulas 09b1c149b6
Merge pull request #5999 from smithellis/1747-es-synonyms
Add synonyms to ES for bookmarks toolbar
2024-07-16 11:00:23 +03:00
Emil Ghitta 2de62b413d
Merge pull request #6122 from emilghittasv/test-enabler
Playwright fix failing product topics test failures & enable zh-Hant fallback test
2024-07-15 23:32:24 +03:00
Emil Ghitta beda693055 - Enabling test_fallback_languages test since https://github.com/mozilla/sumo/issues/1820 is now fixed.
- Removed some other Firefox Reality, FPN and Hubs mentions inside the playwright framework.
2024-07-15 22:59:35 +03:00
dependabot[bot] e8913a4d9e
Bump setuptools from 69.0.3 to 70.0.0
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.0.3 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.0.3...v70.0.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 19:12:40 +00:00
Ryan Johnson c4b5834a7c
Merge pull request #6120 from akatsoulas/update-db-strings
Update database strings
2024-07-15 07:24:33 -07:00
Tasos Katsoulas 1f84f53d70
Update database strings 2024-07-15 14:46:36 +03:00
Ryan Johnson 4ff5bd715f
return 404 instead of 500 for non-navigable topics 2024-07-11 15:51:58 -07:00
Tasos Katsoulas 51e5dcbf87
Merge pull request #6112 from akatsoulas/customize-article
Hide showfor macro for non visible articles
2024-07-11 16:40:00 +03:00
Tasos Katsoulas a5794c23d5
Merge pull request #6118 from mozilla/dependabot/pip/wagtail-6.1.3
Bump wagtail from 6.1.2 to 6.1.3
2024-07-11 16:25:24 +03:00
dependabot[bot] 7c0e20a790
Bump wagtail from 6.1.2 to 6.1.3
Bumps [wagtail](https://github.com/wagtail/wagtail) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/wagtail/wagtail/releases)
- [Changelog](https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt)
- [Commits](https://github.com/wagtail/wagtail/compare/v6.1.2...v6.1.3)

---
updated-dependencies:
- dependency-name: wagtail
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 13:23:44 +00:00
Tasos Katsoulas a44505ca20
Merge pull request #6116 from akatsoulas/topics-404
Query subtopics for redirects
2024-07-11 16:19:07 +03:00
Emil Ghitta 31582b3342
Merge pull request #6117 from emilghittasv/drop-sunset-products-from-playwright
Removing sunset products from playwright coverage.
2024-07-11 16:12:31 +03:00
Emil Ghitta f8aabec21f Removing sunset products from playwright coverage. 2024-07-11 15:08:42 +03:00
Tasos Katsoulas b6c7284ab0
Query subtopics for redirects 2024-07-11 13:01:52 +03:00
Tasos Katsoulas f2d5e5a17a
Merge pull request #6114 from mozilla/dependabot/pip/django-4.2.14
Bump django from 4.2.11 to 4.2.14
2024-07-11 10:49:36 +03:00
dependabot[bot] 0bdc825dd8
Bump django from 4.2.11 to 4.2.14
Bumps [django](https://github.com/django/django) from 4.2.11 to 4.2.14.
- [Commits](https://github.com/django/django/compare/4.2.11...4.2.14)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 22:00:01 +00:00
Ryan Johnson a044012405
no doc caching when vary on accept-language 2024-07-10 12:09:34 -07:00
Ryan Johnson 22e7c994b6
Merge pull request #6113 from akatsoulas/aaq-config-update
Drop FPN from AAQ
2024-07-10 09:37:39 -07:00
Tasos Katsoulas 928af53cb0
Drop FPN, Hubs and Reality from AAQ 2024-07-10 17:49:47 +03:00
Tasos Katsoulas 5f460f94f0
Hide shofor macro for non visible articles 2024-07-10 13:36:29 +03:00
Ryan Johnson 2a4c7d1dfc
Merge pull request #6111 from escattone/zh-hant-fallback-fix-1820
fix Traditional Chinese mappings
2024-07-09 11:11:33 -07:00
Ryan Johnson 11d5687d65
fix Traditional Chinese mappings 2024-07-09 10:45:33 -07:00
Tasos Katsoulas fc12b2be89
Merge pull request #6110 from akatsoulas/product-dropdown
Allow non visible products in listing
2024-07-09 15:57:39 +03:00
Tasos Katsoulas 992189d6a5
Allow non visible products in listing 2024-07-09 14:04:12 +03:00
Ryan Johnson aa1e90f9af
Merge pull request #6103 from mozilla/dependabot/pip/certifi-2024.7.4
Bump certifi from 2023.11.17 to 2024.7.4
2024-07-08 11:56:26 -07:00
Ryan Johnson 3bd6ef0441
Merge pull request #6073 from mozilla/dependabot/npm_and_yarn/multi-92909531ef
Bump ws, engine.io-client and socket.io
2024-07-08 11:55:56 -07:00
Emil Ghitta 1e53d836ef
Merge pull request #6109 from emilghittasv/fix-firefox-for-enteprise-aaq-topic-tags
Playwright - Update Firefox for Enterprise aaq topic tags
2024-07-08 18:16:02 +03:00
Emil Ghitta 0dbb6f1909 Update Firefox for Enterprise aaq topic tags 2024-07-08 18:12:47 +03:00
Emil Ghitta 330d18c80e
Merge pull request #6108 from emilghittasv/fix-use-different-account-locator
Update fxa "User logged in" locator.
2024-07-08 17:33:40 +03:00
Tasos Katsoulas db55ac8e47
Merge pull request #6107 from akatsoulas/remove-obsolete-topic
Remove migrated topic
2024-07-08 17:29:44 +03:00
Emil Ghitta ee3147f2ec Update fxa "User logged in" locator. 2024-07-08 17:17:32 +03:00