I want to write a "common" story for my acceptance tests in JBehave that adds an user only if he does not exists. The "createUser" story is an acceptance test case itself. I want to refer to it with GivenStories
e.g. on "modifyUser", "deleteUser" etc - but I don't want to get an error when "createUser" story wants to add an user that already exists.
How can I ensure that the "createUser" is executed only when it is needed? I can't find any solution for "conditional stories" in JBehave. I can't write the "createUser" story as idempotent too.