/** * @When I switch to the :currencyCode currency * @When I change my currency to :currencyCode */ public function iSwitchTheCurrencyToTheCurrency($currencyCode) { $this->homePage->open(); $this->homePage->switchCurrency($currencyCode); }