mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
* 2.0: [Behat] Use chromedrives in some scenarios Update phpstan/phpstan-doctrine requirement from 1.3.43 to 1.3.69 Update PR template [Documentation] Update release cycle after 1.13 release [Maintenance] Use chromedrive in behat tests [Maintenance][AbstractStateMachine] Add Sylius logo to readme
48 lines
1.9 KiB
Gherkin
48 lines
1.9 KiB
Gherkin
@managing_taxons
|
|
Feature: Reordering taxons
|
|
In order to see all ordered taxons in the store
|
|
As an Administrator
|
|
I want to browse ordered taxons
|
|
|
|
Background:
|
|
Given the store classifies its products as "T-Shirts", "Watches", "Belts" and "Wallets"
|
|
And I am logged in as an administrator
|
|
|
|
@todo @ui @javascript @no-api
|
|
Scenario: Moving up the taxon on list
|
|
When I want to see all taxons in store
|
|
And I move up "Watches" taxon
|
|
Then I should see 4 taxons on the list
|
|
And I should see the taxon named "T-Shirts" in the list
|
|
But the first taxon on the list should be "Watches"
|
|
|
|
@todo @ui @javascript @no-api
|
|
Scenario: Moving down the taxon on list
|
|
When I want to see all taxons in store
|
|
And I move down "T-Shirts" taxon
|
|
Then I should see 4 taxons on the list
|
|
And I should see the taxon named "Watches" in the list
|
|
But the first taxon on the list should be "Watches"
|
|
|
|
@todo @ui @mink:chromedriver @no-api
|
|
Scenario: Moving up the first taxon on list
|
|
When I want to see all taxons in store
|
|
And I move up "T-Shirts" taxon
|
|
Then I should see 4 taxons on the list
|
|
And the first taxon on the list should be "T-Shirts"
|
|
|
|
@todo @ui @mink:chromedriver @no-api
|
|
Scenario: Moving down the last taxon on list
|
|
When I want to see all taxons in store
|
|
And I move down "Wallets" taxon
|
|
Then I should see 4 taxons on the list
|
|
And the last taxon on the list should be "Wallets"
|
|
|
|
@todo @ui @javascript @no-api @todo
|
|
Scenario: Changing order of the taxon on list
|
|
When I want to see all taxons in store
|
|
And I move down "T-Shirts" taxon
|
|
And I move down "Belts" taxon
|
|
And I move up "Wallets" taxon
|
|
Then I should see 4 taxons on the list
|
|
And they should have order like "Watches", "Wallets", "T-Shirts" and "Belts"
|