Method | Description | |
---|---|---|
__construct ( Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductReview\UpdatePageInterface $updatePage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
iAcceptTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
iChangeItsCommentTo ( $comment = null ) | ||
iChangeItsTitleTo ( $title = null ) | ||
iChooseAsItsRating ( $rating ) | ||
iDeleteTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
iRejectTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
iSaveMyChanges ( ) | ||
iShouldBeEditingReviewOfProduct ( $productName ) | ||
iShouldBeNotifiedThatElementIsRequired ( $element ) | ||
iShouldBeNotifiedThatItHasBeenSuccessfullyUpdated ( $action ) | ||
iShouldSeeReviewsInTheList ( $amount ) | ||
iShouldSeeTheCustomerSName ( $customerName ) | ||
iShouldSeeTheProductReviewTitleInTheList ( $title ) | ||
iWantToBrowseProductReviews ( ) | ||
iWantToModifyTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
thisProductReviewElementShouldBeValue ( $element, $value ) | ||
thisProductReviewRatingShouldBe ( $rating ) | ||
thisProductReviewShouldNoLongerExistInTheRegistry ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
thisProductReviewShouldStillHaveAComment ( Sylius\Component\Review\Model\ReviewInterface $productReview, $comment ) | ||
thisProductReviewStatusShouldBe ( Sylius\Component\Review\Model\ReviewInterface $productReview, $status ) | ||
thisProductReviewTitleShouldBeTitled ( Sylius\Component\Review\Model\ReviewInterface $productReview, $productReviewTitle ) |
Method | Description | |
---|---|---|
assertElementValue ( string $element, string $value ) | ||
assertFieldValidationMessage ( string $element, string $expectedMessage ) |
public __construct ( Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface $indexPage, Sylius\Behat\Page\Admin\ProductReview\UpdatePageInterface $updatePage, Sylius\Behat\Service\NotificationCheckerInterface $notificationChecker ) | ||
$indexPage | Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface | |
$updatePage | Sylius\Behat\Page\Admin\ProductReview\UpdatePageInterface | |
$notificationChecker | Sylius\Behat\Service\NotificationCheckerInterface |
public iAcceptTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public iDeleteTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public iRejectTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public iShouldBeEditingReviewOfProduct ( $productName ) |
public iShouldBeNotifiedThatElementIsRequired ( $element ) |
public iShouldBeNotifiedThatItHasBeenSuccessfullyUpdated ( $action ) |
public iShouldSeeTheProductReviewTitleInTheList ( $title ) |
public iWantToModifyTheProductReview ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public thisProductReviewElementShouldBeValue ( $element, $value ) |
public thisProductReviewShouldNoLongerExistInTheRegistry ( Sylius\Component\Review\Model\ReviewInterface $productReview ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public thisProductReviewShouldStillHaveAComment ( Sylius\Component\Review\Model\ReviewInterface $productReview, $comment ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public thisProductReviewStatusShouldBe ( Sylius\Component\Review\Model\ReviewInterface $productReview, $status ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |
public thisProductReviewTitleShouldBeTitled ( Sylius\Component\Review\Model\ReviewInterface $productReview, $productReviewTitle ) | ||
$productReview | Sylius\Component\Review\Model\ReviewInterface |