@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * @return array |
|
13 | + * @return string |
|
14 | 14 | */ |
15 | 15 | public function getSuccessResponse() |
16 | 16 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return array |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getFailureResponse() |
59 | 59 | { |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * @return array |
|
13 | + * @return string |
|
14 | 14 | */ |
15 | 15 | public function getSuccessResponse() |
16 | 16 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return array |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getFailureResponse() |
59 | 59 | { |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * @return array |
|
13 | + * @return string |
|
14 | 14 | */ |
15 | 15 | public function getSuccessResponse() |
16 | 16 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return array |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getFailureResponse() |
59 | 59 | { |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * @return array |
|
13 | + * @return string |
|
14 | 14 | */ |
15 | 15 | public function getSuccessResponse() |
16 | 16 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @return array |
|
56 | + * @return string |
|
57 | 57 | */ |
58 | 58 | public function getFailureResponse() |
59 | 59 | { |
@@ -6,11 +6,6 @@ |
||
6 | 6 | // @codingStandardsIgnoreFile |
7 | 7 | |
8 | 8 | use Codeception\Module\WebDriver; |
9 | -use SprykerTest\Shared\Propel\Helper\ConnectionHelper; |
|
10 | -use SprykerTest\Shared\Testify\Helper\Environment; |
|
11 | -use SprykerTest\Shared\Config\Helper\ConfigInit; |
|
12 | -use Transfer\Module\TransferGenerate; |
|
13 | -use SprykerTest\Shared\Propel\Helper\PropelInstallHelper; |
|
14 | 9 | use SprykerTest\Shared\Application\Helper\YvesHelper; |
15 | 10 | use SprykerTest\Shared\Application\Helper\ZedHelper; |
16 | 11 | use SprykerTest\Shared\Sales\Helper\SalesHelper; |
@@ -32,7 +32,8 @@ discard block |
||
32 | 32 | * @param TestInterface $test |
33 | 33 | * @see \Codeception\Module\WebDriver::debugWebDriverLogs() |
34 | 34 | */ |
35 | - public function debugWebDriverLogs($test = null) { |
|
35 | + public function debugWebDriverLogs($test = null) |
|
36 | + { |
|
36 | 37 | return $this->getScenario()->runStep(new \Codeception\Step\Action('debugWebDriverLogs', func_get_args())); |
37 | 38 | } |
38 | 39 | |
@@ -60,7 +61,8 @@ discard block |
||
60 | 61 | * @return mixed |
61 | 62 | * @see \Codeception\Module\WebDriver::amOnSubdomain() |
62 | 63 | */ |
63 | - public function amOnSubdomain($subdomain) { |
|
64 | + public function amOnSubdomain($subdomain) |
|
65 | + { |
|
64 | 66 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnSubdomain', func_get_args())); |
65 | 67 | } |
66 | 68 | |
@@ -82,7 +84,8 @@ discard block |
||
82 | 84 | * @param $name |
83 | 85 | * @see \Codeception\Module\WebDriver::makeScreenshot() |
84 | 86 | */ |
85 | - public function makeScreenshot($name = null) { |
|
87 | + public function makeScreenshot($name = null) |
|
88 | + { |
|
86 | 89 | return $this->getScenario()->runStep(new \Codeception\Step\Action('makeScreenshot', func_get_args())); |
87 | 90 | } |
88 | 91 | |
@@ -102,7 +105,8 @@ discard block |
||
102 | 105 | * @param int $height |
103 | 106 | * @see \Codeception\Module\WebDriver::resizeWindow() |
104 | 107 | */ |
105 | - public function resizeWindow($width, $height) { |
|
108 | + public function resizeWindow($width, $height) |
|
109 | + { |
|
106 | 110 | return $this->getScenario()->runStep(new \Codeception\Step\Action('resizeWindow', func_get_args())); |
107 | 111 | } |
108 | 112 | |
@@ -125,7 +129,8 @@ discard block |
||
125 | 129 | * Conditional Assertion: Test won't be stopped on fail |
126 | 130 | * @see \Codeception\Module\WebDriver::seeCookie() |
127 | 131 | */ |
128 | - public function canSeeCookie($cookie, $params = null) { |
|
132 | + public function canSeeCookie($cookie, $params = null) |
|
133 | + { |
|
129 | 134 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCookie', func_get_args())); |
130 | 135 | } |
131 | 136 | /** |
@@ -145,7 +150,8 @@ discard block |
||
145 | 150 | * @return mixed |
146 | 151 | * @see \Codeception\Module\WebDriver::seeCookie() |
147 | 152 | */ |
148 | - public function seeCookie($cookie, $params = null) { |
|
153 | + public function seeCookie($cookie, $params = null) |
|
154 | + { |
|
149 | 155 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCookie', func_get_args())); |
150 | 156 | } |
151 | 157 | |
@@ -163,7 +169,8 @@ discard block |
||
163 | 169 | * Conditional Assertion: Test won't be stopped on fail |
164 | 170 | * @see \Codeception\Module\WebDriver::dontSeeCookie() |
165 | 171 | */ |
166 | - public function cantSeeCookie($cookie, $params = null) { |
|
172 | + public function cantSeeCookie($cookie, $params = null) |
|
173 | + { |
|
167 | 174 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCookie', func_get_args())); |
168 | 175 | } |
169 | 176 | /** |
@@ -178,7 +185,8 @@ discard block |
||
178 | 185 | * @return mixed |
179 | 186 | * @see \Codeception\Module\WebDriver::dontSeeCookie() |
180 | 187 | */ |
181 | - public function dontSeeCookie($cookie, $params = null) { |
|
188 | + public function dontSeeCookie($cookie, $params = null) |
|
189 | + { |
|
182 | 190 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCookie', func_get_args())); |
183 | 191 | } |
184 | 192 | |
@@ -202,7 +210,8 @@ discard block |
||
202 | 210 | * @return mixed |
203 | 211 | * @see \Codeception\Module\WebDriver::setCookie() |
204 | 212 | */ |
205 | - public function setCookie($cookie, $value, $params = null) { |
|
213 | + public function setCookie($cookie, $value, $params = null) |
|
214 | + { |
|
206 | 215 | return $this->getScenario()->runStep(new \Codeception\Step\Action('setCookie', func_get_args())); |
207 | 216 | } |
208 | 217 | |
@@ -219,7 +228,8 @@ discard block |
||
219 | 228 | * @return mixed |
220 | 229 | * @see \Codeception\Module\WebDriver::resetCookie() |
221 | 230 | */ |
222 | - public function resetCookie($cookie, $params = null) { |
|
231 | + public function resetCookie($cookie, $params = null) |
|
232 | + { |
|
223 | 233 | return $this->getScenario()->runStep(new \Codeception\Step\Action('resetCookie', func_get_args())); |
224 | 234 | } |
225 | 235 | |
@@ -236,7 +246,8 @@ discard block |
||
236 | 246 | * @return mixed |
237 | 247 | * @see \Codeception\Module\WebDriver::grabCookie() |
238 | 248 | */ |
239 | - public function grabCookie($cookie, $params = null) { |
|
249 | + public function grabCookie($cookie, $params = null) |
|
250 | + { |
|
240 | 251 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabCookie', func_get_args())); |
241 | 252 | } |
242 | 253 | |
@@ -251,7 +262,8 @@ discard block |
||
251 | 262 | * @return string Current page source code. |
252 | 263 | * @see \Codeception\Module\WebDriver::grabPageSource() |
253 | 264 | */ |
254 | - public function grabPageSource() { |
|
265 | + public function grabPageSource() |
|
266 | + { |
|
255 | 267 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabPageSource', func_get_args())); |
256 | 268 | } |
257 | 269 | |
@@ -269,7 +281,8 @@ discard block |
||
269 | 281 | * ``` |
270 | 282 | * @see \Codeception\Module\WebDriver::amOnUrl() |
271 | 283 | */ |
272 | - public function amOnUrl($url) { |
|
284 | + public function amOnUrl($url) |
|
285 | + { |
|
273 | 286 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnUrl', func_get_args())); |
274 | 287 | } |
275 | 288 | |
@@ -290,7 +303,8 @@ discard block |
||
290 | 303 | * @param string $page |
291 | 304 | * @see \Codeception\Module\WebDriver::amOnPage() |
292 | 305 | */ |
293 | - public function amOnPage($page) { |
|
306 | + public function amOnPage($page) |
|
307 | + { |
|
294 | 308 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amOnPage', func_get_args())); |
295 | 309 | } |
296 | 310 | |
@@ -330,7 +344,8 @@ discard block |
||
330 | 344 | * Conditional Assertion: Test won't be stopped on fail |
331 | 345 | * @see \Codeception\Module\WebDriver::see() |
332 | 346 | */ |
333 | - public function canSee($text, $selector = null) { |
|
347 | + public function canSee($text, $selector = null) |
|
348 | + { |
|
334 | 349 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('see', func_get_args())); |
335 | 350 | } |
336 | 351 | /** |
@@ -367,7 +382,8 @@ discard block |
||
367 | 382 | * @param string $selector optional |
368 | 383 | * @see \Codeception\Module\WebDriver::see() |
369 | 384 | */ |
370 | - public function see($text, $selector = null) { |
|
385 | + public function see($text, $selector = null) |
|
386 | + { |
|
371 | 387 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('see', func_get_args())); |
372 | 388 | } |
373 | 389 | |
@@ -405,7 +421,8 @@ discard block |
||
405 | 421 | * Conditional Assertion: Test won't be stopped on fail |
406 | 422 | * @see \Codeception\Module\WebDriver::dontSee() |
407 | 423 | */ |
408 | - public function cantSee($text, $selector = null) { |
|
424 | + public function cantSee($text, $selector = null) |
|
425 | + { |
|
409 | 426 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSee', func_get_args())); |
410 | 427 | } |
411 | 428 | /** |
@@ -440,7 +457,8 @@ discard block |
||
440 | 457 | * @param string $selector optional |
441 | 458 | * @see \Codeception\Module\WebDriver::dontSee() |
442 | 459 | */ |
443 | - public function dontSee($text, $selector = null) { |
|
460 | + public function dontSee($text, $selector = null) |
|
461 | + { |
|
444 | 462 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSee', func_get_args())); |
445 | 463 | } |
446 | 464 | |
@@ -460,7 +478,8 @@ discard block |
||
460 | 478 | * Conditional Assertion: Test won't be stopped on fail |
461 | 479 | * @see \Codeception\Module\WebDriver::seeInSource() |
462 | 480 | */ |
463 | - public function canSeeInSource($raw) { |
|
481 | + public function canSeeInSource($raw) |
|
482 | + { |
|
464 | 483 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInSource', func_get_args())); |
465 | 484 | } |
466 | 485 | /** |
@@ -477,7 +496,8 @@ discard block |
||
477 | 496 | * @param $raw |
478 | 497 | * @see \Codeception\Module\WebDriver::seeInSource() |
479 | 498 | */ |
480 | - public function seeInSource($raw) { |
|
499 | + public function seeInSource($raw) |
|
500 | + { |
|
481 | 501 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInSource', func_get_args())); |
482 | 502 | } |
483 | 503 | |
@@ -497,7 +517,8 @@ discard block |
||
497 | 517 | * Conditional Assertion: Test won't be stopped on fail |
498 | 518 | * @see \Codeception\Module\WebDriver::dontSeeInSource() |
499 | 519 | */ |
500 | - public function cantSeeInSource($raw) { |
|
520 | + public function cantSeeInSource($raw) |
|
521 | + { |
|
501 | 522 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInSource', func_get_args())); |
502 | 523 | } |
503 | 524 | /** |
@@ -514,7 +535,8 @@ discard block |
||
514 | 535 | * @param $raw |
515 | 536 | * @see \Codeception\Module\WebDriver::dontSeeInSource() |
516 | 537 | */ |
517 | - public function dontSeeInSource($raw) { |
|
538 | + public function dontSeeInSource($raw) |
|
539 | + { |
|
518 | 540 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInSource', func_get_args())); |
519 | 541 | } |
520 | 542 | |
@@ -533,7 +555,8 @@ discard block |
||
533 | 555 | * Conditional Assertion: Test won't be stopped on fail |
534 | 556 | * @see \Codeception\Module\WebDriver::seeInPageSource() |
535 | 557 | */ |
536 | - public function canSeeInPageSource($text) { |
|
558 | + public function canSeeInPageSource($text) |
|
559 | + { |
|
537 | 560 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInPageSource', func_get_args())); |
538 | 561 | } |
539 | 562 | /** |
@@ -549,7 +572,8 @@ discard block |
||
549 | 572 | * @param $text |
550 | 573 | * @see \Codeception\Module\WebDriver::seeInPageSource() |
551 | 574 | */ |
552 | - public function seeInPageSource($text) { |
|
575 | + public function seeInPageSource($text) |
|
576 | + { |
|
553 | 577 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInPageSource', func_get_args())); |
554 | 578 | } |
555 | 579 | |
@@ -563,7 +587,8 @@ discard block |
||
563 | 587 | * Conditional Assertion: Test won't be stopped on fail |
564 | 588 | * @see \Codeception\Module\WebDriver::dontSeeInPageSource() |
565 | 589 | */ |
566 | - public function cantSeeInPageSource($text) { |
|
590 | + public function cantSeeInPageSource($text) |
|
591 | + { |
|
567 | 592 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInPageSource', func_get_args())); |
568 | 593 | } |
569 | 594 | /** |
@@ -574,7 +599,8 @@ discard block |
||
574 | 599 | * @param $text |
575 | 600 | * @see \Codeception\Module\WebDriver::dontSeeInPageSource() |
576 | 601 | */ |
577 | - public function dontSeeInPageSource($text) { |
|
602 | + public function dontSeeInPageSource($text) |
|
603 | + { |
|
578 | 604 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInPageSource', func_get_args())); |
579 | 605 | } |
580 | 606 | |
@@ -613,7 +639,8 @@ discard block |
||
613 | 639 | * @param $context |
614 | 640 | * @see \Codeception\Module\WebDriver::click() |
615 | 641 | */ |
616 | - public function click($link, $context = null) { |
|
642 | + public function click($link, $context = null) |
|
643 | + { |
|
617 | 644 | return $this->getScenario()->runStep(new \Codeception\Step\Action('click', func_get_args())); |
618 | 645 | } |
619 | 646 | |
@@ -636,7 +663,8 @@ discard block |
||
636 | 663 | * Conditional Assertion: Test won't be stopped on fail |
637 | 664 | * @see \Codeception\Module\WebDriver::seeLink() |
638 | 665 | */ |
639 | - public function canSeeLink($text, $url = null) { |
|
666 | + public function canSeeLink($text, $url = null) |
|
667 | + { |
|
640 | 668 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeLink', func_get_args())); |
641 | 669 | } |
642 | 670 | /** |
@@ -656,7 +684,8 @@ discard block |
||
656 | 684 | * @param string $url optional |
657 | 685 | * @see \Codeception\Module\WebDriver::seeLink() |
658 | 686 | */ |
659 | - public function seeLink($text, $url = null) { |
|
687 | + public function seeLink($text, $url = null) |
|
688 | + { |
|
660 | 689 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeLink', func_get_args())); |
661 | 690 | } |
662 | 691 | |
@@ -679,7 +708,8 @@ discard block |
||
679 | 708 | * Conditional Assertion: Test won't be stopped on fail |
680 | 709 | * @see \Codeception\Module\WebDriver::dontSeeLink() |
681 | 710 | */ |
682 | - public function cantSeeLink($text, $url = null) { |
|
711 | + public function cantSeeLink($text, $url = null) |
|
712 | + { |
|
683 | 713 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeLink', func_get_args())); |
684 | 714 | } |
685 | 715 | /** |
@@ -699,7 +729,8 @@ discard block |
||
699 | 729 | * @param string $url optional |
700 | 730 | * @see \Codeception\Module\WebDriver::dontSeeLink() |
701 | 731 | */ |
702 | - public function dontSeeLink($text, $url = null) { |
|
732 | + public function dontSeeLink($text, $url = null) |
|
733 | + { |
|
703 | 734 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeLink', func_get_args())); |
704 | 735 | } |
705 | 736 | |
@@ -722,7 +753,8 @@ discard block |
||
722 | 753 | * Conditional Assertion: Test won't be stopped on fail |
723 | 754 | * @see \Codeception\Module\WebDriver::seeInCurrentUrl() |
724 | 755 | */ |
725 | - public function canSeeInCurrentUrl($uri) { |
|
756 | + public function canSeeInCurrentUrl($uri) |
|
757 | + { |
|
726 | 758 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInCurrentUrl', func_get_args())); |
727 | 759 | } |
728 | 760 | /** |
@@ -742,7 +774,8 @@ discard block |
||
742 | 774 | * @param string $uri |
743 | 775 | * @see \Codeception\Module\WebDriver::seeInCurrentUrl() |
744 | 776 | */ |
745 | - public function seeInCurrentUrl($uri) { |
|
777 | + public function seeInCurrentUrl($uri) |
|
778 | + { |
|
746 | 779 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInCurrentUrl', func_get_args())); |
747 | 780 | } |
748 | 781 | |
@@ -764,7 +797,8 @@ discard block |
||
764 | 797 | * Conditional Assertion: Test won't be stopped on fail |
765 | 798 | * @see \Codeception\Module\WebDriver::seeCurrentUrlEquals() |
766 | 799 | */ |
767 | - public function canSeeCurrentUrlEquals($uri) { |
|
800 | + public function canSeeCurrentUrlEquals($uri) |
|
801 | + { |
|
768 | 802 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCurrentUrlEquals', func_get_args())); |
769 | 803 | } |
770 | 804 | /** |
@@ -783,7 +817,8 @@ discard block |
||
783 | 817 | * @param string $uri |
784 | 818 | * @see \Codeception\Module\WebDriver::seeCurrentUrlEquals() |
785 | 819 | */ |
786 | - public function seeCurrentUrlEquals($uri) { |
|
820 | + public function seeCurrentUrlEquals($uri) |
|
821 | + { |
|
787 | 822 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCurrentUrlEquals', func_get_args())); |
788 | 823 | } |
789 | 824 | |
@@ -804,7 +839,8 @@ discard block |
||
804 | 839 | * Conditional Assertion: Test won't be stopped on fail |
805 | 840 | * @see \Codeception\Module\WebDriver::seeCurrentUrlMatches() |
806 | 841 | */ |
807 | - public function canSeeCurrentUrlMatches($uri) { |
|
842 | + public function canSeeCurrentUrlMatches($uri) |
|
843 | + { |
|
808 | 844 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCurrentUrlMatches', func_get_args())); |
809 | 845 | } |
810 | 846 | /** |
@@ -822,7 +858,8 @@ discard block |
||
822 | 858 | * @param string $uri |
823 | 859 | * @see \Codeception\Module\WebDriver::seeCurrentUrlMatches() |
824 | 860 | */ |
825 | - public function seeCurrentUrlMatches($uri) { |
|
861 | + public function seeCurrentUrlMatches($uri) |
|
862 | + { |
|
826 | 863 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCurrentUrlMatches', func_get_args())); |
827 | 864 | } |
828 | 865 | |
@@ -842,7 +879,8 @@ discard block |
||
842 | 879 | * Conditional Assertion: Test won't be stopped on fail |
843 | 880 | * @see \Codeception\Module\WebDriver::dontSeeInCurrentUrl() |
844 | 881 | */ |
845 | - public function cantSeeInCurrentUrl($uri) { |
|
882 | + public function cantSeeInCurrentUrl($uri) |
|
883 | + { |
|
846 | 884 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInCurrentUrl', func_get_args())); |
847 | 885 | } |
848 | 886 | /** |
@@ -859,7 +897,8 @@ discard block |
||
859 | 897 | * @param string $uri |
860 | 898 | * @see \Codeception\Module\WebDriver::dontSeeInCurrentUrl() |
861 | 899 | */ |
862 | - public function dontSeeInCurrentUrl($uri) { |
|
900 | + public function dontSeeInCurrentUrl($uri) |
|
901 | + { |
|
863 | 902 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInCurrentUrl', func_get_args())); |
864 | 903 | } |
865 | 904 | |
@@ -881,7 +920,8 @@ discard block |
||
881 | 920 | * Conditional Assertion: Test won't be stopped on fail |
882 | 921 | * @see \Codeception\Module\WebDriver::dontSeeCurrentUrlEquals() |
883 | 922 | */ |
884 | - public function cantSeeCurrentUrlEquals($uri) { |
|
923 | + public function cantSeeCurrentUrlEquals($uri) |
|
924 | + { |
|
885 | 925 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCurrentUrlEquals', func_get_args())); |
886 | 926 | } |
887 | 927 | /** |
@@ -900,7 +940,8 @@ discard block |
||
900 | 940 | * @param string $uri |
901 | 941 | * @see \Codeception\Module\WebDriver::dontSeeCurrentUrlEquals() |
902 | 942 | */ |
903 | - public function dontSeeCurrentUrlEquals($uri) { |
|
943 | + public function dontSeeCurrentUrlEquals($uri) |
|
944 | + { |
|
904 | 945 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCurrentUrlEquals', func_get_args())); |
905 | 946 | } |
906 | 947 | |
@@ -921,7 +962,8 @@ discard block |
||
921 | 962 | * Conditional Assertion: Test won't be stopped on fail |
922 | 963 | * @see \Codeception\Module\WebDriver::dontSeeCurrentUrlMatches() |
923 | 964 | */ |
924 | - public function cantSeeCurrentUrlMatches($uri) { |
|
965 | + public function cantSeeCurrentUrlMatches($uri) |
|
966 | + { |
|
925 | 967 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCurrentUrlMatches', func_get_args())); |
926 | 968 | } |
927 | 969 | /** |
@@ -939,7 +981,8 @@ discard block |
||
939 | 981 | * @param string $uri |
940 | 982 | * @see \Codeception\Module\WebDriver::dontSeeCurrentUrlMatches() |
941 | 983 | */ |
942 | - public function dontSeeCurrentUrlMatches($uri) { |
|
984 | + public function dontSeeCurrentUrlMatches($uri) |
|
985 | + { |
|
943 | 986 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCurrentUrlMatches', func_get_args())); |
944 | 987 | } |
945 | 988 | |
@@ -962,7 +1005,8 @@ discard block |
||
962 | 1005 | * @return mixed |
963 | 1006 | * @see \Codeception\Module\WebDriver::grabFromCurrentUrl() |
964 | 1007 | */ |
965 | - public function grabFromCurrentUrl($uri = null) { |
|
1008 | + public function grabFromCurrentUrl($uri = null) |
|
1009 | + { |
|
966 | 1010 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabFromCurrentUrl', func_get_args())); |
967 | 1011 | } |
968 | 1012 | |
@@ -984,7 +1028,8 @@ discard block |
||
984 | 1028 | * Conditional Assertion: Test won't be stopped on fail |
985 | 1029 | * @see \Codeception\Module\WebDriver::seeCheckboxIsChecked() |
986 | 1030 | */ |
987 | - public function canSeeCheckboxIsChecked($checkbox) { |
|
1031 | + public function canSeeCheckboxIsChecked($checkbox) |
|
1032 | + { |
|
988 | 1033 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeCheckboxIsChecked', func_get_args())); |
989 | 1034 | } |
990 | 1035 | /** |
@@ -1003,7 +1048,8 @@ discard block |
||
1003 | 1048 | * @param $checkbox |
1004 | 1049 | * @see \Codeception\Module\WebDriver::seeCheckboxIsChecked() |
1005 | 1050 | */ |
1006 | - public function seeCheckboxIsChecked($checkbox) { |
|
1051 | + public function seeCheckboxIsChecked($checkbox) |
|
1052 | + { |
|
1007 | 1053 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeCheckboxIsChecked', func_get_args())); |
1008 | 1054 | } |
1009 | 1055 | |
@@ -1024,7 +1070,8 @@ discard block |
||
1024 | 1070 | * Conditional Assertion: Test won't be stopped on fail |
1025 | 1071 | * @see \Codeception\Module\WebDriver::dontSeeCheckboxIsChecked() |
1026 | 1072 | */ |
1027 | - public function cantSeeCheckboxIsChecked($checkbox) { |
|
1073 | + public function cantSeeCheckboxIsChecked($checkbox) |
|
1074 | + { |
|
1028 | 1075 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeCheckboxIsChecked', func_get_args())); |
1029 | 1076 | } |
1030 | 1077 | /** |
@@ -1042,7 +1089,8 @@ discard block |
||
1042 | 1089 | * @param $checkbox |
1043 | 1090 | * @see \Codeception\Module\WebDriver::dontSeeCheckboxIsChecked() |
1044 | 1091 | */ |
1045 | - public function dontSeeCheckboxIsChecked($checkbox) { |
|
1092 | + public function dontSeeCheckboxIsChecked($checkbox) |
|
1093 | + { |
|
1046 | 1094 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeCheckboxIsChecked', func_get_args())); |
1047 | 1095 | } |
1048 | 1096 | |
@@ -1069,7 +1117,8 @@ discard block |
||
1069 | 1117 | * Conditional Assertion: Test won't be stopped on fail |
1070 | 1118 | * @see \Codeception\Module\WebDriver::seeInField() |
1071 | 1119 | */ |
1072 | - public function canSeeInField($field, $value) { |
|
1120 | + public function canSeeInField($field, $value) |
|
1121 | + { |
|
1073 | 1122 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInField', func_get_args())); |
1074 | 1123 | } |
1075 | 1124 | /** |
@@ -1093,7 +1142,8 @@ discard block |
||
1093 | 1142 | * @param $value |
1094 | 1143 | * @see \Codeception\Module\WebDriver::seeInField() |
1095 | 1144 | */ |
1096 | - public function seeInField($field, $value) { |
|
1145 | + public function seeInField($field, $value) |
|
1146 | + { |
|
1097 | 1147 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInField', func_get_args())); |
1098 | 1148 | } |
1099 | 1149 | |
@@ -1120,7 +1170,8 @@ discard block |
||
1120 | 1170 | * Conditional Assertion: Test won't be stopped on fail |
1121 | 1171 | * @see \Codeception\Module\WebDriver::dontSeeInField() |
1122 | 1172 | */ |
1123 | - public function cantSeeInField($field, $value) { |
|
1173 | + public function cantSeeInField($field, $value) |
|
1174 | + { |
|
1124 | 1175 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInField', func_get_args())); |
1125 | 1176 | } |
1126 | 1177 | /** |
@@ -1144,7 +1195,8 @@ discard block |
||
1144 | 1195 | * @param $value |
1145 | 1196 | * @see \Codeception\Module\WebDriver::dontSeeInField() |
1146 | 1197 | */ |
1147 | - public function dontSeeInField($field, $value) { |
|
1198 | + public function dontSeeInField($field, $value) |
|
1199 | + { |
|
1148 | 1200 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInField', func_get_args())); |
1149 | 1201 | } |
1150 | 1202 | |
@@ -1214,7 +1266,8 @@ discard block |
||
1214 | 1266 | * Conditional Assertion: Test won't be stopped on fail |
1215 | 1267 | * @see \Codeception\Module\WebDriver::seeInFormFields() |
1216 | 1268 | */ |
1217 | - public function canSeeInFormFields($formSelector, $params) { |
|
1269 | + public function canSeeInFormFields($formSelector, $params) |
|
1270 | + { |
|
1218 | 1271 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInFormFields', func_get_args())); |
1219 | 1272 | } |
1220 | 1273 | /** |
@@ -1281,7 +1334,8 @@ discard block |
||
1281 | 1334 | * @param $params |
1282 | 1335 | * @see \Codeception\Module\WebDriver::seeInFormFields() |
1283 | 1336 | */ |
1284 | - public function seeInFormFields($formSelector, $params) { |
|
1337 | + public function seeInFormFields($formSelector, $params) |
|
1338 | + { |
|
1285 | 1339 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInFormFields', func_get_args())); |
1286 | 1340 | } |
1287 | 1341 | |
@@ -1331,7 +1385,8 @@ discard block |
||
1331 | 1385 | * Conditional Assertion: Test won't be stopped on fail |
1332 | 1386 | * @see \Codeception\Module\WebDriver::dontSeeInFormFields() |
1333 | 1387 | */ |
1334 | - public function cantSeeInFormFields($formSelector, $params) { |
|
1388 | + public function cantSeeInFormFields($formSelector, $params) |
|
1389 | + { |
|
1335 | 1390 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInFormFields', func_get_args())); |
1336 | 1391 | } |
1337 | 1392 | /** |
@@ -1378,7 +1433,8 @@ discard block |
||
1378 | 1433 | * @param $params |
1379 | 1434 | * @see \Codeception\Module\WebDriver::dontSeeInFormFields() |
1380 | 1435 | */ |
1381 | - public function dontSeeInFormFields($formSelector, $params) { |
|
1436 | + public function dontSeeInFormFields($formSelector, $params) |
|
1437 | + { |
|
1382 | 1438 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInFormFields', func_get_args())); |
1383 | 1439 | } |
1384 | 1440 | |
@@ -1417,7 +1473,8 @@ discard block |
||
1417 | 1473 | * @param $option |
1418 | 1474 | * @see \Codeception\Module\WebDriver::selectOption() |
1419 | 1475 | */ |
1420 | - public function selectOption($select, $option) { |
|
1476 | + public function selectOption($select, $option) |
|
1477 | + { |
|
1421 | 1478 | return $this->getScenario()->runStep(new \Codeception\Step\Action('selectOption', func_get_args())); |
1422 | 1479 | } |
1423 | 1480 | |
@@ -1431,7 +1488,8 @@ discard block |
||
1431 | 1488 | * @param $option |
1432 | 1489 | * @see \Codeception\Module\WebDriver::unselectOption() |
1433 | 1490 | */ |
1434 | - public function unselectOption($select, $option) { |
|
1491 | + public function unselectOption($select, $option) |
|
1492 | + { |
|
1435 | 1493 | return $this->getScenario()->runStep(new \Codeception\Step\Action('unselectOption', func_get_args())); |
1436 | 1494 | } |
1437 | 1495 | |
@@ -1450,7 +1508,8 @@ discard block |
||
1450 | 1508 | * @param $option |
1451 | 1509 | * @see \Codeception\Module\WebDriver::checkOption() |
1452 | 1510 | */ |
1453 | - public function checkOption($option) { |
|
1511 | + public function checkOption($option) |
|
1512 | + { |
|
1454 | 1513 | return $this->getScenario()->runStep(new \Codeception\Step\Action('checkOption', func_get_args())); |
1455 | 1514 | } |
1456 | 1515 | |
@@ -1469,7 +1528,8 @@ discard block |
||
1469 | 1528 | * @param $option |
1470 | 1529 | * @see \Codeception\Module\WebDriver::uncheckOption() |
1471 | 1530 | */ |
1472 | - public function uncheckOption($option) { |
|
1531 | + public function uncheckOption($option) |
|
1532 | + { |
|
1473 | 1533 | return $this->getScenario()->runStep(new \Codeception\Step\Action('uncheckOption', func_get_args())); |
1474 | 1534 | } |
1475 | 1535 | |
@@ -1490,7 +1550,8 @@ discard block |
||
1490 | 1550 | * @param $value |
1491 | 1551 | * @see \Codeception\Module\WebDriver::fillField() |
1492 | 1552 | */ |
1493 | - public function fillField($field, $value) { |
|
1553 | + public function fillField($field, $value) |
|
1554 | + { |
|
1494 | 1555 | return $this->getScenario()->runStep(new \Codeception\Step\Action('fillField', func_get_args())); |
1495 | 1556 | } |
1496 | 1557 | |
@@ -1511,7 +1572,8 @@ discard block |
||
1511 | 1572 | * @param $filename |
1512 | 1573 | * @see \Codeception\Module\WebDriver::attachFile() |
1513 | 1574 | */ |
1514 | - public function attachFile($field, $filename) { |
|
1575 | + public function attachFile($field, $filename) |
|
1576 | + { |
|
1515 | 1577 | return $this->getScenario()->runStep(new \Codeception\Step\Action('attachFile', func_get_args())); |
1516 | 1578 | } |
1517 | 1579 | |
@@ -1536,7 +1598,8 @@ discard block |
||
1536 | 1598 | * @return mixed |
1537 | 1599 | * @see \Codeception\Module\WebDriver::grabTextFrom() |
1538 | 1600 | */ |
1539 | - public function grabTextFrom($cssOrXPathOrRegex) { |
|
1601 | + public function grabTextFrom($cssOrXPathOrRegex) |
|
1602 | + { |
|
1540 | 1603 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabTextFrom', func_get_args())); |
1541 | 1604 | } |
1542 | 1605 | |
@@ -1560,7 +1623,8 @@ discard block |
||
1560 | 1623 | * @return mixed |
1561 | 1624 | * @see \Codeception\Module\WebDriver::grabAttributeFrom() |
1562 | 1625 | */ |
1563 | - public function grabAttributeFrom($cssOrXpath, $attribute) { |
|
1626 | + public function grabAttributeFrom($cssOrXpath, $attribute) |
|
1627 | + { |
|
1564 | 1628 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabAttributeFrom', func_get_args())); |
1565 | 1629 | } |
1566 | 1630 | |
@@ -1585,7 +1649,8 @@ discard block |
||
1585 | 1649 | * @return mixed |
1586 | 1650 | * @see \Codeception\Module\WebDriver::grabValueFrom() |
1587 | 1651 | */ |
1588 | - public function grabValueFrom($field) { |
|
1652 | + public function grabValueFrom($field) |
|
1653 | + { |
|
1589 | 1654 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabValueFrom', func_get_args())); |
1590 | 1655 | } |
1591 | 1656 | |
@@ -1617,7 +1682,8 @@ discard block |
||
1617 | 1682 | * @return string[] |
1618 | 1683 | * @see \Codeception\Module\WebDriver::grabMultiple() |
1619 | 1684 | */ |
1620 | - public function grabMultiple($cssOrXpath, $attribute = null) { |
|
1685 | + public function grabMultiple($cssOrXpath, $attribute = null) |
|
1686 | + { |
|
1621 | 1687 | return $this->getScenario()->runStep(new \Codeception\Step\Action('grabMultiple', func_get_args())); |
1622 | 1688 | } |
1623 | 1689 | |
@@ -1646,7 +1712,8 @@ discard block |
||
1646 | 1712 | * Conditional Assertion: Test won't be stopped on fail |
1647 | 1713 | * @see \Codeception\Module\WebDriver::seeElement() |
1648 | 1714 | */ |
1649 | - public function canSeeElement($selector, $attributes = null) { |
|
1715 | + public function canSeeElement($selector, $attributes = null) |
|
1716 | + { |
|
1650 | 1717 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeElement', func_get_args())); |
1651 | 1718 | } |
1652 | 1719 | /** |
@@ -1672,7 +1739,8 @@ discard block |
||
1672 | 1739 | * @return |
1673 | 1740 | * @see \Codeception\Module\WebDriver::seeElement() |
1674 | 1741 | */ |
1675 | - public function seeElement($selector, $attributes = null) { |
|
1742 | + public function seeElement($selector, $attributes = null) |
|
1743 | + { |
|
1676 | 1744 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeElement', func_get_args())); |
1677 | 1745 | } |
1678 | 1746 | |
@@ -1697,7 +1765,8 @@ discard block |
||
1697 | 1765 | * Conditional Assertion: Test won't be stopped on fail |
1698 | 1766 | * @see \Codeception\Module\WebDriver::dontSeeElement() |
1699 | 1767 | */ |
1700 | - public function cantSeeElement($selector, $attributes = null) { |
|
1768 | + public function cantSeeElement($selector, $attributes = null) |
|
1769 | + { |
|
1701 | 1770 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeElement', func_get_args())); |
1702 | 1771 | } |
1703 | 1772 | /** |
@@ -1719,7 +1788,8 @@ discard block |
||
1719 | 1788 | * @param array $attributes |
1720 | 1789 | * @see \Codeception\Module\WebDriver::dontSeeElement() |
1721 | 1790 | */ |
1722 | - public function dontSeeElement($selector, $attributes = null) { |
|
1791 | + public function dontSeeElement($selector, $attributes = null) |
|
1792 | + { |
|
1723 | 1793 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeElement', func_get_args())); |
1724 | 1794 | } |
1725 | 1795 | |
@@ -1740,7 +1810,8 @@ discard block |
||
1740 | 1810 | * Conditional Assertion: Test won't be stopped on fail |
1741 | 1811 | * @see \Codeception\Module\WebDriver::seeElementInDOM() |
1742 | 1812 | */ |
1743 | - public function canSeeElementInDOM($selector, $attributes = null) { |
|
1813 | + public function canSeeElementInDOM($selector, $attributes = null) |
|
1814 | + { |
|
1744 | 1815 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeElementInDOM', func_get_args())); |
1745 | 1816 | } |
1746 | 1817 | /** |
@@ -1758,7 +1829,8 @@ discard block |
||
1758 | 1829 | * @param array $attributes |
1759 | 1830 | * @see \Codeception\Module\WebDriver::seeElementInDOM() |
1760 | 1831 | */ |
1761 | - public function seeElementInDOM($selector, $attributes = null) { |
|
1832 | + public function seeElementInDOM($selector, $attributes = null) |
|
1833 | + { |
|
1762 | 1834 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeElementInDOM', func_get_args())); |
1763 | 1835 | } |
1764 | 1836 | |
@@ -1773,7 +1845,8 @@ discard block |
||
1773 | 1845 | * Conditional Assertion: Test won't be stopped on fail |
1774 | 1846 | * @see \Codeception\Module\WebDriver::dontSeeElementInDOM() |
1775 | 1847 | */ |
1776 | - public function cantSeeElementInDOM($selector, $attributes = null) { |
|
1848 | + public function cantSeeElementInDOM($selector, $attributes = null) |
|
1849 | + { |
|
1777 | 1850 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeElementInDOM', func_get_args())); |
1778 | 1851 | } |
1779 | 1852 | /** |
@@ -1785,7 +1858,8 @@ discard block |
||
1785 | 1858 | * @param array $attributes |
1786 | 1859 | * @see \Codeception\Module\WebDriver::dontSeeElementInDOM() |
1787 | 1860 | */ |
1788 | - public function dontSeeElementInDOM($selector, $attributes = null) { |
|
1861 | + public function dontSeeElementInDOM($selector, $attributes = null) |
|
1862 | + { |
|
1789 | 1863 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeElementInDOM', func_get_args())); |
1790 | 1864 | } |
1791 | 1865 | |
@@ -1806,7 +1880,8 @@ discard block |
||
1806 | 1880 | * Conditional Assertion: Test won't be stopped on fail |
1807 | 1881 | * @see \Codeception\Module\WebDriver::seeNumberOfElements() |
1808 | 1882 | */ |
1809 | - public function canSeeNumberOfElements($selector, $expected) { |
|
1883 | + public function canSeeNumberOfElements($selector, $expected) |
|
1884 | + { |
|
1810 | 1885 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeNumberOfElements', func_get_args())); |
1811 | 1886 | } |
1812 | 1887 | /** |
@@ -1824,7 +1899,8 @@ discard block |
||
1824 | 1899 | * @param mixed $expected int or int[] |
1825 | 1900 | * @see \Codeception\Module\WebDriver::seeNumberOfElements() |
1826 | 1901 | */ |
1827 | - public function seeNumberOfElements($selector, $expected) { |
|
1902 | + public function seeNumberOfElements($selector, $expected) |
|
1903 | + { |
|
1828 | 1904 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumberOfElements', func_get_args())); |
1829 | 1905 | } |
1830 | 1906 | |
@@ -1836,7 +1912,8 @@ discard block |
||
1836 | 1912 | * Conditional Assertion: Test won't be stopped on fail |
1837 | 1913 | * @see \Codeception\Module\WebDriver::seeNumberOfElementsInDOM() |
1838 | 1914 | */ |
1839 | - public function canSeeNumberOfElementsInDOM($selector, $expected) { |
|
1915 | + public function canSeeNumberOfElementsInDOM($selector, $expected) |
|
1916 | + { |
|
1840 | 1917 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeNumberOfElementsInDOM', func_get_args())); |
1841 | 1918 | } |
1842 | 1919 | /** |
@@ -1845,7 +1922,8 @@ discard block |
||
1845 | 1922 | * |
1846 | 1923 | * @see \Codeception\Module\WebDriver::seeNumberOfElementsInDOM() |
1847 | 1924 | */ |
1848 | - public function seeNumberOfElementsInDOM($selector, $expected) { |
|
1925 | + public function seeNumberOfElementsInDOM($selector, $expected) |
|
1926 | + { |
|
1849 | 1927 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeNumberOfElementsInDOM', func_get_args())); |
1850 | 1928 | } |
1851 | 1929 | |
@@ -1868,7 +1946,8 @@ discard block |
||
1868 | 1946 | * Conditional Assertion: Test won't be stopped on fail |
1869 | 1947 | * @see \Codeception\Module\WebDriver::seeOptionIsSelected() |
1870 | 1948 | */ |
1871 | - public function canSeeOptionIsSelected($selector, $optionText) { |
|
1949 | + public function canSeeOptionIsSelected($selector, $optionText) |
|
1950 | + { |
|
1872 | 1951 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeOptionIsSelected', func_get_args())); |
1873 | 1952 | } |
1874 | 1953 | /** |
@@ -1888,7 +1967,8 @@ discard block |
||
1888 | 1967 | * @return mixed |
1889 | 1968 | * @see \Codeception\Module\WebDriver::seeOptionIsSelected() |
1890 | 1969 | */ |
1891 | - public function seeOptionIsSelected($selector, $optionText) { |
|
1970 | + public function seeOptionIsSelected($selector, $optionText) |
|
1971 | + { |
|
1892 | 1972 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeOptionIsSelected', func_get_args())); |
1893 | 1973 | } |
1894 | 1974 | |
@@ -1911,7 +1991,8 @@ discard block |
||
1911 | 1991 | * Conditional Assertion: Test won't be stopped on fail |
1912 | 1992 | * @see \Codeception\Module\WebDriver::dontSeeOptionIsSelected() |
1913 | 1993 | */ |
1914 | - public function cantSeeOptionIsSelected($selector, $optionText) { |
|
1994 | + public function cantSeeOptionIsSelected($selector, $optionText) |
|
1995 | + { |
|
1915 | 1996 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeOptionIsSelected', func_get_args())); |
1916 | 1997 | } |
1917 | 1998 | /** |
@@ -1931,7 +2012,8 @@ discard block |
||
1931 | 2012 | * @return mixed |
1932 | 2013 | * @see \Codeception\Module\WebDriver::dontSeeOptionIsSelected() |
1933 | 2014 | */ |
1934 | - public function dontSeeOptionIsSelected($selector, $optionText) { |
|
2015 | + public function dontSeeOptionIsSelected($selector, $optionText) |
|
2016 | + { |
|
1935 | 2017 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeOptionIsSelected', func_get_args())); |
1936 | 2018 | } |
1937 | 2019 | |
@@ -1953,7 +2035,8 @@ discard block |
||
1953 | 2035 | * Conditional Assertion: Test won't be stopped on fail |
1954 | 2036 | * @see \Codeception\Module\WebDriver::seeInTitle() |
1955 | 2037 | */ |
1956 | - public function canSeeInTitle($title) { |
|
2038 | + public function canSeeInTitle($title) |
|
2039 | + { |
|
1957 | 2040 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInTitle', func_get_args())); |
1958 | 2041 | } |
1959 | 2042 | /** |
@@ -1972,7 +2055,8 @@ discard block |
||
1972 | 2055 | * @return mixed |
1973 | 2056 | * @see \Codeception\Module\WebDriver::seeInTitle() |
1974 | 2057 | */ |
1975 | - public function seeInTitle($title) { |
|
2058 | + public function seeInTitle($title) |
|
2059 | + { |
|
1976 | 2060 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInTitle', func_get_args())); |
1977 | 2061 | } |
1978 | 2062 | |
@@ -1988,7 +2072,8 @@ discard block |
||
1988 | 2072 | * Conditional Assertion: Test won't be stopped on fail |
1989 | 2073 | * @see \Codeception\Module\WebDriver::dontSeeInTitle() |
1990 | 2074 | */ |
1991 | - public function cantSeeInTitle($title) { |
|
2075 | + public function cantSeeInTitle($title) |
|
2076 | + { |
|
1992 | 2077 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('dontSeeInTitle', func_get_args())); |
1993 | 2078 | } |
1994 | 2079 | /** |
@@ -2001,7 +2086,8 @@ discard block |
||
2001 | 2086 | * @return mixed |
2002 | 2087 | * @see \Codeception\Module\WebDriver::dontSeeInTitle() |
2003 | 2088 | */ |
2004 | - public function dontSeeInTitle($title) { |
|
2089 | + public function dontSeeInTitle($title) |
|
2090 | + { |
|
2005 | 2091 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('dontSeeInTitle', func_get_args())); |
2006 | 2092 | } |
2007 | 2093 | |
@@ -2014,7 +2100,8 @@ discard block |
||
2014 | 2100 | * as created by [various libraries](http://jster.net/category/windows-modals-popups). |
2015 | 2101 | * @see \Codeception\Module\WebDriver::acceptPopup() |
2016 | 2102 | */ |
2017 | - public function acceptPopup() { |
|
2103 | + public function acceptPopup() |
|
2104 | + { |
|
2018 | 2105 | return $this->getScenario()->runStep(new \Codeception\Step\Action('acceptPopup', func_get_args())); |
2019 | 2106 | } |
2020 | 2107 | |
@@ -2025,7 +2112,8 @@ discard block |
||
2025 | 2112 | * Dismisses the active JavaScript popup, as created by `window.alert`, `window.confirm`, or `window.prompt`. |
2026 | 2113 | * @see \Codeception\Module\WebDriver::cancelPopup() |
2027 | 2114 | */ |
2028 | - public function cancelPopup() { |
|
2115 | + public function cancelPopup() |
|
2116 | + { |
|
2029 | 2117 | return $this->getScenario()->runStep(new \Codeception\Step\Action('cancelPopup', func_get_args())); |
2030 | 2118 | } |
2031 | 2119 | |
@@ -2042,7 +2130,8 @@ discard block |
||
2042 | 2130 | * Conditional Assertion: Test won't be stopped on fail |
2043 | 2131 | * @see \Codeception\Module\WebDriver::seeInPopup() |
2044 | 2132 | */ |
2045 | - public function canSeeInPopup($text) { |
|
2133 | + public function canSeeInPopup($text) |
|
2134 | + { |
|
2046 | 2135 | return $this->getScenario()->runStep(new \Codeception\Step\ConditionalAssertion('seeInPopup', func_get_args())); |
2047 | 2136 | } |
2048 | 2137 | /** |
@@ -2056,7 +2145,8 @@ discard block |
||
2056 | 2145 | * @throws \Codeception\Exception\ModuleException |
2057 | 2146 | * @see \Codeception\Module\WebDriver::seeInPopup() |
2058 | 2147 | */ |
2059 | - public function seeInPopup($text) { |
|
2148 | + public function seeInPopup($text) |
|
2149 | + { |
|
2060 | 2150 | return $this->getScenario()->runStep(new \Codeception\Step\Assertion('seeInPopup', func_get_args())); |
2061 | 2151 | } |
2062 | 2152 | |
@@ -2071,7 +2161,8 @@ discard block |
||
2071 | 2161 | * @throws \Codeception\Exception\ModuleException |
2072 | 2162 | * @see \Codeception\Module\WebDriver::typeInPopup() |
2073 | 2163 | */ |
2074 | - public function typeInPopup($keys) { |
|
2164 | + public function typeInPopup($keys) |
|
2165 | + { |
|
2075 | 2166 | return $this->getScenario()->runStep(new \Codeception\Step\Action('typeInPopup', func_get_args())); |
2076 | 2167 | } |
2077 | 2168 | |
@@ -2082,7 +2173,8 @@ discard block |
||
2082 | 2173 | * Reloads the current page. |
2083 | 2174 | * @see \Codeception\Module\WebDriver::reloadPage() |
2084 | 2175 | */ |
2085 | - public function reloadPage() { |
|
2176 | + public function reloadPage() |
|
2177 | + { |
|
2086 | 2178 | return $this->getScenario()->runStep(new \Codeception\Step\Action('reloadPage', func_get_args())); |
2087 | 2179 | } |
2088 | 2180 | |
@@ -2093,7 +2185,8 @@ discard block |
||
2093 | 2185 | * Moves back in history. |
2094 | 2186 | * @see \Codeception\Module\WebDriver::moveBack() |
2095 | 2187 | */ |
2096 | - public function moveBack() { |
|
2188 | + public function moveBack() |
|
2189 | + { |
|
2097 | 2190 | return $this->getScenario()->runStep(new \Codeception\Step\Action('moveBack', func_get_args())); |
2098 | 2191 | } |
2099 | 2192 | |
@@ -2104,7 +2197,8 @@ discard block |
||
2104 | 2197 | * Moves forward in history. |
2105 | 2198 | * @see \Codeception\Module\WebDriver::moveForward() |
2106 | 2199 | */ |
2107 | - public function moveForward() { |
|
2200 | + public function moveForward() |
|
2201 | + { |
|
2108 | 2202 | return $this->getScenario()->runStep(new \Codeception\Step\Action('moveForward', func_get_args())); |
2109 | 2203 | } |
2110 | 2204 | |
@@ -2271,7 +2365,8 @@ discard block |
||
2271 | 2365 | * @param $button |
2272 | 2366 | * @see \Codeception\Module\WebDriver::submitForm() |
2273 | 2367 | */ |
2274 | - public function submitForm($selector, $params, $button = null) { |
|
2368 | + public function submitForm($selector, $params, $button = null) |
|
2369 | + { |
|
2275 | 2370 | return $this->getScenario()->runStep(new \Codeception\Step\Action('submitForm', func_get_args())); |
2276 | 2371 | } |
2277 | 2372 | |
@@ -2298,7 +2393,8 @@ discard block |
||
2298 | 2393 | * @throws \Codeception\Exception\ElementNotFound |
2299 | 2394 | * @see \Codeception\Module\WebDriver::waitForElementChange() |
2300 | 2395 | */ |
2301 | - public function waitForElementChange($element, $callback, $timeout = null) { |
|
2396 | + public function waitForElementChange($element, $callback, $timeout = null) |
|
2397 | + { |
|
2302 | 2398 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementChange', func_get_args())); |
2303 | 2399 | } |
2304 | 2400 | |
@@ -2321,7 +2417,8 @@ discard block |
||
2321 | 2417 | * @throws \Exception |
2322 | 2418 | * @see \Codeception\Module\WebDriver::waitForElement() |
2323 | 2419 | */ |
2324 | - public function waitForElement($element, $timeout = null) { |
|
2420 | + public function waitForElement($element, $timeout = null) |
|
2421 | + { |
|
2325 | 2422 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElement', func_get_args())); |
2326 | 2423 | } |
2327 | 2424 | |
@@ -2344,7 +2441,8 @@ discard block |
||
2344 | 2441 | * @throws \Exception |
2345 | 2442 | * @see \Codeception\Module\WebDriver::waitForElementVisible() |
2346 | 2443 | */ |
2347 | - public function waitForElementVisible($element, $timeout = null) { |
|
2444 | + public function waitForElementVisible($element, $timeout = null) |
|
2445 | + { |
|
2348 | 2446 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementVisible', func_get_args())); |
2349 | 2447 | } |
2350 | 2448 | |
@@ -2366,7 +2464,8 @@ discard block |
||
2366 | 2464 | * @throws \Exception |
2367 | 2465 | * @see \Codeception\Module\WebDriver::waitForElementNotVisible() |
2368 | 2466 | */ |
2369 | - public function waitForElementNotVisible($element, $timeout = null) { |
|
2467 | + public function waitForElementNotVisible($element, $timeout = null) |
|
2468 | + { |
|
2370 | 2469 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForElementNotVisible', func_get_args())); |
2371 | 2470 | } |
2372 | 2471 | |
@@ -2393,7 +2492,8 @@ discard block |
||
2393 | 2492 | * @throws \Exception |
2394 | 2493 | * @see \Codeception\Module\WebDriver::waitForText() |
2395 | 2494 | */ |
2396 | - public function waitForText($text, $timeout = null, $selector = null) { |
|
2495 | + public function waitForText($text, $timeout = null, $selector = null) |
|
2496 | + { |
|
2397 | 2497 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForText', func_get_args())); |
2398 | 2498 | } |
2399 | 2499 | |
@@ -2407,7 +2507,8 @@ discard block |
||
2407 | 2507 | * @throws \Codeception\Exception\TestRuntimeException |
2408 | 2508 | * @see \Codeception\Module\WebDriver::wait() |
2409 | 2509 | */ |
2410 | - public function wait($timeout) { |
|
2510 | + public function wait($timeout) |
|
2511 | + { |
|
2411 | 2512 | return $this->getScenario()->runStep(new \Codeception\Step\Action('wait', func_get_args())); |
2412 | 2513 | } |
2413 | 2514 | |
@@ -2432,7 +2533,8 @@ discard block |
||
2432 | 2533 | * @param callable $function |
2433 | 2534 | * @see \Codeception\Module\WebDriver::executeInSelenium() |
2434 | 2535 | */ |
2435 | - public function executeInSelenium($function) { |
|
2536 | + public function executeInSelenium($function) |
|
2537 | + { |
|
2436 | 2538 | return $this->getScenario()->runStep(new \Codeception\Step\Action('executeInSelenium', func_get_args())); |
2437 | 2539 | } |
2438 | 2540 | |
@@ -2476,7 +2578,8 @@ discard block |
||
2476 | 2578 | * @param string|null $name |
2477 | 2579 | * @see \Codeception\Module\WebDriver::switchToWindow() |
2478 | 2580 | */ |
2479 | - public function switchToWindow($name = null) { |
|
2581 | + public function switchToWindow($name = null) |
|
2582 | + { |
|
2480 | 2583 | return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToWindow', func_get_args())); |
2481 | 2584 | } |
2482 | 2585 | |
@@ -2504,7 +2607,8 @@ discard block |
||
2504 | 2607 | * @param string|null $name |
2505 | 2608 | * @see \Codeception\Module\WebDriver::switchToIFrame() |
2506 | 2609 | */ |
2507 | - public function switchToIFrame($name = null) { |
|
2610 | + public function switchToIFrame($name = null) |
|
2611 | + { |
|
2508 | 2612 | return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToIFrame', func_get_args())); |
2509 | 2613 | } |
2510 | 2614 | |
@@ -2526,7 +2630,8 @@ discard block |
||
2526 | 2630 | * @param int $timeout seconds |
2527 | 2631 | * @see \Codeception\Module\WebDriver::waitForJS() |
2528 | 2632 | */ |
2529 | - public function waitForJS($script, $timeout = null) { |
|
2633 | + public function waitForJS($script, $timeout = null) |
|
2634 | + { |
|
2530 | 2635 | return $this->getScenario()->runStep(new \Codeception\Step\Action('waitForJS', func_get_args())); |
2531 | 2636 | } |
2532 | 2637 | |
@@ -2548,7 +2653,8 @@ discard block |
||
2548 | 2653 | * @return mixed |
2549 | 2654 | * @see \Codeception\Module\WebDriver::executeJS() |
2550 | 2655 | */ |
2551 | - public function executeJS($script) { |
|
2656 | + public function executeJS($script) |
|
2657 | + { |
|
2552 | 2658 | return $this->getScenario()->runStep(new \Codeception\Step\Action('executeJS', func_get_args())); |
2553 | 2659 | } |
2554 | 2660 | |
@@ -2559,7 +2665,8 @@ discard block |
||
2559 | 2665 | * Maximizes the current window. |
2560 | 2666 | * @see \Codeception\Module\WebDriver::maximizeWindow() |
2561 | 2667 | */ |
2562 | - public function maximizeWindow() { |
|
2668 | + public function maximizeWindow() |
|
2669 | + { |
|
2563 | 2670 | return $this->getScenario()->runStep(new \Codeception\Step\Action('maximizeWindow', func_get_args())); |
2564 | 2671 | } |
2565 | 2672 | |
@@ -2579,7 +2686,8 @@ discard block |
||
2579 | 2686 | * @param string $target (CSS ID or XPath) |
2580 | 2687 | * @see \Codeception\Module\WebDriver::dragAndDrop() |
2581 | 2688 | */ |
2582 | - public function dragAndDrop($source, $target) { |
|
2689 | + public function dragAndDrop($source, $target) |
|
2690 | + { |
|
2583 | 2691 | return $this->getScenario()->runStep(new \Codeception\Step\Action('dragAndDrop', func_get_args())); |
2584 | 2692 | } |
2585 | 2693 | |
@@ -2608,7 +2716,8 @@ discard block |
||
2608 | 2716 | * @throws \Codeception\Exception\ElementNotFound |
2609 | 2717 | * @see \Codeception\Module\WebDriver::moveMouseOver() |
2610 | 2718 | */ |
2611 | - public function moveMouseOver($cssOrXPath = null, $offsetX = null, $offsetY = null) { |
|
2719 | + public function moveMouseOver($cssOrXPath = null, $offsetX = null, $offsetY = null) |
|
2720 | + { |
|
2612 | 2721 | return $this->getScenario()->runStep(new \Codeception\Step\Action('moveMouseOver', func_get_args())); |
2613 | 2722 | } |
2614 | 2723 | |
@@ -2637,7 +2746,8 @@ discard block |
||
2637 | 2746 | * @throws \Codeception\Exception\ElementNotFound |
2638 | 2747 | * @see \Codeception\Module\WebDriver::clickWithLeftButton() |
2639 | 2748 | */ |
2640 | - public function clickWithLeftButton($cssOrXPath = null, $offsetX = null, $offsetY = null) { |
|
2749 | + public function clickWithLeftButton($cssOrXPath = null, $offsetX = null, $offsetY = null) |
|
2750 | + { |
|
2641 | 2751 | return $this->getScenario()->runStep(new \Codeception\Step\Action('clickWithLeftButton', func_get_args())); |
2642 | 2752 | } |
2643 | 2753 | |
@@ -2666,7 +2776,8 @@ discard block |
||
2666 | 2776 | * @throws \Codeception\Exception\ElementNotFound |
2667 | 2777 | * @see \Codeception\Module\WebDriver::clickWithRightButton() |
2668 | 2778 | */ |
2669 | - public function clickWithRightButton($cssOrXPath = null, $offsetX = null, $offsetY = null) { |
|
2779 | + public function clickWithRightButton($cssOrXPath = null, $offsetX = null, $offsetY = null) |
|
2780 | + { |
|
2670 | 2781 | return $this->getScenario()->runStep(new \Codeception\Step\Action('clickWithRightButton', func_get_args())); |
2671 | 2782 | } |
2672 | 2783 | |
@@ -2681,7 +2792,8 @@ discard block |
||
2681 | 2792 | * since it allows you to inspect the current page in the middle of a test case. |
2682 | 2793 | * @see \Codeception\Module\WebDriver::pauseExecution() |
2683 | 2794 | */ |
2684 | - public function pauseExecution() { |
|
2795 | + public function pauseExecution() |
|
2796 | + { |
|
2685 | 2797 | return $this->getScenario()->runStep(new \Codeception\Step\Action('pauseExecution', func_get_args())); |
2686 | 2798 | } |
2687 | 2799 | |
@@ -2695,7 +2807,8 @@ discard block |
||
2695 | 2807 | * @throws \Codeception\Exception\ElementNotFound |
2696 | 2808 | * @see \Codeception\Module\WebDriver::doubleClick() |
2697 | 2809 | */ |
2698 | - public function doubleClick($cssOrXPath) { |
|
2810 | + public function doubleClick($cssOrXPath) |
|
2811 | + { |
|
2699 | 2812 | return $this->getScenario()->runStep(new \Codeception\Step\Action('doubleClick', func_get_args())); |
2700 | 2813 | } |
2701 | 2814 | |
@@ -2724,7 +2837,8 @@ discard block |
||
2724 | 2837 | * @throws \Codeception\Exception\ElementNotFound |
2725 | 2838 | * @see \Codeception\Module\WebDriver::pressKey() |
2726 | 2839 | */ |
2727 | - public function pressKey($element, $char) { |
|
2840 | + public function pressKey($element, $char) |
|
2841 | + { |
|
2728 | 2842 | return $this->getScenario()->runStep(new \Codeception\Step\Action('pressKey', func_get_args())); |
2729 | 2843 | } |
2730 | 2844 | |
@@ -2747,7 +2861,8 @@ discard block |
||
2747 | 2861 | * @throws \Codeception\Exception\ElementNotFound |
2748 | 2862 | * @see \Codeception\Module\WebDriver::appendField() |
2749 | 2863 | */ |
2750 | - public function appendField($field, $value) { |
|
2864 | + public function appendField($field, $value) |
|
2865 | + { |
|
2751 | 2866 | return $this->getScenario()->runStep(new \Codeception\Step\Action('appendField', func_get_args())); |
2752 | 2867 | } |
2753 | 2868 | |
@@ -2758,7 +2873,8 @@ discard block |
||
2758 | 2873 | * @param string $name |
2759 | 2874 | * @see \Codeception\Module\WebDriver::saveSessionSnapshot() |
2760 | 2875 | */ |
2761 | - public function saveSessionSnapshot($name) { |
|
2876 | + public function saveSessionSnapshot($name) |
|
2877 | + { |
|
2762 | 2878 | return $this->getScenario()->runStep(new \Codeception\Step\Action('saveSessionSnapshot', func_get_args())); |
2763 | 2879 | } |
2764 | 2880 | |
@@ -2770,7 +2886,8 @@ discard block |
||
2770 | 2886 | * @return bool |
2771 | 2887 | * @see \Codeception\Module\WebDriver::loadSessionSnapshot() |
2772 | 2888 | */ |
2773 | - public function loadSessionSnapshot($name) { |
|
2889 | + public function loadSessionSnapshot($name) |
|
2890 | + { |
|
2774 | 2891 | return $this->getScenario()->runStep(new \Codeception\Step\Action('loadSessionSnapshot', func_get_args())); |
2775 | 2892 | } |
2776 | 2893 | |
@@ -2793,7 +2910,8 @@ discard block |
||
2793 | 2910 | * @param int $offsetY |
2794 | 2911 | * @see \Codeception\Module\WebDriver::scrollTo() |
2795 | 2912 | */ |
2796 | - public function scrollTo($selector, $offsetX = null, $offsetY = null) { |
|
2913 | + public function scrollTo($selector, $offsetX = null, $offsetY = null) |
|
2914 | + { |
|
2797 | 2915 | return $this->getScenario()->runStep(new \Codeception\Step\Action('scrollTo', func_get_args())); |
2798 | 2916 | } |
2799 | 2917 | |
@@ -2814,7 +2932,8 @@ discard block |
||
2814 | 2932 | * |
2815 | 2933 | * @see \Codeception\Module\WebDriver::openNewTab() |
2816 | 2934 | */ |
2817 | - public function openNewTab() { |
|
2935 | + public function openNewTab() |
|
2936 | + { |
|
2818 | 2937 | return $this->getScenario()->runStep(new \Codeception\Step\Action('openNewTab', func_get_args())); |
2819 | 2938 | } |
2820 | 2939 | |
@@ -2832,7 +2951,8 @@ discard block |
||
2832 | 2951 | * Can't be used with PhantomJS |
2833 | 2952 | * @see \Codeception\Module\WebDriver::closeTab() |
2834 | 2953 | */ |
2835 | - public function closeTab() { |
|
2954 | + public function closeTab() |
|
2955 | + { |
|
2836 | 2956 | return $this->getScenario()->runStep(new \Codeception\Step\Action('closeTab', func_get_args())); |
2837 | 2957 | } |
2838 | 2958 | |
@@ -2856,7 +2976,8 @@ discard block |
||
2856 | 2976 | * @param int $offset 1 |
2857 | 2977 | * @see \Codeception\Module\WebDriver::switchToNextTab() |
2858 | 2978 | */ |
2859 | - public function switchToNextTab($offset = null) { |
|
2979 | + public function switchToNextTab($offset = null) |
|
2980 | + { |
|
2860 | 2981 | return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToNextTab', func_get_args())); |
2861 | 2982 | } |
2862 | 2983 | |
@@ -2880,7 +3001,8 @@ discard block |
||
2880 | 3001 | * @param int $offset 1 |
2881 | 3002 | * @see \Codeception\Module\WebDriver::switchToPreviousTab() |
2882 | 3003 | */ |
2883 | - public function switchToPreviousTab($offset = null) { |
|
3004 | + public function switchToPreviousTab($offset = null) |
|
3005 | + { |
|
2884 | 3006 | return $this->getScenario()->runStep(new \Codeception\Step\Action('switchToPreviousTab', func_get_args())); |
2885 | 3007 | } |
2886 | 3008 | |
@@ -2931,7 +3053,8 @@ discard block |
||
2931 | 3053 | * @param int $timeout |
2932 | 3054 | * @see \Codeception\Module\WebDriver::performOn() |
2933 | 3055 | */ |
2934 | - public function performOn($element, $actions, $timeout = null) { |
|
3056 | + public function performOn($element, $actions, $timeout = null) |
|
3057 | + { |
|
2935 | 3058 | return $this->getScenario()->runStep(new \Codeception\Step\Action('performOn', func_get_args())); |
2936 | 3059 | } |
2937 | 3060 | |
@@ -2947,7 +3070,8 @@ discard block |
||
2947 | 3070 | * @param string $message |
2948 | 3071 | * @see \Codeception\Module::assertArraySubset() |
2949 | 3072 | */ |
2950 | - public function assertArraySubset($subset, $array, $strict = null, $message = null) { |
|
3073 | + public function assertArraySubset($subset, $array, $strict = null, $message = null) |
|
3074 | + { |
|
2951 | 3075 | return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArraySubset', func_get_args())); |
2952 | 3076 | } |
2953 | 3077 | |
@@ -2958,7 +3082,8 @@ discard block |
||
2958 | 3082 | * @return $this |
2959 | 3083 | * @see \SprykerTest\Shared\Application\Helper\YvesHelper::amYves() |
2960 | 3084 | */ |
2961 | - public function amYves() { |
|
3085 | + public function amYves() |
|
3086 | + { |
|
2962 | 3087 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amYves', func_get_args())); |
2963 | 3088 | } |
2964 | 3089 | |
@@ -2969,7 +3094,8 @@ discard block |
||
2969 | 3094 | * @return $this |
2970 | 3095 | * @see \SprykerTest\Shared\Application\Helper\ZedHelper::amZed() |
2971 | 3096 | */ |
2972 | - public function amZed() { |
|
3097 | + public function amZed() |
|
3098 | + { |
|
2973 | 3099 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amZed', func_get_args())); |
2974 | 3100 | } |
2975 | 3101 | |
@@ -2983,7 +3109,8 @@ discard block |
||
2983 | 3109 | * @return void |
2984 | 3110 | * @see \SprykerTest\Shared\Application\Helper\ZedHelper::amLoggedInUser() |
2985 | 3111 | */ |
2986 | - public function amLoggedInUser($username = null, $password = null) { |
|
3112 | + public function amLoggedInUser($username = null, $password = null) |
|
3113 | + { |
|
2987 | 3114 | return $this->getScenario()->runStep(new \Codeception\Step\Condition('amLoggedInUser', func_get_args())); |
2988 | 3115 | } |
2989 | 3116 | |
@@ -2994,7 +3121,8 @@ discard block |
||
2994 | 3121 | * @return int |
2995 | 3122 | * @see \SprykerTest\Shared\Sales\Helper\SalesHelper::createOrder() |
2996 | 3123 | */ |
2997 | - public function createOrder() { |
|
3124 | + public function createOrder() |
|
3125 | + { |
|
2998 | 3126 | return $this->getScenario()->runStep(new \Codeception\Step\Action('createOrder', func_get_args())); |
2999 | 3127 | } |
3000 | 3128 | |
@@ -3005,7 +3133,8 @@ discard block |
||
3005 | 3133 | * @return void |
3006 | 3134 | * @see \SprykerTest\Shared\Sales\Helper\SalesHelper::createOrderWithOneItem() |
3007 | 3135 | */ |
3008 | - public function createOrderWithOneItem() { |
|
3136 | + public function createOrderWithOneItem() |
|
3137 | + { |
|
3009 | 3138 | return $this->getScenario()->runStep(new \Codeception\Step\Action('createOrderWithOneItem', func_get_args())); |
3010 | 3139 | } |
3011 | 3140 | |
@@ -3019,7 +3148,8 @@ discard block |
||
3019 | 3148 | * @return int |
3020 | 3149 | * @see \SprykerTest\Shared\Sales\Helper\SalesHelper::createSalesOrderItemForOrder() |
3021 | 3150 | */ |
3022 | - public function createSalesOrderItemForOrder($idSalesOrder, $salesOrderItem = null) { |
|
3151 | + public function createSalesOrderItemForOrder($idSalesOrder, $salesOrderItem = null) |
|
3152 | + { |
|
3023 | 3153 | return $this->getScenario()->runStep(new \Codeception\Step\Action('createSalesOrderItemForOrder', func_get_args())); |
3024 | 3154 | } |
3025 | 3155 | |
@@ -3033,7 +3163,8 @@ discard block |
||
3033 | 3163 | * @return void |
3034 | 3164 | * @see \SprykerTest\Shared\Sales\Helper\SalesHelper::createDiscountForSalesOrderItem() |
3035 | 3165 | */ |
3036 | - public function createDiscountForSalesOrderItem($idSalesOrderItem, $discount = null) { |
|
3166 | + public function createDiscountForSalesOrderItem($idSalesOrderItem, $discount = null) |
|
3167 | + { |
|
3037 | 3168 | return $this->getScenario()->runStep(new \Codeception\Step\Action('createDiscountForSalesOrderItem', func_get_args())); |
3038 | 3169 | } |
3039 | 3170 | |
@@ -3046,7 +3177,8 @@ discard block |
||
3046 | 3177 | * @return void |
3047 | 3178 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::triggerEventForNewOrderItems() |
3048 | 3179 | */ |
3049 | - public function triggerEventForNewOrderItems($idSalesOrderItems) { |
|
3180 | + public function triggerEventForNewOrderItems($idSalesOrderItems) |
|
3181 | + { |
|
3050 | 3182 | return $this->getScenario()->runStep(new \Codeception\Step\Action('triggerEventForNewOrderItems', func_get_args())); |
3051 | 3183 | } |
3052 | 3184 | |
@@ -3060,7 +3192,8 @@ discard block |
||
3060 | 3192 | * @return void |
3061 | 3193 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::moveItemAfterTimeOut() |
3062 | 3194 | */ |
3063 | - public function moveItemAfterTimeOut($idSalesOrderItem, $timeout) { |
|
3195 | + public function moveItemAfterTimeOut($idSalesOrderItem, $timeout) |
|
3196 | + { |
|
3064 | 3197 | return $this->getScenario()->runStep(new \Codeception\Step\Action('moveItemAfterTimeOut', func_get_args())); |
3065 | 3198 | } |
3066 | 3199 | |
@@ -3074,7 +3207,8 @@ discard block |
||
3074 | 3207 | * @return void |
3075 | 3208 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::setItemState() |
3076 | 3209 | */ |
3077 | - public function setItemState($idSalesOrderItem, $stateName) { |
|
3210 | + public function setItemState($idSalesOrderItem, $stateName) |
|
3211 | + { |
|
3078 | 3212 | return $this->getScenario()->runStep(new \Codeception\Step\Action('setItemState', func_get_args())); |
3079 | 3213 | } |
3080 | 3214 | |
@@ -3085,7 +3219,8 @@ discard block |
||
3085 | 3219 | * @return void |
3086 | 3220 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::checkCondition() |
3087 | 3221 | */ |
3088 | - public function checkCondition() { |
|
3222 | + public function checkCondition() |
|
3223 | + { |
|
3089 | 3224 | return $this->getScenario()->runStep(new \Codeception\Step\Action('checkCondition', func_get_args())); |
3090 | 3225 | } |
3091 | 3226 | |
@@ -3096,7 +3231,8 @@ discard block |
||
3096 | 3231 | * @return void |
3097 | 3232 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::checkTimeout() |
3098 | 3233 | */ |
3099 | - public function checkTimeout() { |
|
3234 | + public function checkTimeout() |
|
3235 | + { |
|
3100 | 3236 | return $this->getScenario()->runStep(new \Codeception\Step\Action('checkTimeout', func_get_args())); |
3101 | 3237 | } |
3102 | 3238 | |
@@ -3107,7 +3243,8 @@ discard block |
||
3107 | 3243 | * @return void |
3108 | 3244 | * @see \SprykerTest\Zed\Oms\Helper\OmsHelper::clearLocks() |
3109 | 3245 | */ |
3110 | - public function clearLocks() { |
|
3246 | + public function clearLocks() |
|
3247 | + { |
|
3111 | 3248 | return $this->getScenario()->runStep(new \Codeception\Step\Action('clearLocks', func_get_args())); |
3112 | 3249 | } |
3113 | 3250 | } |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | /** |
131 | 131 | * @param array $item |
132 | 132 | * |
133 | - * @return int |
|
133 | + * @return string |
|
134 | 134 | */ |
135 | 135 | protected function getGrandTotal(array $item) |
136 | 136 | { |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | /** |
228 | 228 | * @param array $item |
229 | 229 | * |
230 | - * @return array |
|
230 | + * @return string[] |
|
231 | 231 | */ |
232 | 232 | protected function createActionUrls(array $item) |
233 | 233 | { |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | } |
311 | 311 | |
312 | 312 | /** |
313 | - * @return array |
|
313 | + * @return string[] |
|
314 | 314 | */ |
315 | 315 | protected function getSortableFields() |
316 | 316 | { |
@@ -87,7 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * @param \Spryker\Client\Search\Dependency\Plugin\SearchConfigInterface $searchConfig |
89 | 89 | * |
90 | - * @return \PHPUnit_Framework_MockObject_MockObject|\Spryker\Client\Search\SearchFactory |
|
90 | + * @return \Spryker\Client\Kernel\AbstractFactory |
|
91 | 91 | */ |
92 | 92 | protected function createSearchFactoryMockedWithSearchConfig(SearchConfigInterface $searchConfig) |
93 | 93 | { |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
183 | 183 | * @param array|null $mockData |
184 | 184 | * |
185 | - * @return float |
|
185 | + * @return integer |
|
186 | 186 | */ |
187 | 187 | protected function getEffectiveTaxRateByQuoteTransfer(QuoteTransfer $quoteTransfer, $mockData) |
188 | 188 | { |
@@ -244,7 +244,7 @@ discard block |
||
244 | 244 | /** |
245 | 245 | * @param \Generated\Shared\Transfer\QuoteTransfer $quoteTransfer |
246 | 246 | * |
247 | - * @return float |
|
247 | + * @return integer |
|
248 | 248 | */ |
249 | 249 | protected function getExpenseItemsTaxRateAverage(QuoteTransfer $quoteTransfer) |
250 | 250 | { |
@@ -331,7 +331,7 @@ |
||
331 | 331 | } |
332 | 332 | |
333 | 333 | /** |
334 | - * @param array $transitions |
|
334 | + * @param TransitionInterface[] $transitions |
|
335 | 335 | * @param array $eventsBySource |
336 | 336 | * @param \Spryker\Zed\StateMachine\Business\Process\EventInterface $event |
337 | 337 | * |