@samitouri / QOS-React-2 / commits / d64f34b5d8

inserted iframes can be targeted after a delay

Thomas Aylott committed Oct 31, 2013 at 14:27 UTC d64f34b5d849bb062f98316f16b95190348a0a62
1 file changed +3 -1
test/reportTestResults.browser.js
+3 -1
@@ -68,7 +68,9 @@ console.warn = function(message){
68 done(null, event);
69 }
70 document.body.appendChild(postReportingForm);
71 - postReportingForm.submit();
71 + setTimeout(function(){
72 + postReportingForm.submit();
73 + },0);
74 }
75
76 }(window.jasmine.getEnv()));