public function testAcceptPopup() { $this->module->amOnPage('/form/popup'); $this->module->click('Confirm'); $this->module->acceptPopup(); $this->module->see('Yes', '#result'); }