Skip to content

Commit 41bb7da

Browse files
author
Nils Langner
committed
Added new integration test
1 parent 95ee846 commit 41bb7da

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

test/integration/tests/acceptance/TimeComparisonCest.php

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,25 @@ class TimeComparisonCest
66
/**
77
* Coparing a div that renders the current time
88
*/
9-
public function compareTimeString (WebGuy $I, $scenario)
9+
public function seeVisualChanges (WebGuy $I, $scenario)
1010
{
1111
$I->amOnPage("/VisualCeption/seeVisualChanges.php");
1212
$I->seeVisualChanges("block", "#theblock");
1313

1414
// the test has to be called twice for comparison on the travis server
15-
$I->amOnPage("/VisualCeption/time.php");
15+
$I->amOnPage("/VisualCeption/seeVisualChanges.php");
1616
$I->seeVisualChanges("block", "#theblock");
1717
}
18-
}
18+
19+
public function dontSeeVisualChanges (WebGuy $I, $scenario)
20+
{
21+
$I->amOnPage("/VisualCeption/dontSeeVisualChanges.php");
22+
$I->dontSeeVisualChanges("block", "#theblock");
23+
24+
// the test has to be called twice for comparison on the travis server
25+
$I->amOnPage("/VisualCeption/dontSeeVisualChanges.php");
26+
$I->dontSeeVisualChanges("block", "#theblock");
27+
}
28+
29+
}
30+

0 commit comments

Comments
 (0)