| 1 | <?php |
||
| 19 | class CreatePage extends BaseCreatePage implements CreatePageInterface |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | public function specifyRatio($ratio) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritdoc} |
||
| 31 | */ |
||
| 32 | public function chooseSourceCurrency($currency) |
||
| 33 | { |
||
| 34 | $this->getDocument()->selectFieldOption('Source currency', $currency); |
||
| 35 | } |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function chooseTargetCurrency($currency) |
||
| 41 | { |
||
| 42 | $this->getDocument()->selectFieldOption('Target currency', $currency); |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * {@inheritdoc} |
||
| 47 | */ |
||
| 48 | public function hasFormValidationError($expectedMessage) |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | protected function getDefinedElements() |
||
| 69 | } |
||
| 70 |