url('active-controls/index.php?page=CustomValidatorByPass'); $this->assertSourceContains('Custom Login'); $this->assertNotVisible('loginBox'); $this->byId("showLogin")->click(); $this->assertVisible("loginBox"); $this->assertNotVisible("{$base}validator1"); $this->assertNotVisible("{$base}validator2"); $this->byId("{$base}checkLogin")->click(); $this->pause(800); $this->assertVisible("{$base}validator1"); $this->assertNotVisible("{$base}validator2"); $this->type("{$base}Username", 'tea'); $this->type("{$base}Password", 'mmama'); $this->byId("{$base}checkLogin")->click(); $this->pause(800); $this->assertNotVisible("{$base}validator1"); $this->assertVisible("{$base}validator2"); $this->type("{$base}Password", 'test'); $this->byId("{$base}checkLogin")->click(); $this->pause(800); $this->assertNotVisible("{$base}validator1"); $this->assertNotVisible("{$base}validator2"); } function test_more() { $this->url('tickets/index.php?page=Ticket488'); //add test assertions here. } }