Hello,

We like to pass a white space from our story through the step definition. How 
can we cope with this ?


Example:
Scenario: User can not sign in when leaving fields blank
Given I am on the homepage
When I login with username and password


Example step definition class:
    @When("I login with username $username and password $password")
    public void loginAs(String username, String password) {
        pages.loginPage().login(username, password);
    }

How can I adjust it in order to pass white spaces.


Looking forward to an answer.

Reply via email to