This step definition involves entering a specific value into a designated field on the website being tested, identified by its label.
When (I|we)* fill in "([^"]*)?" with "([^"]*)?"
This step is typically used when a specific input field needs to be filled with a particular value to trigger an event whose outcome depends on the entered value.
Example by label:
When I fill in "Username" with "John Smith"