public function _changeTo(WebGuy $I, $datastore = 'Candidate') { $I->selectOption('#form_source', $datastore); $I->expectTo('change datastore to ' . $datastore); $I->waitForElementNotVisible('#ajax-spinner'); $I->waitForText('Config data only'); }