@@ -33,24 +33,24 @@ public function dontSeeVisualChanges (WebGuy $I, $scenario)
3333 public function seeVisualChangesAndHideElement (WebGuy $ I , $ scenario )
3434 {
3535 $ I ->amOnPage ("/VisualCeption/seeVisualChanges.php " );
36- $ I ->seeVisualChanges ("body " , "body " , "#intro " );
36+ $ I ->seeVisualChanges ("hideTheIntro " , "body " , "#intro " );
3737
3838 $ I ->wait (1 );
3939
4040 // the test has to be called twice for comparison on the travis server
4141 $ I ->amOnPage ("/VisualCeption/seeVisualChanges.php " );
42- $ I ->seeVisualChanges ("body " , "body " , array ("#intro " ));
42+ $ I ->seeVisualChanges ("hideTheIntro " , "body " , array ("#intro " ));
4343 }
4444
4545 public function dontSeeVisualChangesAndHideElement (WebGuy $ I , $ scenario )
4646 {
4747 $ I ->amOnPage ("/VisualCeption/seeVisualChanges.php " );
48- $ I ->dontSeeVisualChanges ("body " , "body " , "#theblock " );
48+ $ I ->dontSeeVisualChanges ("hideTheBlock " , "body " , "#theblock " );
4949
50- $ I ->wait (2 );
50+ $ I ->wait (1 );
5151
5252 // the test has to be called twice for comparison on the travis server
5353 $ I ->amOnPage ("/VisualCeption/seeVisualChanges.php " );
54- $ I ->dontSeeVisualChanges ("body " , "body " , array ("#theblock " ));
54+ $ I ->dontSeeVisualChanges ("hideTheBlock " , "body " , array ("#theblock " ));
5555 }
5656}
0 commit comments