How to test a form submit in QUnit

How to test a form submit in QUnit

I would need to test the a form submit but cannot see on how to do this in QUnit.
Because a new page will be loaded it most likely involves the use of an "iframe" but I cannot really see on how to do this and any help or example would be very much appreciated.

A typical use case would be a submit of a form that will be processed in the backend and returns a new page and the content of the page must be checked against the original form content.

Please also note that I'm aware that this can be quite simply be done by "emulating" the actual submit using an ajax call but I would need to actually test the actual submit and new page retrieval.