Skip to content

Commit 28d4057

Browse files
author
Neubert, Sebastian
committed
add test for comparing image with different sizes, fix typo in comment #30
1 parent da7d132 commit 28d4057

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
3+
class NotSameSizeCest
4+
{
5+
6+
/**
7+
* Comparing a div, that change it's size
8+
*/
9+
public function seeVisualChangesAfterSizeChanges(WebGuy $I, $scenario)
10+
{
11+
$I->amOnPage("/VisualCeption/notSameSize.php");
12+
$I->seeVisualChanges("getRedDiv", "div");
13+
14+
$I->wait(1);
15+
16+
// the test has to be called twice for comparison on the travis server
17+
$I->amOnPage("/VisualCeption/notSameSize.php");
18+
$I->seeVisualChanges("getRedDiv", "div");
19+
}
20+
}

test/integration/tests/acceptance/TimeComparisonCest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class TimeComparisonCest
44
{
55

66
/**
7-
* Coparing a div that renders the current time
7+
* Comparing a div that renders the current time
88
*/
99
public function seeVisualChanges (WebGuy $I, $scenario)
1010
{

0 commit comments

Comments
 (0)