1 | <?php |
||
21 | class AdminContext extends AbstractContext |
||
22 | { |
||
23 | /** |
||
24 | * @var AdminPanel |
||
25 | */ |
||
26 | private $adminPanelPage; |
||
27 | |||
28 | public function __construct(AdminPanel $adminPanelPage) |
||
32 | |||
33 | /** |
||
34 | * @BeforeScenario |
||
35 | */ |
||
36 | public function resizeWindow() |
||
42 | |||
43 | /** |
||
44 | * @Given /^the following admin elements were registered$/ |
||
45 | */ |
||
46 | public function theFollowingAdminElementsWereRegistered(TableNode $table) |
||
58 | |||
59 | /** |
||
60 | * @Given /^("[^"]*" element) have following options defined$/ |
||
61 | */ |
||
62 | public function elementHaveFollowingOptionsDefined( |
||
73 | |||
74 | /** |
||
75 | * @Given /^there are following admin elements available$/ |
||
76 | */ |
||
77 | public function thereAreFollowingAdminElementsAvailable(TableNode $table) |
||
86 | |||
87 | /** |
||
88 | * @Then /^I should see "([^"]*)" title at top bar$/ |
||
89 | */ |
||
90 | public function iShouldSeeTitleAtTopBar($navbarBrandText) |
||
94 | |||
95 | /** |
||
96 | * @Given I should see :page page header :headerContent |
||
97 | */ |
||
98 | public function iShouldSeePageHeader(Page $page, $headerContent) |
||
102 | |||
103 | /** |
||
104 | * @Given /^translations are enabled in application$/ |
||
105 | */ |
||
106 | public function translationsAreEnabledInApplication() |
||
111 | |||
112 | /** |
||
113 | * @Then /^I should see language dropdown button in navigation bar with text "([^"]*)"$/ |
||
114 | * @Then /^I should see language dropdown button with text "([^"]*)"$/ |
||
115 | */ |
||
116 | public function iShouldSeeLanguageDropdownButtonInNavigationBarWithText($button) |
||
120 | |||
121 | /** |
||
122 | * @Given /^language dropdown button should have following links$/ |
||
123 | */ |
||
124 | public function languageDropdownButtonShouldHaveFollowingLinks(TableNode $dropdownLinks) |
||
132 | |||
133 | /** |
||
134 | * @When /^I click "([^"]*)" link from language dropdown button$/ |
||
135 | */ |
||
136 | public function iClickLinkFromLanguageDropdownButton($link) |
||
140 | |||
141 | /** |
||
142 | * @Transform /^"([^"]*)" element/ |
||
143 | */ |
||
144 | public function transformListNameToAdminElement(string $id): Element |
||
148 | |||
149 | /** |
||
150 | * @Transform /^(\d+)/ |
||
151 | */ |
||
152 | public function castStringToNumber(string $number): int |
||
156 | |||
157 | /** |
||
158 | * @Transform /^first|second|third$/ |
||
159 | */ |
||
160 | public function castWordToNumber(string $word): int |
||
171 | |||
172 | private function getAdminManager(): ManagerInterface |
||
176 | } |
||
177 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.