open("active-controls/index.php?page=ControlAdapterTest"); $this->assertTextPresent('Control Adapter - State Tracking Tests'); $this->click('button2'); $this->assertAlert('ok'); $this->click('test6'); $this->pause(500); $this->click('test7'); $this->pause(500); $this->click('test8'); $this->pause(500); $this->click('test9'); $this->pause(500); $this->click('button1'); $this->assertAlert('haha!'); $this->click('button2'); $this->assertAlert('ok'); $this->assertAlert('baz!'); } } ?>