Chris@17: drupalGet('ajax_validation_test'); Chris@17: $page = $this->getSession()->getPage(); Chris@17: $assert = $this->assertSession(); Chris@17: Chris@17: // Partially complete the form with a string. Chris@17: $page->fillField('drivertext', 'some dumb text'); Chris@17: // Move focus away from this field to trigger AJAX. Chris@17: $page->findField('spare_required_field')->focus(); Chris@17: Chris@17: // When the AJAX command updates the DOM a