Skip to content

Commit a8b4f26

Browse files
increase reruns
1 parent cd803b8 commit a8b4f26

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/l10n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ jobs:
266266
$line = $_
267267
Write-Host "Running tests for: $line"
268268
try {
269-
pipenv run python -m l10n_CM.run_l10n --fx-executable="$env:FX_EXECUTABLE" $line
269+
pipenv run python -m l10n_CM.run_l10n --reruns 4 --fx-executable="$env:FX_EXECUTABLE" $line
270270
} catch {
271271
$SCRIPT_EXIT_CODE = $_.Exception.HResult
272272
}

ci_l10n_pyproject_headed.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ markers = [
1515
"noxvfb: tests that should not run in xvfb sessions"
1616
]
1717

18-
addopts = "-vs --ci --json-report --json-report-file artifacts/report_headed.json -n auto --reruns 5 --reruns-delay 3 --html=artifacts/report_headed.html"
18+
addopts = "-vs --ci --json-report --json-report-file artifacts/report_headed.json -n auto --reruns 4 --reruns-delay 3 --html=artifacts/report_headed.html"
1919

2020
[tool.ruff]
2121
target-version = "py310"

l10n_CM/Unified/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ def get_html_files(live_site, region):
4242

4343
@pytest.fixture()
4444
def region():
45-
return os.environ.get("FX_REGION", "US")
45+
return os.environ.get("FX_REGION", "FR")
4646

4747

4848
@pytest.fixture()
4949
def live_site():
50-
return os.environ.get("CM_SITE", "demo")
50+
return os.environ.get("CM_SITE", "fnac")
5151

5252

5353
@pytest.fixture()

modules/browser_object_autofill_popup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
from time import sleep
23
from typing import Union
34

45
from selenium.webdriver.remote.webelement import WebElement

0 commit comments

Comments
 (0)