We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57dd8b5 commit 758f4ecCopy full SHA for 758f4ec
2 files changed
conftest.py
@@ -78,11 +78,10 @@ def base_url(config):
78
env = config["env"]
79
if env not in config["environments"]:
80
raise KeyError(f"Environment '{env}' not found in config")
81
-
82
url = config["environments"][env]["base_url"]
83
if not url:
84
raise ValueError(f"Base URL not configured for environment: {env}")
85
+
86
return url
87
88
@@ -119,6 +118,3 @@ def attach_allure_logs(request):
119
118
name="Failure Debug Info",
120
attachment_type=allure.attachment_type.TEXT
121
)
122
123
124
validate_workflow.py
@@ -57,6 +57,7 @@ def validate_workflow():
57
print(f"❌ Error: {e}")
58
return False
59
60
61
if __name__ == "__main__":
62
success = validate_workflow()
63
sys.exit(0 if success else 1)
0 commit comments