mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-05 20:57:12 +00:00
34 lines
1.3 KiB
Gherkin
34 lines
1.3 KiB
Gherkin
@managing_taxons_ajax
|
|
Feature: Taxons autocomplete
|
|
In order to get hints when looking for taxons
|
|
As an Administrator
|
|
I want to get taxons according to my specified phrase
|
|
|
|
Background:
|
|
Given the store operates on a single channel in "United States"
|
|
And the store classifies its products as "T-Shirts", "Watches", "Belts" and "Wallets"
|
|
And I am logged in as an administrator
|
|
|
|
@api
|
|
Scenario: Getting a hint when looking for taxons
|
|
When I look for a taxon with "B" in name
|
|
Then I should see 1 taxons on the list
|
|
And I should see the taxon named "Belts" in the list
|
|
|
|
@api
|
|
Scenario: Getting a hint when looking for taxons
|
|
When I look for a taxon with "Shi" in name
|
|
Then I should see 1 taxons on the list
|
|
And I should see the taxon named "T-Shirts" in the list
|
|
|
|
@api
|
|
Scenario: Getting a hint when looking for taxons
|
|
When I look for a taxon with "e" in name
|
|
Then I should see 3 taxons on the list
|
|
And I should see the taxon named "Belts", "Wallets" and "Watches" in the list
|
|
|
|
@api
|
|
Scenario: Getting a taxon from its code
|
|
When I want to get taxon with "belts" code
|
|
Then I should see 1 taxons on the list
|
|
And I should see the taxon named "Belts" in the list
|