This step allows you to add, well, steps to be taken in your test without the need of wrapping them in a subclass of Step
.
You can write things like this. Notice that the GeneralStep
can contain anything:
expect(in: &context) {
Given {
GeneralStep("I log in") {
self.login(name: "John Doe", login: "123456789", password: "***", library: "Bücherhallen Hamburg")