- 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.
- 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.
- 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.
- 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
- Adding new locators for the premium and loginless forms and helper functions.
- Expanding playwright coverage for the following cases:
1. Verifying that the premium tickets can be successfully submitted for all premium products. Currently, we are sending one ticket /each premium product and choosing a random topic & os from the dropdowns. We are also making use of the whitelisted subject & body keyword so that Zendesk automatically closes those tickets & avoid spamming.
2. Verifying that 3 loginless forms can be successfully submitted before hitting the ratelimit. (making use of the whitelisted subject & body keyword) in order to avoid spamming Zendesk).
- Adding the newly added kb article translation tests to pytest.ini and playwright.yml workflow file.
- Adding test data for KB article translation.
- Adding Page object & flows for kb article translation.
- Mapping some automated tests with existing TestRail manual tests.
- Expanding the coverage for some existing kb article tests.
- Improving the flow for some existing Edit Article Metadata tests.
- Updating the playwright.yml to contain the group messaging system suite for both scheduled & workflow dispatch executions.
- Fix twitter profile link test since twitter is now "x".
- Fix footer test.
- Added group page to POM & flows.
This coverage includes checks over the expected kb discoverability when using different accounts (non-whitelisted, whitelisted, signed out and admin). The checks are performed on the following SUMO areas: Search Results, Recent Revisions page, Localization Dashboards, KB Dashboards, Media Gallery, Article Discussions page, Frequent Topics page, What Links Here page, KB Category page & user document contributions page.
The above checks are performed against both restricted kb articles & restricted kb templates.
- Updated & Created some additional pages, flows & test data needed for testing the restricted kb articles functionality.
- Updating the workflow file to contain the newly added tests.
- Ensure that the Live status, Needs Update, Ready for L10N, Stale & Expiry Date are successfully displayed & updated according to the corresponding modifications performed at KB article level.
- Ensure that changing the kb article title is also resembled inside the KB Dashboard.
- Ensure that the kb article title link (displayed inside the KB dashboard) redirects the user to the correct kb article page.
Updated the GH playwright workflow to include the new tests in our scheduled GH run.
Also performed some code refactoring by creating 'flow functions' for some repetitive kb actions (revision creation & article deletion).
- Expanding playwright coverage over KB article revision page:
- Expanding playwright coverage over KB contributors:
- Expanding playwright coverage over the Recent Revisions dashboard:
- Updating the GH workflow file to include the newly added runs in our runs.
- Cleaning up the code a bit. Moving the cookie deletion inside the session creation function.
- Ensuring that articles cannot be deleted by a user that doesn't have the necessary permissions or while the user is signed out.
- Ensuring that the article is not deleted when clicking on the "Cancel and go back to document history" option.
- Ensuring that the only available article revision cannot be deleted (also performing page assertions for the 'Unable to delete only revision of the document' page).
- Ensuring that the user is redirected back to the article history after clicking on the "Go back to document history" option from the 'Unable to delete only revision of the document' page.
- Ensuring that the article can be successfully deleted and manually navigating to the deleted article's url will return a 404.
- Disabled the product support page tests until I find a proper fix.
- Trying to fix the create-sessions test by adding a wait.
- Updating the GH workflow file to add the updates to runners.
- Re-organized the folder structure in order to resemble the new IA better.
- Updating the workflow file to include the newly added tests in our GH runners.
- Refactored some bits and pieces.
- Updated the workflow file to schedule the newly added coverage for execution.
- Updated workflow to execute Firefox tests on Monday, Wednesday and Friday and Chrome tests on Tuesday and Thursday.
- Updating some tests, page messages and page methods.
- Adding custom wait for url & user agent retrival in test utilities.
- Adding more test data.
- Updating the workflow to include the newly added tests in our execution.