diff --git a/features/taxonomy/managing_taxons/changing_images_of_taxon.feature b/features/taxonomy/managing_taxons/changing_images_of_taxon.feature index b76bdd3ab0..e87d7d8c22 100644 --- a/features/taxonomy/managing_taxons/changing_images_of_taxon.feature +++ b/features/taxonomy/managing_taxons/changing_images_of_taxon.feature @@ -13,7 +13,7 @@ Feature: Changing images of an existing taxon @ui @javascript Scenario: Changing a single image of a taxon Given I want to modify the "T-Shirts" taxon - When I change its image to "t-shirts.jpg" for the code "banner" + When I change the image with the "banner" code to "t-shirts.jpg" And I save my changes Then I should be notified that it has been successfully edited And this taxon should have an image with a code "banner" diff --git a/src/Sylius/Behat/Context/Ui/Admin/ManagingTaxonsContext.php b/src/Sylius/Behat/Context/Ui/Admin/ManagingTaxonsContext.php index ca461dea32..312ea40cff 100644 --- a/src/Sylius/Behat/Context/Ui/Admin/ManagingTaxonsContext.php +++ b/src/Sylius/Behat/Context/Ui/Admin/ManagingTaxonsContext.php @@ -364,7 +364,7 @@ final class ManagingTaxonsContext implements Context } /** - * @When I change its image to :path for the code :code + * @When I change the image with the :code code to :path */ public function iChangeItsImageToPathForTheCode($path, $code) {