Fix test fails: add interval to waiting for iframe