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

10775 Коммитов

Автор SHA1 Сообщение Дата
smith 7a4802f64e
Remove erroneous call to updateRevisionList (#6365) 2024-11-20 14:13:46 -05:00
Tasos Katsoulas d6242fa632
Merge pull request #6363 from akatsoulas/enable-update-on-select
Enable Update button on selection
2024-11-20 19:19:49 +02:00
Tasos Katsoulas 297f3a3984
Enable Update button on selection 2024-11-20 18:41:08 +02:00
smith ea38b72b5b
Improve user lookup form field query (#6361)
* Remove from loop
* Get all responses, not just first
2024-11-20 10:40:00 -05:00
Tasos Katsoulas cd7e2f202c
Merge pull request #6347 from emmanuel-ferdman/main
Update license reference
2024-11-20 11:27:20 +02:00
Tasos Katsoulas 26d945bf60
Merge pull request #6357 from smithellis/1952-phone-number-forum-spam
Improve spam filtering
2024-11-20 11:22:21 +02:00
Tasos Katsoulas 03b735d4f1
Merge pull request #6360 from akatsoulas/seg-tags-moderation-tool
Expose segmentation tags in moderation
2024-11-20 11:19:40 +02:00
Emil Ghitta 247ccc36a9
Merge pull request #6359 from emilghittasv/playwright-add-more-group-tests
Playwright handle wait timeouts and add new AAQ topics for AAQ test coverage
2024-11-20 10:44:22 +02:00
Tasos Katsoulas 382b6f82a7
Expose segmentation tags in moderation 2024-11-20 10:10:11 +02:00
smith c760798d79
2019 - Update 'MultiUsernameField' to handle display names (#6351)
Use Q for improved query
Fix issue where an invalid username forces full revision list
2024-11-18 15:32:50 -05:00
smith c477deb6e4
Updated wiki.js to retain form data between page changes (#6341)
Also re-updates the revision list  if there is data
Also stops the 500 error
use sessionStorage
2024-11-18 15:32:11 -05:00
Emil Ghitta c6316d9532 - Adding the newly AAQ topics for AAQ test coverage.
- Adding the functionality of creating a new KB article via kb/new API inside the add_kb_article_flow.py
- Catching potential failures yielded by load_state events not being fired in conftest.py
- Reducing the default navigation timeout from 2 minutes to 30 seconds and using the internal navigate_to_link() function in conftest.py
- Creating kb articles via kb/new API calls in several tests.
- Removing external link validations in test_edit_my_profile.py
- Skipping some flaky tests from Chromium.
2024-11-18 15:50:14 +02:00
Tasos Katsoulas dcbf7871b4
Merge pull request #6358 from akatsoulas/zd-seg-tags
Custom Tag model and Zendesk segmentation tags.
2024-11-18 12:06:09 +02:00
Tasos Katsoulas 7594fd70ef
Adjust command for the custom SumoTag model.
* Move management command under tags app.
2024-11-18 11:39:19 +02:00
Tasos Katsoulas d2db4f233b
Migrate existing tags to SumoTag
* Create Zendesk segmentation tags
2024-11-18 11:39:19 +02:00
Tasos Katsoulas bdd3050bfd
Introduce a custom Tag model. 2024-11-18 11:39:04 +02:00
Smith Ellis 5f7737d8c2
Improve spam filtering 2024-11-15 14:45:13 -05:00
Tasos Katsoulas 8a157f72de
Merge pull request #6354 from akatsoulas/extract-moderation-tool
Extract moderation tool to a separate url
2024-11-15 10:24:48 +02:00
Tasos Katsoulas 345ec8150b
Merge pull request #6355 from smithellis/2021-update-500-error
Move validation to the clean_avatar method
2024-11-14 13:31:10 +02:00
Emil Ghitta f6a3e99a8e
Merge pull request #6356 from emilghittasv/playwright-add-more-group-tests
Playwright expanding group coverage for group leaders testing
2024-11-14 10:39:31 +02:00
Emil Ghitta 9a7a3c0781 - Adding TestGroup3 to playwright.
- Expanding the user_groups_messages.py to include locale leader removal or addition page messages.
- Modifying the flows in user_group_flow.py to handle actions against group leaders.
- Adding locators and functions for group leaders in groups_page.py page object.
Adding a new test in test_groups.py which verifies:
- That admin users can add and remove locale leaders from groups.
- That the correct banner is displayed when adding or removing a group leader.
- That adding a group leader to a group successfully adds the leader in both the leaders & members group lists.
2024-11-13 21:20:04 +02:00
Smith Ellis 692f387e89
Move validation to the clean_avatar method 2024-11-13 11:00:08 -05:00
Tasos Katsoulas 1c98787226
Extract moderation tool to a separate url 2024-11-13 14:10:58 +02:00
Emil Ghitta 93183962b7
Merge pull request #6353 from emilghittasv/playwright--further-testfixes
Playwright try fixing recent AAQ and top-navbar related test failures/flakiness
2024-11-13 10:30:06 +02:00
Tasos Katsoulas befa48d3e6
Merge pull request #6342 from smithellis/2021-500-error-group-avatar
2021 - 500 Error after submission with no file
2024-11-13 10:00:56 +02:00
Emil Ghitta 8dd4ae5c8d - Fix test_post_aaq_questions_for_all_freemium_products_topics and test_additional_system_details_user_agent_information tests from the test_aaq_form_page.py by waiting for a particular selector after performing the ticket submission. If the locator is not displayed we are re-trying the ticket submission.
- Fix some failures related to the top_navbar.py hover function by waiting for a particular top-navbar selector to be displayed before attempting to perform the click.
2024-11-12 23:58:36 +02:00
Smith Ellis 69ad9af782
2021 - Clean avatar 2024-11-12 16:49:53 -05:00
Tasos Katsoulas 137dbd801e
Expose all realated topics in the moderation (#6352) 2024-11-12 13:44:05 -08:00
Tasos Katsoulas 147ad4414e
Merge pull request #6350 from akatsoulas/taxonomy-topic-updates
Update taxonomy map
2024-11-12 18:38:42 +02:00
Tasos Katsoulas f8d8a50438
Update taxonomy map 2024-11-12 18:11:58 +02:00
Tasos Katsoulas 2b8b0ad4b1
Merge pull request #6340 from akatsoulas/update-tier2
Add more entries for Tier2
2024-11-12 15:49:39 +02:00
Tasos Katsoulas 48713397b4
Add more entries for Tier2 2024-11-12 15:22:44 +02:00
Emil Ghitta a42e1eacb0
Merge pull request #6344 from emilghittasv/playwright-expand-group-coverage
Playwright expand coverage to group pages
2024-11-12 13:22:55 +02:00
Tasos Katsoulas 80a6b2a0ee
Merge pull request #6349 from akatsoulas/topic-nav-all-products
Pass keyword args in widget
2024-11-11 17:43:46 +02:00
Tasos Katsoulas fa0d88e703
Pass keyword args in widget 2024-11-11 17:43:00 +02:00
Emil Ghitta f6eb07c126
Merge pull request #6345 from emilghittasv/playwright-improve-allure-report-generation
Playwright improve allure report generation
2024-11-11 17:25:44 +02:00
Emmanuel Ferdman 2b77d55062
Update license reference
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-11 05:11:04 -08:00
Tasos Katsoulas 6c0fee1a43
Merge pull request #6346 from akatsoulas/aaq-widget-qdetails
Set AAQ context in question details
2024-11-11 14:25:49 +02:00
Tasos Katsoulas c092d7759a
Set AAQ context in question details 2024-11-11 14:24:54 +02:00
Emil Ghitta cd5fb24f2b Instead of downloading and installing Homebrew to install Allure in order to generate the test report in a single .html file we are going to Download the Allure commandline tool and use it directly to generate the test report in a single .html file.
This should reduce the step execution time from ~2 minutes to < 10 seconds
2024-11-11 13:35:03 +02:00
Emil Ghitta 854fa465d3 - Improving the groups_page.py page object and adding new locators & functions against them to be used in tests.
- Adding a function to click on groups listed inside the profile page.
- Adding user group tests pytest marker to pytest.ini
- Adding new test images for usage in tests.
- Expanding playwright coverage over the groups section via the test_groups.py
- Expanding playwright coverage into verifying that messages can be sent via the groups page inside the test_messaging_system.py
- Adding a couple of helper functions inside the utilities.py to:
1. Have the capability of uploading files via file choosers.
2. Have the capability of taking a screenshot for a particular locator.
3. Have the capability of comparing two given images using python pillow.
2024-11-11 13:17:50 +02:00
Tasos Katsoulas 438222a03c
Merge pull request #6343 from smithellis/1229-long-search-summary-overlaps-filter
1229 - Contrain search summary size to container
2024-11-11 12:09:11 +02:00
Smith Ellis 0755f8f074
1229 - Contrain search summary size to container 2024-11-08 14:59:08 -05:00
Tasos Katsoulas 474d8a4bd1
Management command to merge tags (#6339) 2024-11-07 08:43:35 -08:00
Emil Ghitta 0e07070d27
Merge pull request #6338 from emilghittasv/playwright-flakiness-try-fix
Playwright improve test stability
2024-11-07 11:13:27 +02:00
Tasos Katsoulas 99e0c88a9a
Remove orphaned tags (#6335)
* Bump django-taggit to 6.1.0

* Curate list of existing tags

* remove merging of fuzzy-matching tags

---------

Co-authored-by: Ryan Johnson <rjohnson@mozilla.com>
2024-11-06 12:16:13 -08:00
Tasos Katsoulas 9915962290
Set the AAQ context for the wiki widget (#6337) 2024-11-06 09:38:39 -08:00
Emil Ghitta 5dda7567da - Creating a new helper function in utilities.py that gives the possibility of re-calling a function which failed due to a 502 error. This function relies on catching a warning emitted by the handle_502_error function inside conftest.py.
- Fix locators issues due to the transition from selectize to tom-select.
- Extended the checkbox_interaction() function in basepage.py to handle ElementHandles and implemented a retry mechanism if the element check() or uncheck() has failed due to some reason.
- Modified the click() function in basepage.py to:
1. Accept and interact with ElementHandles.
2. Implement a retry mechanism based on a given expected_locator or expected_url after the click action. If the expected_locator or expected_url condition is not fulfilled after the click action we are forcing a re-click on the target element.
3. Wait for networkidle before attempting to click on the element.
- Updated the page objects, tests and flows for which flakiness occurred in the past to use the newly implemented click() and function re-call mechanism.
- Added a helper function in basepage.py which moves the mouse to a given location.
2024-11-06 19:00:43 +02:00
Tasos Katsoulas eae560d68c
Merge pull request #6336 from akatsoulas/permanent-redirect
Make topic slug redirect permanent
2024-11-06 16:24:19 +02:00
Tasos Katsoulas 1a79af0eae
Make topic slug redirect permanent 2024-11-06 15:32:50 +02:00