Migrate dirty_submit to Jest
As a part of Jestodous of epic this MR brings over the karma test in dirty_submit
to Jest.
These tests have not been written in this instance, they are merely migrated trying to preserve as much coverage as possible.
Closes #194229 (closed)
Edited by Nicolò Maria Mezzopera