Make a task through the list's own field ("Add a task…"), then Enter. It goes after the scenario.
Examples
When I create a task "Webship test new" in the project "Webship site"
When we create a task "Webship test new"
And I create a task "Webship test new" in the project "Webship site"
And we create a task "Webship test new"
When we create a task "Webship test new" in the project "Webship site"
Pattern
When(/^(I |we )*create a task "([^"]*)"(?: in the project "([^"]*)")?$/, …)
Part of @webship-js/vikunja-steps (github.com/webship/vikunja-steps), a step pack for Webship-js 2.0.x.