Fix for 33682
Also remove BeforeEach in CrossOriginTests because many tests do not need the "setup" step.
Comment From: simonbasle
Thanks for the PR @IgorOffline, although I was already working on it (as indicated by the fact that I'm assigned the issue). Your solution is going a bit too far anyway.
Note I have mistakenly referred the PR in my own version of the fix though 😅 See gh-33682
Comment From: IgorOffline
Thank you!