fix screenshot filename
This commit is contained in:
parent
9b985107fe
commit
ba63cceeb1
@ -22,7 +22,7 @@ abstract class BrowserTest extends \PHPUnit_Extensions_Selenium2TestCase{
|
||||
if ($this->hasFailed()) {
|
||||
if($path=getenv('SeleniumScreenshotPath')){
|
||||
$filedata = $this->currentScreenshot();
|
||||
file_put_contents($path.get_class($this).':'.$this->getName().'.png', $filedata);
|
||||
file_put_contents($path.get_class($this).'::'.$this->getName().'.png', $filedata);
|
||||
}
|
||||
}
|
||||
$this->stop();
|
||||
|
Loading…
Reference in New Issue
Block a user