I have a step in my scenario that fills in multiple text fields and selects options from a dropdown. I want to assert that the text entered and the option selected was correct for each.
expect(action1).to.eventually.have.string('some text').and.notify(callback);
expect(action2).to.eventually.have.string('some text').and.notify(callback);
expect(action3).to.eventually.have.string('some text').and.notify(callback);
The problem I'm encountering is that the if the first or second expect actions pass then any following actions will not get executed leading to false positives.
Ideally I'm looking for a means to notify without the callback until the last expect. Anyone know how this might be done?