<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;
//}      
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
  
/**
 * Description of ManterPagamentoteste
 *
 * @author <NAME>
 */
class ManterPagamentoteste  extends PHPUnit_Extensions_Selenium2TestCase {
    
      public function createApplication()
    {
        return require __DIR__ . "/../src/app.php";
    }
    
           
    //put your code here
      protected function setUp() {
         // System.
          
        $this->setBrowser('blablablablabla');
        //$this->setPort(4444);
        //$this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setHost('http://jenkins.mastercase.net:4444/wd/hub');
        $this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setBrowserUrl('http://www.google.com.br/');
       } 
   
    /**                                          
     * @test                                          
     */                                                       
    public function pagamentoBoleto() {
        //$this->url('http://www.google.com.br/');
        $this->url("/sandbox/gestor_inscricao/web/");
        
        $this->byId("siteuser-email")->value("<EMAIL>");
        $this->byId("siteuser-senha")->value("!12teste");
        $this->byXPath("//div[1]/div/div/div[2]/div/div/form/select")->click();
        $this->byXPath("//div[1]/div/div/div[2]/div/div/form/select/option[4]")->click();
        // ERROR: Caught exception [TypeError: value.replace is not a function]
        $this->byXPath("//button[@type='submit']")->click();
        $this->byCssSelector("button.btn.btn-primary")->click();
        $this->byId("TABELA_BOLETO")->click();
        $this->byId("gerar_boleto")->click();
        sleep(5);<commit_msg>adicionado cookies<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;
//}      
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
  
/**
 * Description of ManterPagamentoteste
 *
 * @author <NAME>
 */
class ManterPagamentoteste  extends PHPUnit_Extensions_Selenium2TestCase {
    
      public function createApplication()
    {
        return require __DIR__ . "/../src/app.php";
    }
    
           
    //put your code here
      protected function setUp() {
         // System.
          
        $this->setBrowser('chrome');
        //$this->setPort(4444);
        //$this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setHost('http://jenkins.mastercase.net:4444/wd/hub');
        $this->setBrowserUrl('http://www1.mastercase.net/');
        //$this->setBrowserUrl('http://www.google.com.br/');
       } 
   
    /**                                          
     * @test                                          
     */                                                       
    public function pagamentoBoleto() {
        //$this->url('http://www.google.com.br/');
        $this->url("/sandbox/gestor_inscricao/web/");
        
        $this->byId("siteuser-email")->value("<EMAIL>");
        $this->byId("siteuser-senha")->value("!12teste");
        $this->byXPath("//div[1]/div/div/div[2]/div/div/form/select")->click();
        $this->byXPath("//div[1]/div/div/div[2]/div/div/form/select/option[4]")->click();
        // ERROR: Caught exception [TypeError: value.replace is not a function]
        $this->byXPath("//button[@type='submit']")->click();
        $this->byCssSelector("button.btn.btn-primary")->click();
        $this->byId("TABELA_BOLETO")->click();
        $this->byId("gerar_boleto")->click();
        sleep(5);
{'fraction_non_alphanumeric': 0.18440057775637939, 'fraction_numerical': 0.009629272989889264, 'mean_word_length': 1.9978354978354977, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '791846', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1275, 'n_words': 182}