Skip to content
Snippets Groups Projects
Verified Commit c2c7bebd authored by Varac's avatar Varac
Browse files

Use {section} parameter in login step

parent 913cf207
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,6 @@ def step_impl(context, section, user, cred_type, element):
elem = context.behave_driver.get_element(element)
elem.clear()
value = context.keycloak[user][cred_type]
context_section = getattr(context, section)
value = context_section[user][cred_type]
elem.send_keys(value)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment