<commit_before><?php
//
//$path = 'vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase.php';
//if (file_exists($path)) {
//    require_once $path;
//} else {
//    require_once dirname(__FILE__) . '/' . $path;
//}

class ManterUsuarioTest extends PHPUnit_Extensions_Selenium2TestCase {
    
    
     public function createApplication()
    {
        return require __DIR__ . "/../src/app.php";
    }
    

    protected function setUp() {
        
       
//DesiredCapabilities cap =DesiredCapabilities.firefox();

        $this->setBrowser('chrome');
        //$this->setBrowser('firefox');
        //$this->setHost('127.0.0.1');
        //$this->setPort(4444);
        $this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setDesiredCapabilities(['Browser'=>'firefox','platform'=>'ANY','version'=>'46.0']);
        //$this->ca
        
    }

    /**
     * @test
     */
    public function cadastrarUsuario() {

        $this->url("/sandbox/gestor_inscricao/web/index.php");
        $this->byXPath("//div[1]/div/div/div[3]/div/div/a")->click();
        $this->byId("nomecompleto")->value("<NAME>");
        $this->byId("email")->value("<EMAIL>");<commit_msg>alterar para firefox<commit_after><?php
//
//$path = 'vendor/phpunit/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase.php';
//if (file_exists($path)) {
//    require_once $path;
//} else {
//    require_once dirname(__FILE__) . '/' . $path;
//}

class ManterUsuarioTest extends PHPUnit_Extensions_Selenium2TestCase {
    
    
     public function createApplication()
    {
        return require __DIR__ . "/../src/app.php";
    }
    

    protected function setUp() {
        
       
//DesiredCapabilities cap =DesiredCapabilities.firefox();

        $this->setBrowser('chrome');
        //$this->setBrowser('firefox');
        //$this->setHost('127.0.0.1');
        $this->setPort(8896);
        $this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setDesiredCapabilities(['Browser'=>'firefox','platform'=>'ANY','version'=>'46.0']);
        //$this->ca
        
    }

    /**
     * @test
     */
    public function cadastrarUsuario() {

        $this->url("/sandbox/gestor_inscricao/web/index.php");
        $this->byXPath("//div[1]/div/div/div[3]/div/div/a")->click();
        $this->byId("nomecompleto")->value("<NAME>");
        $this->byId("email")->value("<EMAIL>");
{'fraction_non_alphanumeric': 0.2035878181059658, 'fraction_numerical': 0.015018773466833541, 'mean_word_length': 2.606015037593985, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 41, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '213988', 'n_tokens_mistral': 820, 'n_tokens_neox': 800, 'n_words': 87}