We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d33d6dc commit 169341aCopy full SHA for 169341a
features/environment.py
@@ -4,6 +4,7 @@
4
import sys
5
import uuid
6
from behave.model import Scenario
7
+from behave.contrib.scenario_autoretry import patch_scenario_with_autoretry
8
from dotenv import load_dotenv
9
from playwright.sync_api import sync_playwright, expect
10
from methods.api import eps_api_methods
@@ -232,6 +233,9 @@ def before_feature(context, feature):
232
233
if "skip-sandbox" in feature.tags and "sandbox" in environment:
234
feature.skip("Marked with @skip-sandbox")
235
return
236
+ if environment == "internal-dev":
237
+ for scenario in feature.walk_scenarios():
238
+ patch_scenario_with_autoretry(scenario, max_attempts=3)
239
240
241
def before_scenario(context, scenario):
0 commit comments