| 1 | <?php |
||
| 15 | class SettingsContext implements Context |
||
| 16 | { |
||
| 17 | use CommonContextTrait; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @Given I go to settings page |
||
| 21 | */ |
||
| 22 | public function iGoToSettingsPage() |
||
| 23 | { |
||
| 24 | //$this->visit('/settings'); |
||
| 25 | $url = $this->buildUrl('lang/settings'); |
||
| 26 | $this->visit($url); |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @Given I go to email template settings page |
||
| 31 | */ |
||
| 32 | public function iGoToEmailTemplatePage() |
||
| 33 | { |
||
| 34 | $url = $this->buildUrl('lang/settings',[ |
||
| 35 | 'module' => 'Applications' |
||
| 36 | ]); |
||
| 37 | $this->visit($url); |
||
| 38 | } |
||
| 39 | } |
||
| 40 |