1 | <?php |
||
18 | class MessageContext extends PageObjectContext |
||
19 | { |
||
20 | /** |
||
21 | * @Then I should see an error message saying: |
||
22 | */ |
||
23 | public function iShouldSeeErrorMessageSaying(PyStringNode $message) |
||
29 | |||
30 | /** |
||
31 | * @Then I should see a warning message saying: |
||
32 | */ |
||
33 | public function iShouldSeeWarningMessageSaying(PyStringNode $message) |
||
39 | |||
40 | /** |
||
41 | * @Then I should see an informational message saying: |
||
42 | */ |
||
43 | public function iShouldSeeInformationalMessageSaying(PyStringNode $message) |
||
49 | |||
50 | /** |
||
51 | * @Then I should see a success message saying: |
||
52 | */ |
||
53 | public function iShouldSeeSuccessMessageSaying(PyStringNode $message) |
||
59 | |||
60 | private function getMessagesElement(): Messages |
||
64 | } |
||
65 |