Using new flow for pull request. KRAFDBCK-9927

, branch off PR repo, merge your dev branch using --squash and push. Then PR.
Please update the #submit method in the page class so that it contains #awaiting_doc as a part of it. Like this:

action(:submit) { |b| b.frm.button(name: 'whatever').click; b.loading; b.awaiting_doc }

That way we can eliminate line 32 entirely.