Skip to content

Commit 797b918

Browse files
committed
fixed tests
1 parent 4dd18d3 commit 797b918

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

tests/support/Step/RootWatcher.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class RootWatcher extends \WebGuy
66
public function seeInRootPage($message)
77
{
88
$I = $this;
9+
$I->amOnPage('/');
910
$I->see($message);
1011
}
1112
}

tests/unit/Codeception/Module/TestsForWeb.php

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1268,20 +1268,6 @@ public function testSubmitFormWithTwoSubmitButtonsSubmitsCorrectValueAfterFillFi
12681268
$this->assertEquals('bob', $form['username']);
12691269
}
12701270

1271-
/*
1272-
* @env chrome
1273-
*
1274-
* https://github.com/Codeception/Codeception/issues/1274
1275-
*/
1276-
public function testSubmitFormWithDocRelativePathForAction()
1277-
{
1278-
$this->module->amOnPage('/form/example12');
1279-
$this->module->submitForm('form', array(
1280-
'test' => 'value'
1281-
));
1282-
$this->module->seeCurrentUrlEquals('/form/example11');
1283-
}
1284-
12851271
/**
12861272
* @env chrome
12871273
*/

0 commit comments

Comments
 (0)