You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ah. That's because the transformation from test -> code lowercases the arguments to the step so that they'll be consistently pythonic (by convention python methods take underscore_case instead of camelCase).
If you use the enter text step instead (it can be defined in the setup method along with click, etc.)::
self.enter_text = self.cli_steps.enter_text
You can then use this::
- Enter text:
item: usernameInput
text: foo@bar.com
- Enter text:
item: passwordInput
text: password
Thanks for bringing it up. I might have to rethink this.
When creating a test like this:
In the function fill_form from engine.py
The id is received as usernameinput instead of usernameInput.
The text was updated successfully, but these errors were encountered: