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

10775 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 2ae9fa883b
Merge pull request #6299 from smithellis/contributors-dashboard-tab-highlight
Add js for tab selection class addition
2024-10-22 13:12:20 +03:00
Emil Ghitta 5e24e0b1e6 - Improve auth_flow.py and auth_page.py classes. 2024-10-21 23:03:28 +03:00
Emil Ghitta 0525277dd8
Merge pull request #6304 from emilghittasv/playwright-improve-homepage-and-footer
Playwright improve homepage & footer page objects
2024-10-21 22:10:57 +03:00
Emil Ghitta e5f228356c - Improve footer.py page object.
- Improve homepage.py page object.
- Improve test_footer.py by using playwright's API for making the GET request to the sumo footer links.
2024-10-21 19:53:22 +03:00
Emil Ghitta 7d90c403d5
Merge pull request #6303 from emilghittasv/playwright-improve-top-navbar-tests
Playwright improve top_navbar page object
2024-10-21 19:52:17 +03:00
Emil Ghitta 7b9feadd46 - Improve top_navbar.py page object. 2024-10-21 18:19:47 +03:00
Emil Ghitta 5b3947adee
Merge pull request #6300 from emilghittasv/playwright-improve-user-related-tests
Playwright improve user profile related tests page objects, flows & tests
2024-10-21 18:18:47 +03:00
Tasos Katsoulas 53a5bf61e7
Delete MA avatar on deactivation.
* Expose fxa_avatar in admin
2024-10-21 15:36:54 +03:00
Emil Ghitta 1136dcd54f - basepage.py: add function for checkbox interaction
- Improve profile related page objects, flows & tests.
2024-10-20 23:22:43 +03:00
Smith Ellis 93df34ee51
Add js for tab selection class addition 2024-10-18 09:56:35 -04:00
Ryan Johnson 4b40fed8c8
Merge pull request #6298 from escattone/update-pre-commit-config
update pre-commit config plus black,flake8
2024-10-17 11:59:00 -07:00
Ryan Johnson 58a906562a
update pre-commit config plus black,flake8 2024-10-17 10:36:54 -07:00
Emil Ghitta b494d09f0e
Merge pull request #6296 from emilghittasv/playwright-block-pontoon-requests
Playwright block Pontoon requests
2024-10-17 12:29:39 +03:00
Emil Ghitta 8099cfcb1f - Block all Pontoon requests in page context during Playwright test execution.
- Simplifying a userQuestions test.
- Forcing the click for the update_my_profile_button to try avoiding flakiness.
2024-10-17 11:13:40 +03:00
Ryan Johnson 1750ec6bce
Merge pull request #6292 from akatsoulas/contributors-404
Display banner when AAQConfig exists
2024-10-16 15:02:05 -07:00
Ryan Johnson 744cf356b0
Merge branch 'main' into contributors-404 2024-10-16 14:11:10 -07:00
Tasos Katsoulas 3c433fe9c5
Merge pull request #6291 from akatsoulas/remove-wagtail
Remove wagtail from the code-base
2024-10-16 17:47:02 +03:00
Emil Ghitta c017fd9219
Merge pull request #6290 from emilghittasv/playwright-search-tests
Playwright add test for doc_id search
2024-10-16 16:50:51 +03:00
Emil Ghitta 98e8391b43
Merge pull request #6293 from emilghittasv/playwright-contributors-support-tests
Playwright enable productSupportPage tests, expand coverage over Contributors Support & some refactoring
2024-10-15 21:46:57 +03:00
Tasos Katsoulas adcadfd463
Merge pull request #6294 from emilghittasv/fix-show-more-localization
Fix "Show More" and "Show Less" missing localization
2024-10-15 17:35:28 +03:00
Tasos Katsoulas 104410e26b
Display banner when AAQConfig exists 2024-10-15 16:58:24 +03:00
Emil Ghitta 8fdf44e686 - Mark "Show More" and "Show Less" options from the "Contributor tools" side-navbar as ready for localization in Pontoon. 2024-10-15 16:29:23 +03:00
Emil Ghitta ff17a95b76 - Added the possibility for playwright to navigate to the Guides product page via the top-navbar section.
- Refactored & enabled the productSupportPage tests.
- Expanded playwright coverage for the "Guides" product page inside the productSupportPage tests.
- Refactored the products_page.py by making the functions public & replace super() with self.
- Refactored the product_support_page.py by making the functions public & replace super() with self.
- Enabled the productSupportPage tests in playwright.yml
2024-10-15 15:05:20 +03:00
Tasos Katsoulas e92c5a9b4b
Remove wagtail from the code-base 2024-10-14 14:08:50 +03:00
Tasos Katsoulas 6bb6fbb9dc
Merge pull request #6284 from mozilla/dependabot/npm_and_yarn/multi-82ad408bf4
Bump cookie and socket.io
2024-10-14 11:44:33 +03:00
Ryan Johnson 9d22d73644
Merge pull request #6289 from akatsoulas/spam-questions-all
Display spam status in the all questions
2024-10-11 08:49:02 -07:00
Emil Ghitta 11e785aa63 - Adding test for doc_id field operator verification in test_main_searchbar.py
- Adding a function inside the utilities.py which returns the GET api response.
- Enabling test_featured_articles_redirect test inside test_product_solutions_page.py.
- Mapping some automated tests with their manual representative via the TestRail tc ID
2024-10-11 16:22:52 +03:00
Tasos Katsoulas 48e37dbcdd
Display spam status in the all questions 2024-10-11 13:06:27 +03:00
Tasos Katsoulas 1d12c81fa9
Merge pull request #6283 from escattone/fix-ga-pageviews-by-document
fix `pageviews_by_document` to properly handle article locale
2024-10-11 09:42:01 +03:00
Emil Ghitta 8dae17bdaa
Merge pull request #6285 from emilghittasv/playwright-search-tests
Playwright add second batch of search tests
2024-10-10 21:08:41 +03:00
Emil Ghitta 06294f815e
Merge pull request #6288 from emilghittasv/playwright-fix-failing-report-abuse-test
Playwright update forum moderation page & related tests
2024-10-10 18:54:49 +03:00
Emil Ghitta bebc0e4c92 - Refactoring the moderate_forum_content.py class.
- Fixing the test_report_abuse test inside the test_posted_questions.py
2024-10-10 18:05:22 +03:00
Tasos Katsoulas 4bdf529973
Merge pull request #6287 from akatsoulas/aaq-waffle-flags
Control the AAQ moderation flags through waffle
2024-10-10 13:34:02 +03:00
Tasos Katsoulas 760361e0e1
Control the AAQ moderation flags through waffle 2024-10-10 13:06:04 +03:00
Tasos Katsoulas 702645eda2
Merge pull request #6286 from akatsoulas/default-fitlering
Set the default filter to All
2024-10-10 12:43:22 +03:00
Tasos Katsoulas 9a73643756
Set the default filter to All 2024-10-10 12:28:07 +03:00
Emil Ghitta 774510c707 - Added the possibility of submitting a test article with a custom content inside the add_kb_article_flow.py
- Expanded the functionality of playwright to translate articles in different locales (not only in the ro locale) inside the kb_localization_flow.py, and kb_translate_article_page.py
- Calling the clear_the_searchbar() each time playwright tries to add input inside the searchbar inside the fill_into_searchbar() function from the search_page.py page class.
- Added second batch of search tests inside test_main_searchbar.py
2024-10-10 10:32:35 +03:00
dependabot[bot] 9c8b9d2273
Bump cookie and socket.io
Bumps [cookie](https://github.com/jshttp/cookie) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.0
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-10 07:15:06 +00:00
Emil Ghitta 76eaef1a61
Merge pull request #6278 from emilghittasv/playwright-search-tests
Playwright adding the first batch of search tests
2024-10-10 10:14:00 +03:00
Ryan Johnson 983a3e1df2
fix pageviews_by_document 2024-10-09 15:43:57 -07:00
Ryan Johnson 4cc50d80f2
Merge pull request #6282 from akatsoulas/normalize-locale
Normalize locale in the API
2024-10-09 09:18:38 -07:00
Tasos Katsoulas 0247a42278
Normalize locale in the API 2024-10-09 18:46:56 +03:00
Tasos Katsoulas ad827ac350
Merge pull request #6280 from akatsoulas/moderation-default-spam
Default moderation queue filtering to spam
2024-10-09 11:07:56 +03:00
Tasos Katsoulas a6df7a2327
Update gitignore 2024-10-09 10:38:34 +03:00
Tasos Katsoulas 18df848dae
Default moderation queue filtering to spam 2024-10-09 10:38:00 +03:00
Emil Ghitta 082488144e - Refactoring the footer.py and homepage.py page objects by marking the page functions as public, replacing super() with self and updating function calls in tests.
- Adding a couple of synonyms inside the search_synonym.py page which are used in tests.
- Adding a WordNetLemmatizer instance in utilities.py which is going to help extracting the singular form of words when searching for synonyms of the search term inside the search results.
- Extending playwright coverage with the first batch of search tests inside the test_main_searchbar.py.
- Adding searchTests marker inside pytest.ini and playwright.yml
2024-10-08 14:45:49 +03:00
Emil Ghitta 0c743cabbc
Merge pull request #6274 from emilghittasv/playwright-expand-coverage-to-search
Playwright add foundation for search tests
2024-10-07 15:22:18 +03:00
Emil Ghitta 1219f6ac25
Merge pull request #6277 from emilghittasv/playwright-add-messaging-system-notification-coverage
Playwright expand test coverage over the unread new message UI notification
2024-10-07 15:11:55 +03:00
Emil Ghitta 5b8fefb178 - Add locators for unread, read messages and related functions inside inbox_page.py
- Expand playwright test coverage over the unread message avatar red dot notification & counter inside test_messaging_system.py
- Add locators for the red dot unread message notification, unread notification counter and functions against them inside top_navbar.py
2024-10-04 01:15:00 +03:00
Emil Ghitta 4ab24477da - This PR is the building block for the search tests.
- Added nltk to the project as a dev dependency.
- Updated the search_page.py page object by adding a couple of new locators, functions against those locators, changing the usage of super() to self and making the functions public.
- Added search_synonym.py which lists a couple of synonyms that can be returned from SUMO when performing a search. Will reduce the list to the ones which are actually used in tests once the tests are written.
- Updated utilities.py with adding the helper functions that will be responsible of handling the search term and evaluating if the correct search results are returned.
2024-10-02 19:11:10 +03:00