Skip to content

Commit 37d0a74

Browse files
authored
Merge pull request #739 from mozilla/tracy/disable_tests_failing_in_143.0b1
tracy/Disable tests
2 parents d6fda2b + b985003 commit 37d0a74

File tree

9 files changed

+20
-6
lines changed

9 files changed

+20
-6
lines changed

l10n_CM/run_l10n.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"zara",
5757
"cocolita",
5858
"torfs",
59-
"standaardboekhandel"
59+
"standaardboekhandel",
6060
}
6161

6262
loaded_valid_sites = valid_l10n_mappings().keys()

modules/util.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def __init__(self):
109109
"Italy": "Italia",
110110
"Spain": "España",
111111
"Poland": "Polska",
112-
"Belgium": "België"
112+
"Belgium": "België",
113113
}
114114

115115
self.fake = None
@@ -222,10 +222,12 @@ def create_localized_faker(self, country_code: str):
222222
locales = list(filter(lambda x: country_code in x, AVAILABLE_LOCALES))
223223

224224
if not locales:
225-
logging.error(f"Invalid country code `{country_code}`. No faker instance created.")
225+
logging.error(
226+
f"Invalid country code `{country_code}`. No faker instance created."
227+
)
226228
return None # No fallback
227229

228-
locale = next(filter(lambda x: 'en' in x, locales), locales[-1])
230+
locale = next(filter(lambda x: "en" in x, locales), locales[-1])
229231
try:
230232
# seed to get consistent data
231233
if self.fake is None:
@@ -564,7 +566,7 @@ def normalize_regional_phone_numbers(self, phone: str, region: str) -> str:
564566
"IT": "39",
565567
"PL": "48",
566568
"ES": "34",
567-
"BE": "32"
569+
"BE": "32",
568570
}
569571

570572
# Sub out anything that matches this regex statement with an empty string to get rid of extensions in generated phone numbers

tests/address_bar_and_search/test_default_search_provider_change_awesome_bar.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ def test_case():
1414
return "3028795"
1515

1616

17+
@pytest.mark.unstable(reason="Bug 1983836")
1718
@pytest.mark.ci
1819
def test_default_search_provider_change_awesome_bar(driver: Firefox):
1920
"""

tests/password_manager/test_password_csv_correctness.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import os
33
import re
44
import time
5+
from platform import system
56

67
import pytest
78

@@ -15,6 +16,7 @@ def test_case():
1516
return "2241522"
1617

1718

19+
@pytest.mark.skipif(system().lower().startswith("linux"), reason="Bug 1983843")
1820
@pytest.mark.headed
1921
@pytest.mark.noxvfb
2022
def test_password_csv_correctness(

tests/password_manager/test_password_csv_export.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import os
22
import time
3+
from platform import system
34

45
import pytest
56
from pynput.keyboard import Controller, Key
@@ -14,6 +15,7 @@ def test_case():
1415
return "2241521"
1516

1617

18+
@pytest.mark.skipif(system().lower().startswith("linux"), reason="Bug 1983843")
1719
@pytest.mark.headed
1820
@pytest.mark.noxvfb
1921
def test_password_csv_export(

tests/pdf_viewer/test_add_image_pdf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from pathlib import Path
2+
from platform import system
23
from time import sleep
34

45
import pytest
@@ -32,6 +33,7 @@ def add_to_prefs_list():
3233
]
3334

3435

36+
@pytest.mark.skipif(system().lower().startswith("linux"), reason="Bug 1983852")
3537
@pytest.mark.headed
3638
@pytest.mark.noxvfb
3739
def test_add_image_pdf(driver: Firefox, sys_platform, pdf_viewer: GenericPdf):

tests/preferences/test_lang_pack_changed_from_about_prefs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def add_to_prefs_list():
2828
return [("services.sync.prefs.sync-seen.intl.accept_languages", True)]
2929

3030

31+
@pytest.mark.unstable(reason="Bug 1978598")
3132
def test_lang_pack_changed_from_about_prefs(driver: Firefox):
3233
"""
3334
C1771617 - The language can be changed in about:preferences.

tests/printing_ui/test_print_to_pdf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ def file_is_somewhere():
4545
return False
4646

4747

48-
@pytest.mark.skipif(system().lower().startswith("win"), reason="Bug 1974011")
48+
@pytest.mark.skipif(
49+
system().lower().startswith("win") or system().lower().startswith("linux"),
50+
reason="Bug 1974011",
51+
)
4952
@pytest.mark.headed
5053
def test_print_to_pdf(
5154
driver: Firefox,

tests/security_and_privacy/test_downloads_from_private_not_leaked.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def delete_files_regex_string():
2828
return r"opm.*\.pdf"
2929

3030

31+
@pytest.mark.unstable(reason="Bug 1983849")
3132
@pytest.mark.slow
3233
@pytest.mark.audio
3334
def test_downloads_from_private_not_leaked(driver: Firefox, delete_files, screenshot):

0 commit comments

Comments
 (0)