File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
tests/PerFiIntegrationTest Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,13 @@ Feature: Accounts
99 Given I want to add a new asset account "Cash"
1010 When I add the new account
1111 Then I should have an asset account called "Cash"
12+
13+ Scenario : Adding a new expense account
14+ Given I want to add a new expense account "Groceries"
15+ When I add the new account
16+ Then I should have an expense account called "Groceries"
17+
18+ Scenario : Adding a new income account
19+ Given I want to add a new income account "Salaries"
20+ When I add the new account
21+ Then I should have an income account called "Salaries"
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public function iAddTheNewAccount()
4545 public function iShouldHaveAnAccountCalled ($ type , $ title )
4646 {
4747 $ this ->visitPath ('/accounts ' );
48- $ this ->getSession ()->wait (5000 , "document.getElementById('accounts-table- " .$ type ."').innerHTML != '' " );
48+ $ this ->getSession ()->wait (10000 , "document.getElementById('accounts-table- " .$ type ."').innerHTML != '' " );
4949 $ this ->assertPageContainsText ('Cash ' );
5050 }
5151}
You can’t perform that action at this time.
0 commit comments