From 9ef3879e97f38ec65a8811b09a4aa126bcabede0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Lucas?= Date: Fri, 13 Dec 2013 08:53:28 +0100 Subject: [PATCH] For now I'll comment the unneeded test (that last one check all that). --- test/Sauce.php | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/test/Sauce.php b/test/Sauce.php index 984f335..bd38629 100644 --- a/test/Sauce.php +++ b/test/Sauce.php @@ -111,32 +111,32 @@ class Cops extends Sauce\Sausage\WebDriverTestCase return mb_detect_encoding($string) . "X" . $ascii; } - public function testTitle() - { - $driver = $this; - $title_test = function($value) use ($driver) { - $text = $driver->byXPath('//h1')->text (); - return $text == $value; - }; + // public function testTitle() + // { + // $driver = $this; + // $title_test = function($value) use ($driver) { + // $text = $driver->byXPath('//h1')->text (); + // return $text == $value; + // }; - $author = $this->byXPath ('//h2[contains(text(), "Authors")]'); - $author->click (); + // $author = $this->byXPath ('//h2[contains(text(), "Authors")]'); + // $author->click (); - $this->spinAssert("Author Title", $title_test, [ "AUTHORS" ]); - } + // $this->spinAssert("Author Title", $title_test, [ "AUTHORS" ]); + // } - public function testCog() - { - $cog = $this->byId ("searchImage"); + // public function testCog() + // { + // $cog = $this->byId ("searchImage"); - $search = $this->byName ("query"); - $this->assertFalse ($search->displayed ()); + // $search = $this->byName ("query"); + // $this->assertFalse ($search->displayed ()); - $cog->click (); + // $cog->click (); - $search = $this->byName ("query"); - $this->assertTrue ($search->displayed ()); - } + // $search = $this->byName ("query"); + // $this->assertTrue ($search->displayed ()); + // } public function testFilter() {