Skip to content

Commit 1aecc7c

Browse files
authored
Merge pull request #6954 from emilghittasv/playwright-fix-failing-tests-due-to-monitor
Playwright: Fix test failures caused by Monitor
2 parents 0c8c896 + 7d70029 commit 1aecc7c

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

playwright_tests/test_data/aaq_question.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,12 @@
128128
"Search, tag, and share": "search-tag-and-share",
129129
"Settings": "settings",
130130
"default_slug": "focus-firefox"
131+
},
132+
"Mozilla Monitor": {
133+
"Passwords and sign in": "passwords-and-sign-in",
134+
"Privacy and security": "privacy-and-security",
135+
"Settings": "settings",
136+
"default_slug": "monitor"
131137
}
132138
}
133139
}

playwright_tests/test_data/general_data.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
"Firefox for Enterprise",
77
"Thunderbird",
88
"Thunderbird for Android",
9-
"Firefox Focus"
9+
"Firefox Focus",
10+
"Mozilla Monitor"
1011
],
1112
"premium_products": [
1213
"MDN Plus",
1314
"Firefox Relay",
14-
"Mozilla Account",
15-
"Mozilla Monitor"
15+
"Mozilla Account"
1616
],
1717
"subscription_redirects":
1818
{

playwright_tests/tests/ask_a_question_tests/aaq_tests/test_aaq_form_page.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def test_system_details_information(page: Page, create_user_factory):
415415
with allure.step("Navigating to each product aaq form and adding data without "
416416
"submitting the form"):
417417
for product in utilities.general_test_data["freemium_products"]:
418-
if product == "Thunderbird" or product == "Thunderbird for Android":
418+
if product in ("Thunderbird", "Thunderbird for Android", "Mozilla Monitor"):
419419
continue
420420
else:
421421
utilities.navigate_to_link(

0 commit comments

Comments
 (0)