Add a wait_for_ajax call to prevent Spinach failure
There may be a race condition after a user clicks "Rebase" and when the DatabaseCleaner wipes all data.
There may be a race condition after a user clicks "Rebase" and when the DatabaseCleaner wipes all data.