<commit_before>package controllers

import org.scalatest._

import play.api.test._
import play.api.test.Helpers._
import org.openqa.selenium.htmlunit.HtmlUnitDriver

/**
 * A functional test will fire up a whole play application in a real (or headless) browser
 */
class ApplicationFT extends FunSpec with Matchers {
  
  describe ("Application") {
    
    it ("should work from within a browser") {
      running(TestServer(3333), new HtmlUnitDriver()) { browser =>

        browser.goTo("http://localhost:3333/")

        browser.pageSource should include ("Sign In")
      }
    }
    
  }
  
}<commit_msg>first working test with phantomjsdriver<commit_after>package controllers

import org.scalatest._

import play.api.test._
import play.api.test.Helpers._
import org.openqa.selenium.htmlunit.HtmlUnitDriver
import org.openqa.selenium.phantomjs.PhantomJSDriver

/**
 * A functional test will fire up a whole play application in a real (or headless) browser
 */
class ApplicationFT extends FunSpec with Matchers {
  
  describe ("Application") {
    
    it ("should work from within a browser") {
      running(TestServer(3333), new PhantomJSDriver()) { browser =>

        browser.goTo("http://localhost:3333/")

        browser.pageSource should include ("Sign In")
      }
    }
    
  }
  
}
{'fraction_non_alphanumeric': 0.10153846153846154, 'fraction_numerical': 0.012307692307692308, 'mean_word_length': 3.3222591362126246, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '3613093', 'n_tokens_mistral': 398, 'n_tokens_neox': 372, 'n_words': 108}