url('tickets/index.php?page=Ticket592'); $this->assertEquals($this->title(), "Verifying Ticket 592"); $this->assertText("{$base}label1", "Label 1"); $this->byId("{$base}radio1")->click(); $this->byId("{$base}button1")->click(); $this->pause(800); $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{}'); $this->byId("{$base}radio2")->click(); $this->byId("{$base}button1")->click(); $this->pause(800); $this->assertText("{$base}label1", 'radio1 checked:{1} radio2 checked:{1}'); $this->byId("{$base}bad_radio1")->click(); $this->byId("{$base}button2")->click(); $this->pause(800); $this->assertText("{$base}label1", 'bad_radio1 checked:{1} bad_radio2 checked:{}'); $this->byId("{$base}bad_radio2")->click(); $this->byId("{$base}button2")->click(); $this->pause(800); $this->assertText("{$base}label1", 'bad_radio1 checked:{} bad_radio2 checked:{1}'); $this->byId("{$base}bad_radio3")->click(); $this->byId("{$base}button3")->click(); $this->pause(800); $this->assertText("{$base}label1", 'bad_radio3 checked:{1} bad_radio4 checked:{}'); $this->byId("{$base}bad_radio4")->click(); $this->byId("{$base}button3")->click(); $this->pause(800); $this->assertText("{$base}label1", 'bad_radio3 checked:{} bad_radio4 checked:{1}'); } }