Skip to content

Commit

Permalink
bug #14225 [Minor][Behat] Attributes deletion scenario improvements (…
Browse files Browse the repository at this point in the history
…lchrusciel)

This PR was merged into the 1.11 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.11                  |
| Bug fix?        | yes                                                       |
| New feature?    | no                                                       |
| BC breaks?      | no                                                       |
| Deprecations?   | no |
| Related tickets | review from #14202 |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.11 branch
 - Features and deprecations must be submitted against the 1.12 branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

1a5529a [Minor][Behat] Attributes deletion scenario improvements
  • Loading branch information
Zales0123 committed Aug 11, 2022
2 parents 041df73 + 1a5529a commit 029d5f3
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
@managing_product_attributes
Feature:Removing a attribute
In order to keep my collection of product attributes not cluttered
As an administrator
I want to be able to remove a attribute that is not assigned to any of the products
I want to be able to remove an attribute that is not assigned to any of the products

Background:
Given I am logged in as an administrator
And the store has a product "44 Magnum"

@ui
Scenario: Try deleting a attribute from the registry when product use him
And this product has a text attribute "Gun caliber" with value "11 mm"
Given this product has a text attribute "Gun caliber" with value "11 mm"
When I delete this product attribute
Then I should be notified that it has been failed deleted "product attribute"

Expand Down

0 comments on commit 029d5f3

Please sign in to comment.