Needed to be a javascript test, and needed to wait everywhere.