doSelectTriggerTests example


  public function testJavascriptStates() {
    $this->doCheckboxTriggerTests();
    $this->doCheckboxesTriggerTests();
    $this->doTextfieldTriggerTests();
    $this->doRadiosTriggerTests();
    $this->doSelectTriggerTests();
    $this->doMultipleTriggerTests();
    $this->doNestedTriggerTests();
  }

  /** * Tests states of elements triggered by a checkbox element. */
  protected function doCheckboxTriggerTests() {
    $this->drupalGet('form-test/javascript-states-form');
    $page = $this->getSession()->getPage();

    
Home | Imprint | This part of the site doesn't use cookies.