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

Playwright question_page refactor & expand coverage to anti-spam measures #6410

Merged

Conversation

emilghittasv
Copy link
Collaborator

  • Expand playwright coverage to anti-spam measures in test_anti_spam_measures.py by adding two tests (one that checks for the presence of the anti_spam banner across different sumo pages and one for verifying that valid TLD-s posted as question replies are automatically flagged as spam)
  • Adding anti-spam measures test markers to pytest.ini
  • Adding flagged spam question reply banner text to question_page_messages.py
  • Refactoring the question_page locators and adding functions to the newly added locators related to the spam banner locators.
  • Adding the antiSpamTests to the playwright.yml

…measures.py by adding two tests (one that checks for the presence of the anti_spam banner across different sumo pages and one for verifying that valid TLD-s posted as question replies are automatically flagged as spam)

- Adding anti-spam measures test markers to pytest.ini
- Adding flagged spam question reply banner text to question_page_messages.py
- Refactoring the question_page locators and adding functions to the newly added locators related to the spam banner locators.
- Adding the antiSpamTests to the playwright.yml
@emilghittasv emilghittasv merged commit ad65cfd into mozilla:main Dec 12, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants