Skip to content

Commit

Permalink
[QOLDEV-915] fix handling of schema_upload field
Browse files Browse the repository at this point in the history
- Attach a file rather than entering a string
  • Loading branch information
ThrawnCA committed Jul 15, 2024
1 parent b0023c3 commit 3fd7682
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,12 @@ def create_resource_from_params(context, resource_params):
if value == "default":
value = resource_default_schema
_enter_manual_schema(context, value)
elif key == "schema_upload":
if value == "default":
value = "test-resource_schemea.json"
context.execute_steps(u"""
When I attach the file "{0}" to "schema_upload"
""".format(value))
else:
context.execute_steps(u"""
When I fill in "{0}" with "{1}" if present
Expand Down

0 comments on commit 3fd7682

Please sign in to comment.