This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| return array( | |
| 'zfcrbac' => array( | |
| 'firewalls' => array( | |
| 'ZfcRbac\Firewall\Controller' => array( | |
| array('controller' => 'index', 'actions' => 'index', 'roles' => 'guest') | |
| ), | |
| 'ZfcRbac\Firewall\Route' => array( | |
| array('route' => 'profiles/add', 'roles' => 'member'), | |
| array('route' => 'admin/*', 'roles' => 'administrator') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Feature: google | |
| I want to search something on google | |
| Scenario: Search something on google | |
| Given I am on "/" | |
| And I fill in "q" with "selenium" | |
| When I press "Google Search" | |
| And I click the first link | |
| Then I should see "selenium" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function waitForMail($subject) { | |
| $lastExceptionMessage = ''; | |
| for ($second = 0; ; $second+=2) { | |
| if ($second > 45) { | |
| $this->fail( | |
| "WaitFor timeout. \n" | |
| . "Last exception message: \n" . $lastExceptionMessage | |
| ); | |
| } | |
| $this->clickAndWait('link=Search'); |