Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand playwright coverage over the new top-navbar options #6133

Merged

Conversation

emilghittasv
Copy link
Collaborator

  • Adding new helper functions inside BasePage.
  • 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:
    • Explore Help Articles > Explore by product top-navbar options redirects.
    • Explore Help Articles > Explore by topic top-navbar options redirects + the default "Filter by product" & "All Topics" filter when accessing the page.
    • Community Forums > Browse by product top-navbar options redirects.
    • Community Forums > Browse all forum threads by topic top-navbar options redirects + the filter displayed inside the "Topics" dropdown.
    • Ask a Question top-navbar option redirects.
    • Contribute > Contributor Discussions top-navbar redirects + the highlighted option inside the "Contributor discussions" side-navbar
…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
@emilghittasv emilghittasv requested a review from escattone July 22, 2024 16:52
@emilghittasv emilghittasv merged commit 99d6154 into mozilla:main Jul 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants