add new behat test method for waiting on AJAX #2675