1 | <?php |
||
35 | class FeatureContext extends RawMinkContext implements Context { |
||
36 | |||
37 | use BasicStructure; |
||
38 | |||
39 | private $owncloudPage; |
||
40 | private $loginPage; |
||
41 | |||
42 | /** |
||
43 | * |
||
44 | * @param OwncloudPage $owncloudPage |
||
45 | * @param LoginPage $loginPage |
||
46 | */ |
||
47 | public function __construct(OwncloudPage $owncloudPage, LoginPage $loginPage) { |
||
51 | |||
52 | /** |
||
53 | * @Then a notification should be displayed with the text :notificationText |
||
54 | * @param string $notificationText |
||
55 | * @return void |
||
56 | * //TODO move this out from firewall |
||
57 | */ |
||
58 | public function aNotificationShouldBeDisplayedWithTheText($notificationText) { |
||
63 | |||
64 | /** |
||
65 | * @Then notifications should be displayed with the text |
||
66 | * @param TableNode $table table of notifications |
||
67 | * @return void |
||
68 | * //TODO move this out from firewall |
||
69 | */ |
||
70 | public function notificationsShouldBeDisplayedWithTheText(TableNode $table) { |
||
87 | |||
88 | /** |
||
89 | * @Then I should be redirected to a page with the title :title |
||
90 | * @param string $title |
||
91 | * @return void |
||
92 | */ |
||
93 | public function iShouldBeRedirectedToAPageWithTheTitle($title) { |
||
100 | |||
101 | /** |
||
102 | * @BeforeScenario |
||
103 | * @param BeforeScenarioScope $scope |
||
104 | * @return void |
||
105 | */ |
||
106 | public function setUpSuite(BeforeScenarioScope $scope) { |
||
110 | |||
111 | /** |
||
112 | * |
||
113 | * @param BeforeScenarioScope $scope |
||
114 | * @return mixed |
||
115 | */ |
||
116 | public function getSessionId(BeforeScenarioScope $scope) { |
||
122 | } |
||
123 |