do the hooks support some sort of flagging when I'm done with the hook, say, by returning promise?
@christian-bromann so by using that boilerplate, that would be my js spec? and inside that I coudl call test1(), test2(), test3()?
@slawomir-brzezinski-at-travcorp yes, hooks support promises, so your test won’t start after that promise is fullfilled or rejected
@llaskin basically yes
but here is the thing why I don’t understand you don’t use BDD, let’s say one of your tests fails somewhere in the middle..you will have a hard time to figure out what exactly happened and where it broke and what feature broke whereas when you split your test in multiple it blocks and make use of before hooks to setup tests you can seperate them clearly and don’t make tests dependend on each other
I just can’t see the advantage of writing a huge chain of commands