mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-15 01:20:59 +00:00
Merge branch '2.0' into api-platform-3
* 2.0: (547 commits) [Admin][UX] Filter translatable autocomplete results based on current locale [Admin][DX] Extract translatable autocomplete processing to a separate form type [Behat] Add possibility to accepting null as value in response checker [Maintenance] Enable non-UI tests in CI Fixes after CR Changes after CR [Admin][Product] Enable and fix tests [Admin][Product] Add view in store button Remove final from the Zone's form component Review fixes [Admin][UI] Add error indicators for form tabs and accordions [Admin][Taxon] Rename FormImageElement to ImageFormElement [Admin][Taxon] Split media more granularly [Admin][Taxon] Remove unnecessary code [Taxon][Behat] Extract management of image to separate form element. [Behat] Extract waitForFormUpdate function to CrudFormElement [Behat] Submit live component before submitting the form [Admin][Taxon][Image] Enable behat tests [Admin][Taxon] Implements media management [Admin][Product][Inventory] Enable behat tests [Admin][Zone] Move FormComponent ...
This commit is contained in:
commit
25a3e77281
1798 changed files with 23901 additions and 13042 deletions
|
|
@ -6,6 +6,7 @@ ARG NODE_VERSION=20
|
|||
ARG ALPINE_VERSION=3.18
|
||||
ARG COMPOSER_VERSION=2.6
|
||||
ARG PHP_EXTENSION_INSTALLER_VERSION=latest
|
||||
ARG DATABASE_URL
|
||||
|
||||
FROM composer:${COMPOSER_VERSION} AS composer
|
||||
|
||||
|
|
@ -13,6 +14,8 @@ FROM mlocati/php-extension-installer:${PHP_EXTENSION_INSTALLER_VERSION} AS php_e
|
|||
|
||||
FROM php:${PHP_VERSION}-fpm-alpine${ALPINE_VERSION} AS base
|
||||
|
||||
ENV DATABASE_URL=${DATABASE_URL}
|
||||
|
||||
# persistent / runtime deps
|
||||
RUN apk add --no-cache \
|
||||
acl \
|
||||
|
|
@ -89,20 +92,23 @@ RUN set -eux; \
|
|||
g++ \
|
||||
gcc \
|
||||
make \
|
||||
git \
|
||||
;
|
||||
|
||||
# prevent the reinstallation of vendors at every changes in the source code
|
||||
COPY package.json yarn.* ./
|
||||
RUN set -eux; \
|
||||
yarn install; \
|
||||
yarn cache clean
|
||||
COPY package.json package-*.json ./
|
||||
|
||||
COPY --from=base /srv/sylius/src/Sylius/Bundle/UiBundle/Resources/private src/Sylius/Bundle/UiBundle/Resources/private/
|
||||
COPY --from=base /srv/sylius/src/Sylius/Bundle/AdminBundle/Resources/private src/Sylius/Bundle/AdminBundle/Resources/private/
|
||||
COPY --from=base /srv/sylius/src/Sylius/Bundle/AdminBundle src/Sylius/Bundle/AdminBundle/
|
||||
COPY --from=base /srv/sylius/src/Sylius/Bundle/ShopBundle/Resources/private src/Sylius/Bundle/ShopBundle/Resources/private/
|
||||
COPY --from=base /srv/sylius/vendor/symfony/ux-autocomplete/assets vendor/symfony/ux-autocomplete/assets/
|
||||
COPY --from=base /srv/sylius/vendor/symfony/ux-live-component/assets vendor/symfony/ux-live-component/assets/
|
||||
|
||||
RUN set -eux; \
|
||||
npm install;
|
||||
|
||||
COPY webpack.config.js ./
|
||||
RUN yarn build:prod
|
||||
RUN npm run build:prod
|
||||
|
||||
FROM base AS sylius_php_prod
|
||||
|
||||
|
|
|
|||
|
|
@ -43,6 +43,8 @@ components:
|
|||
context: .
|
||||
dockerfile: .bunnyshell/docker/php/Dockerfile
|
||||
target: sylius_php_prod
|
||||
args:
|
||||
DATABASE_URL: 'mysql://{{ env.vars.MYSQL_USER }}:{{ env.vars.MYSQL_PASSWORD }}@database/{{ env.vars.MYSQL_DATABASE }}?serverVersion=8.0'
|
||||
command: php-fpm
|
||||
entrypoint: /usr/local/bin/php-entrypoint
|
||||
environment:
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@
|
|||
"Psr\\Container\\ContainerInterface",
|
||||
"Psr\\Http\\Message\\RequestFactoryInterface",
|
||||
"Psr\\Http\\Message\\StreamFactoryInterface",
|
||||
"Sylius\\Bundle\\UiBundle\\Registry\\TemplateBlockRegistryInterface",
|
||||
"Symfony\\Component\\Security\\Core\\Encoder\\EncoderFactoryInterface"
|
||||
],
|
||||
"php-core-extensions" : [
|
||||
|
|
|
|||
|
|
@ -87,11 +87,12 @@
|
|||
"sylius/resource": "^1.10",
|
||||
"sylius/resource-bundle": "^1.10",
|
||||
"sylius/theme-bundle": "^2.3",
|
||||
"sylius/twig-hooks": "~0.2.4",
|
||||
"symfony/asset": "^6.4.0",
|
||||
"symfony/cache-contracts": "^2.5 || ^3.0",
|
||||
"symfony/clock": "^6.4.0",
|
||||
"symfony/config": "^6.4.0",
|
||||
"symfony/console": "^6.4.1",
|
||||
"symfony/cache-contracts": "^2.5 || ^3.0",
|
||||
"symfony/dependency-injection": "^6.4.1",
|
||||
"symfony/deprecation-contracts": "^3.1",
|
||||
"symfony/doctrine-bridge": "^6.4.0",
|
||||
|
|
@ -125,17 +126,24 @@
|
|||
"symfony/security-http": "^6.4.0",
|
||||
"symfony/serializer": "^6.4.0",
|
||||
"symfony/service-contracts": "^2.5 || ^3.0",
|
||||
"symfony/stimulus-bundle": "^2.12",
|
||||
"symfony/string": "^6.4.0",
|
||||
"symfony/templating": "^6.4.0",
|
||||
"symfony/translation": "^6.4.0",
|
||||
"symfony/translation-contracts": "^3.3",
|
||||
"symfony/twig-bundle": "^6.4.0",
|
||||
"symfony/ux-autocomplete": "^2.17",
|
||||
"symfony/ux-live-component": "^2.17",
|
||||
"symfony/ux-twig-component": "^2.17",
|
||||
"symfony/validator": "^6.4.0",
|
||||
"symfony/webpack-encore-bundle": "^1.17.1",
|
||||
"symfony/workflow": "^6.4.0",
|
||||
"symfony/yaml": "^6.4.0",
|
||||
"twig/intl-extra": "^2.12 || ^3.4",
|
||||
"twig/twig": "^2.12 || ^3.3",
|
||||
"symfonycasts/dynamic-forms": "v0.1.1",
|
||||
"twig/extra-bundle": "~3.8.0",
|
||||
"twig/intl-extra": "~3.8.0",
|
||||
"twig/string-extra": "~3.8.0",
|
||||
"twig/twig": "~3.8.0",
|
||||
"webmozart/assert": "^1.9",
|
||||
"willdurand/hateoas": "^3.0",
|
||||
"willdurand/hateoas-bundle": "^2.0",
|
||||
|
|
@ -188,8 +196,7 @@
|
|||
"conflict": {
|
||||
"api-platform/core": "2.7.17",
|
||||
"doctrine/orm": ">= 2.16.0",
|
||||
"stof/doctrine-extensions-bundle": "1.8.0",
|
||||
"twig/twig": "3.9.0"
|
||||
"stof/doctrine-extensions-bundle": "1.8.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"behat/behat": "^3.6.1",
|
||||
|
|
|
|||
|
|
@ -59,4 +59,10 @@ return [
|
|||
SyliusLabs\DoctrineMigrationsExtraBundle\SyliusLabsDoctrineMigrationsExtraBundle::class => ['all' => true],
|
||||
SyliusLabs\Polyfill\Symfony\Security\Bundle\SyliusLabsPolyfillSymfonySecurityBundle::class => ['all' => true],
|
||||
Symfony\WebpackEncoreBundle\WebpackEncoreBundle::class => ['all' => true],
|
||||
Symfony\UX\TwigComponent\TwigComponentBundle::class => ['all' => true],
|
||||
Symfony\UX\StimulusBundle\StimulusBundle::class => ['all' => true],
|
||||
Symfony\UX\LiveComponent\LiveComponentBundle::class => ['all' => true],
|
||||
Sylius\TwigHooks\TwigHooksBundle::class => ['all' => true],
|
||||
Symfony\UX\Autocomplete\AutocompleteBundle::class => ['all' => true],
|
||||
Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true],
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
imports:
|
||||
- { resource: "@SyliusCoreBundle/Resources/config/app/config.yml" }
|
||||
|
||||
- { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" }
|
||||
|
||||
- { resource: "@SyliusShopBundle/Resources/config/app/config.yml" }
|
||||
|
||||
- { resource: "@SyliusApiBundle/Resources/config/app/config.yaml" }
|
||||
|
||||
- { resource: "@SyliusAdminBundle/Resources/config/app/config.yml" }
|
||||
|
||||
- { resource: "../parameters.yaml" }
|
||||
|
||||
parameters:
|
||||
|
|
|
|||
|
|
@ -2,11 +2,3 @@ twig:
|
|||
paths: ['%kernel.project_dir%/templates']
|
||||
debug: '%kernel.debug%'
|
||||
strict_variables: '%kernel.debug%'
|
||||
|
||||
services:
|
||||
_defaults:
|
||||
public: false
|
||||
autowire: true
|
||||
autoconfigure: true
|
||||
|
||||
Twig\Extra\Intl\IntlExtension: ~
|
||||
|
|
|
|||
5
config/routes/ux_live_component.yaml
Normal file
5
config/routes/ux_live_component.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
live_component:
|
||||
resource: '@LiveComponentBundle/config/routes.php'
|
||||
prefix: '/_components'
|
||||
# adjust prefix to add localization to your components
|
||||
#prefix: '/{_locale}/_components'
|
||||
|
|
@ -7,7 +7,7 @@ Feature: Adding a new country
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Adding country
|
||||
When I want to add a new country
|
||||
And I choose "United States"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Adding countries with provinces
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Adding a country with a province
|
||||
When I want to add a new country
|
||||
And I choose "United Kingdom"
|
||||
|
|
@ -17,7 +17,7 @@ Feature: Adding countries with provinces
|
|||
And the country "United Kingdom" should appear in the store
|
||||
And the country "United Kingdom" should have the "Scotland" province
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Adding a country with two provinces
|
||||
When I want to add a new country
|
||||
And I choose "United Kingdom"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Country validation
|
|||
Given the store operates in "Norway"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Trying to add a new country with used code
|
||||
When I want to add a new country
|
||||
Then I should not be able to choose "Norway"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Editing country
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Disabling country
|
||||
Given the store has country "United States"
|
||||
When I want to edit this country
|
||||
|
|
@ -16,7 +16,7 @@ Feature: Editing country
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this country should be disabled
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Enabling country
|
||||
Given the store has disabled country "United States"
|
||||
When I want to edit this country
|
||||
|
|
@ -25,7 +25,7 @@ Feature: Editing country
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this country should be enabled
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Seeing disabled code field while editing country
|
||||
Given the store has country "United States"
|
||||
When I want to edit this country
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Managing provinces of a country
|
|||
Given the store has country "United Kingdom"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Adding a province to an existing country
|
||||
When I want to edit this country
|
||||
And I add the "Scotland" province with "GB-SCT" code
|
||||
|
|
@ -16,7 +16,7 @@ Feature: Managing provinces of a country
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this country should have the "Scotland" province
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Removing a province from an existing country
|
||||
Given this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
When I want to edit this country
|
||||
|
|
@ -25,7 +25,7 @@ Feature: Managing provinces of a country
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this country should not have the "Northern Ireland" province
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Removing a province that is a zone member should not be possible
|
||||
Given this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
And this country also has the "Scotland" province with "GB-SCT" code
|
||||
|
|
@ -43,7 +43,7 @@ Feature: Managing provinces of a country
|
|||
And this country should still have the "Scotland" province
|
||||
And this country should still have the "England" province
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Removing a province that is not a zone member anymore should be possible
|
||||
Given this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
And this country also has the "Scotland" province with "GB-SCT" code
|
||||
|
|
@ -60,18 +60,18 @@ Feature: Managing provinces of a country
|
|||
And this country should not have the "England" province
|
||||
And this country should still have the "Northern Ireland" and "Scotland" provinces
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Removing and adding a new province to an existing country
|
||||
Given this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
When I want to edit this country
|
||||
And I delete the "Northern Ireland" province of this country
|
||||
And I add the "Scotland" province with "GB-SCT" code
|
||||
And I delete the "Northern Ireland" province of this country
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And this country should not have the "Northern Ireland" province
|
||||
And this country should have the "Scotland" province
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Adding a province with an austrian province code
|
||||
When I want to edit this country
|
||||
And I add the "Wien" province with "AT-9" code
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Province unique fields validation
|
|||
And this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add a new province with a taken code
|
||||
When I want to add a new country
|
||||
And I choose "Gibraltar"
|
||||
|
|
@ -17,14 +17,14 @@ Feature: Province unique fields validation
|
|||
And I try to add it
|
||||
Then I should be notified that province code must be unique
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add a new province with a taken name
|
||||
When I want to edit this country
|
||||
And I add the "Northern Ireland" province with "GB-NI" code
|
||||
And I save my changes
|
||||
Then I should be notified that province name must be unique
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add new provinces with duplicated codes
|
||||
When I want to edit this country
|
||||
And I add the "Scotland" province with "GB-SCO" code
|
||||
|
|
@ -32,7 +32,7 @@ Feature: Province unique fields validation
|
|||
And I save my changes
|
||||
Then I should be notified that all province codes and names within this country need to be unique
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add new provinces with duplicated names
|
||||
When I want to edit this country
|
||||
And I add the "Scotland" province with "GB-SC" code
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Province validation
|
|||
Given the store has country "United Kingdom"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add a new province without specifying its code
|
||||
When I want to create a new province in country "United Kingdom"
|
||||
And I name the province "Scotland"
|
||||
|
|
@ -17,7 +17,7 @@ Feature: Province validation
|
|||
Then I should be notified that code is required
|
||||
And province with name "Scotland" should not be added in this country
|
||||
|
||||
@ui @mink:chromedriver @api
|
||||
@api @ui @mink:chromedriver
|
||||
Scenario: Trying to add a new province with a too long code
|
||||
When I want to create a new province in country "United Kingdom"
|
||||
And I name the province "Scotland"
|
||||
|
|
@ -25,7 +25,7 @@ Feature: Province validation
|
|||
And I try to save my changes
|
||||
Then I should be informed that the provided province code is too long
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to add a new province without specifying its name
|
||||
When I want to create a new province in country "United Kingdom"
|
||||
And I specify the province code as "GB-SCT"
|
||||
|
|
@ -34,7 +34,7 @@ Feature: Province validation
|
|||
Then I should be notified that name is required
|
||||
And province with code "GB-SCT" should not be added in this country
|
||||
|
||||
@ui @javascript @api
|
||||
@api @ui @javascript
|
||||
Scenario: Trying to remove name from an existing province
|
||||
Given this country has the "Northern Ireland" province with "GB-NIR" code
|
||||
When I want to edit this country
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Feature: Adding a new zone with country type members
|
|||
And the store has a zone "North America" with code "NA"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Adding a zone with a country type member
|
||||
When I want to create a new zone consisting of country
|
||||
And I name it "European Union"
|
||||
|
|
@ -32,7 +32,7 @@ Feature: Adding a new zone with country type members
|
|||
Then I should be notified that it has been successfully created
|
||||
And the zone named "United States" with the "Alabama" province member should appear in the registry
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Adding a zone with zone type member
|
||||
When I want to create a new zone consisting of zone
|
||||
And I name it "America"
|
||||
|
|
@ -51,7 +51,7 @@ Feature: Adding a new zone with country type members
|
|||
And I add it
|
||||
Then I should be informed that the provided zone member code is too long
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Adding a zone with a country type member and a shipping scope
|
||||
When I want to create a new zone consisting of country
|
||||
And I name it "European Union"
|
||||
|
|
@ -63,7 +63,7 @@ Feature: Adding a new zone with country type members
|
|||
And the zone named "European Union" with the "France" country member should appear in the registry
|
||||
And its scope should be "shipping"
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Adding zone with disabled country
|
||||
When I want to create a new zone consisting of country
|
||||
And I name it "European Union"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Feature: Deleting a zone
|
|||
@ui @api
|
||||
Scenario: Deleting zone with associated tax rates should not be possible
|
||||
When I try to delete the zone named "South America"
|
||||
Then I should be notified that the zone is in use and cannot be deleted
|
||||
Then I should be notified that this zone cannot be deleted
|
||||
And I should still see the zone named "South America" in the list
|
||||
|
||||
@ui @api
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Editing a zone
|
|||
And the store has a zone "South America" with code "SA"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Removing a country from a zone
|
||||
Given the store has a zone "European Union" with code "EU"
|
||||
And it has the "France" country member
|
||||
|
|
@ -25,7 +25,7 @@ Feature: Editing a zone
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this zone should have only the "France" country member
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Removing and adding countries to a zone
|
||||
Given the store has a zone "European Union" with code "EU"
|
||||
And it has the "Belgium", "France" and "Germany" country members
|
||||
|
|
@ -36,7 +36,7 @@ Feature: Editing a zone
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this zone should have only the "France" country member
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Removing a province from a zone
|
||||
Given the store has a zone "United States" with code "USA"
|
||||
And it has the "Alabama" province member
|
||||
|
|
@ -47,7 +47,7 @@ Feature: Editing a zone
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this zone should have only the "Alabama" province member
|
||||
|
||||
@ui @javascript @api
|
||||
@ui @mink:chromedriver @api
|
||||
Scenario: Removing a zone from a zone
|
||||
Given the store has a zone "America" with code "AM"
|
||||
And it has the zone named "North America"
|
||||
|
|
|
|||
|
|
@ -52,19 +52,19 @@ Feature: Zone validation
|
|||
When I want to modify the zone named "European Union"
|
||||
Then I should not be able to edit its code
|
||||
|
||||
@ui @api
|
||||
@ui @api @mink:chromedriver
|
||||
Scenario: Being unable to add itself to members during editing an existing zone
|
||||
Given the store has a zone "European Union" with code "EU"
|
||||
When I want to modify the zone named "European Union"
|
||||
Then I can not add a zone "European Union"
|
||||
Then I should not be able to add the "European Union" zone as a member
|
||||
|
||||
@ui
|
||||
@ui @todo-api
|
||||
Scenario: Seeing a disabled type field when adding country type zone
|
||||
When I want to create a new zone consisting of country
|
||||
Then I should not be able to edit its type
|
||||
And it should be of country type
|
||||
|
||||
@ui
|
||||
@ui @todo-api
|
||||
Scenario: Seeing a disabled type field when adding province type zone
|
||||
When I want to create a new zone consisting of province
|
||||
Then I should not be able to edit its type
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Feature: Being redirected to previous filtered page
|
|||
And the store has a product "Znicz Pruszków T-Shirt"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being redirected to previous filtered page after deleting a product
|
||||
When I browse products
|
||||
And I choose enabled filter
|
||||
|
|
@ -20,7 +20,7 @@ Feature: Being redirected to previous filtered page
|
|||
And I delete the "FC Barcelona T-Shirt" product on filtered page
|
||||
Then I should be redirected to the previous page of only enabled products
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being redirected to previous filtered page after cancelling editing a product
|
||||
When I browse products
|
||||
And I choose enabled filter
|
||||
|
|
@ -29,7 +29,7 @@ Feature: Being redirected to previous filtered page
|
|||
And I cancel my changes
|
||||
Then I should be redirected to the previous page of only enabled products
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being redirected to previous filtered page with pagination after cancelling editing a product
|
||||
When I browse products
|
||||
And I choose enabled filter
|
||||
|
|
@ -39,7 +39,7 @@ Feature: Being redirected to previous filtered page
|
|||
And I cancel my changes
|
||||
Then I should be redirected to the 2nd page of only enabled products
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being redirected to previous filtered page after cancelling creating a new product
|
||||
When I browse products
|
||||
And I choose enabled filter
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Blocking login for disabled administrators
|
|||
Given the store operates on a single channel in "United States"
|
||||
And there is an administrator "admin@example.com" identified by "sylius"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Sign in with email and password
|
||||
Given this administrator account is disabled
|
||||
And I want to log in
|
||||
|
|
@ -17,7 +17,7 @@ Feature: Blocking login for disabled administrators
|
|||
And I log in
|
||||
Then I should not be logged in
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Revoking the access while administrator is logged in
|
||||
Given I am logged in as "admin@example.com" administrator
|
||||
When this administrator account becomes disabled
|
||||
|
|
|
|||
|
|
@ -11,14 +11,14 @@ Feature: Browsing administration panel in a proper locale
|
|||
And I am logged in as an administrator
|
||||
And I am using "Polish (Poland)" locale for my panel
|
||||
|
||||
@ui
|
||||
@todo @ui
|
||||
Scenario: Getting errors in my language
|
||||
Given I am editing my details
|
||||
When I change its email to "wrong-email"
|
||||
And I save my changes
|
||||
Then I should be notified that this email is not valid in "Polish (Poland)" locale
|
||||
|
||||
@ui
|
||||
@todo @ui
|
||||
Scenario: Seeing menu in my language
|
||||
When I open administration dashboard
|
||||
Then I should see sidebar catalog section configuration in "Polish (Poland)" locale
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Browsing channels
|
|||
And the store operates on another channel named "Mobile Channel"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Browsing defined channels
|
||||
When I want to browse channels
|
||||
Then I should see 2 channels in the list
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Choosing a required address in the checkout for a channel
|
|||
Given the store operates on a single channel in "United States"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @ui @mink:chromedriver
|
||||
Scenario: Adding a new channel with a required address in the checkout
|
||||
When I want to create a new channel
|
||||
And I specify its code as "MOBILE"
|
||||
|
|
@ -22,7 +22,7 @@ Feature: Choosing a required address in the checkout for a channel
|
|||
Then I should be notified that it has been successfully created
|
||||
And the required address in the checkout for this channel should be shipping
|
||||
|
||||
@api @ui
|
||||
@api @ui @mink:chromedriver
|
||||
Scenario: Changing a required address in the checkout for an existing channel
|
||||
Given the store operates on a channel named "Web Store"
|
||||
When I want to modify this channel
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Deleting a channel
|
|||
And the store operates on another channel named "Mobile Store"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Deleted channel should disappear from the registry
|
||||
When I delete channel "Web Store"
|
||||
Then I should be notified that it has been successfully deleted
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Deleting multiple channels
|
|||
And the store operates on another channel named "DE Store"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
@todo @ui @mink:chromedriver @no-api
|
||||
Scenario: Deleting multiple channels at once
|
||||
When I browse channels
|
||||
And I check the "PL Store" channel
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Editing menu taxon on channel
|
|||
And channel "Web Store" has menu taxon "Clothes"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@todo @api @ui @javascript
|
||||
@todo @api @ui @mink:chromedriver
|
||||
Scenario: Editing menu taxon on the channel
|
||||
When I want to modify a channel "Web Store"
|
||||
And I change its menu taxon to "Guns"
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Excluding chosen taxons from displaying the lowest price of discounted
|
|||
And the store classifies its products as "T-Shirts", "Caps" and "Sweaters"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@no-api @ui @javascript
|
||||
@no-api @ui @mink:chromedriver
|
||||
Scenario: Excluding a singular taxon from displaying the lowest price of discounted products
|
||||
When I want to modify a channel "Poland"
|
||||
And I exclude the "T-Shirts" taxon from showing the lowest price of discounted products
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Not being able to delete a last available channel
|
|||
Given the store operates on a channel named "Web Store"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Preventing from deleting only channel
|
||||
When I delete channel "Web Store"
|
||||
Then I should be notified that it cannot be deleted
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Managing themes per channel
|
|||
And the store has "maverick/meerkat" theme
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: None of the themes are used by default
|
||||
When I create a new channel "Poland"
|
||||
Then that channel should not use any theme
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Adding a new currency
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Adding a new currency
|
||||
When I want to add a new currency
|
||||
And I choose "Euro"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Browsing currencies
|
|||
Given the store has currency "Euro", "British Pound"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Browsing currencies in store
|
||||
When I want to browse currencies of the store
|
||||
Then I should see 2 currencies in the list
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Currency unique code validation
|
|||
Given the store has currency "Euro"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Trying to add currency with taken code
|
||||
When I want to add a new currency
|
||||
And I choose "Euro"
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Editing a currency
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Seeing disabled code field while editing currency
|
||||
Given the store has currency "Euro"
|
||||
When I want to edit this currency
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Adding a new exchange rate
|
|||
Given the store has currency "US Dollar" and "British Pound"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Adding a new exchange rate
|
||||
When I want to add a new exchange rate
|
||||
And I specify its ratio as 1.20
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Browsing exchange rates
|
|||
And the exchange rate of "British Pound" to "Bhutanese Ngultrum" is 2.37
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Browsing store's exchange rates
|
||||
When I am browsing exchange rates of the store
|
||||
Then I should see 2 exchange rates on the list
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Deleting exchange rates
|
|||
Given the store has currency "US Dollar", "British Pound" and "Bhutanese Ngultrum"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Deleted exchange rate should disappear from the list
|
||||
Given the exchange rate of "US Dollar" to "British Pound" is 1.2
|
||||
When I delete the exchange rate between "US Dollar" and "British Pound"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Deleting multiple exchange rates
|
|||
And the exchange rate of "Polish Zloty" to "Euro" is 0.22
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
@todo @ui @mink:chromedriver @no-api
|
||||
Scenario: Deleting multiple exchange rates at once
|
||||
When I browse exchange rates
|
||||
And I check the exchange rate between "Euro" and "British Pound"
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Editing exchange rate
|
|||
Given the store has currency "US Dollar" and "British Pound"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Change exchange rate's ratio
|
||||
Given the exchange rate of "US Dollar" to "British Pound" is 1.30
|
||||
And I am editing this exchange rate
|
||||
|
|
@ -17,7 +17,7 @@ Feature: Editing exchange rate
|
|||
Then I should be notified that it has been successfully edited
|
||||
And it should have a ratio of 3.21
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Being unable to change currencies
|
||||
Given the exchange rate of "US Dollar" to "British Pound" is 1.30
|
||||
When I want to edit this exchange rate
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Exchange rate validation
|
|||
Given the store has currency "US Dollar" and "British Pound"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Trying to add a new exchange rate without ratio
|
||||
When I want to add a new exchange rate
|
||||
And I choose "US Dollar" as the source currency
|
||||
|
|
@ -18,7 +18,7 @@ Feature: Exchange rate validation
|
|||
Then I should be notified that ratio is required
|
||||
And the exchange rate between "US Dollar" and "British Pound" should not be added
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Trying to add a new exchange rate with negative ratio
|
||||
When I want to add a new exchange rate
|
||||
And I choose "US Dollar" as the source currency
|
||||
|
|
@ -28,7 +28,7 @@ Feature: Exchange rate validation
|
|||
Then I should be notified that the ratio must be greater than zero
|
||||
And the exchange rate between "US Dollar" and "British Pound" should not be added
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Trying to add a new exchange rate with same target currency as source
|
||||
When I want to add a new exchange rate
|
||||
And I specify its ratio as 1.23
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Filtering exchange rates by a currency
|
|||
And the exchange rate of "Polish Zloty" to "Euro" is 0.22
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering exchange rates by a chosen currency
|
||||
When I browse exchange rates of the store
|
||||
And I choose "Euro" as a currency filter
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ Feature: Inability of adding exchange rates with the same currency pair
|
|||
And the exchange rate of "Euro" to "British Pound" is 1.2
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Being prevented from adding an exchange rate for the same currency pair
|
||||
When I want to add a new exchange rate
|
||||
And I specify its ratio as 3.20
|
||||
|
|
@ -20,7 +20,7 @@ Feature: Inability of adding exchange rates with the same currency pair
|
|||
And I should still see one exchange rate on the list
|
||||
And this exchange rate should have a ratio of 1.2
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Being prevented from adding an exchange rate for a reversed currency pair
|
||||
When I want to add a new exchange rate
|
||||
And I specify its ratio as 3.20
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ Feature: Browsing inventory
|
|||
And there are 5 units of product "Iron Maiden T-Shirt" available in the inventory
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Browsing only tracked product variants in the store
|
||||
When I want to browse inventory
|
||||
Then I should see only one tracked variant in the list
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being informed about on hand quantity of a product variant
|
||||
When I want to browse inventory
|
||||
Then I should see that the "Iron Maiden T-Shirt" variant has 5 quantity on hand
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Filtering inventory by code
|
|||
And there are 25 units of product "RHCP T-Shirt" available in the inventory
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Filtering tracked product variants by code
|
||||
When I want to browse inventory
|
||||
And I filter tracked variants with code containing "iron"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Filtering inventory by name
|
|||
And there are 25 units of product "RHCP T-Shirt" available in the inventory
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Filtering tracked product variants by name
|
||||
When I want to browse inventory
|
||||
And I filter tracked variants with name containing "RHCP"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Channel independent translatable entities locales
|
|||
And it uses the "English (United States)" locale by default
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui
|
||||
@todo @ui
|
||||
Scenario: Using all locales to translate an entity
|
||||
Given the store has locale "German (Germany)"
|
||||
When I want to create a new translatable entity
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Adding a new locale
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Adding a new locale
|
||||
When I want to create a new locale
|
||||
And I choose Norwegian
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Locale unique code validation
|
|||
Given the store has locale "Norwegian (Norway)"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Trying to add new locale with used code
|
||||
When I want to add a new locale
|
||||
Then I should not be able to choose "Norwegian (Norway)"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Removing locales
|
|||
And it uses the "English (United States)" locale by default
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Deleting unused locale
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product is named "Banana T-Shirt with Minions" in the "English (United States)" locale
|
||||
|
|
@ -19,7 +19,7 @@ Feature: Removing locales
|
|||
Then I should be informed that locale "Polish (Poland)" has been deleted
|
||||
And only the "English (United States)" locale should be present in the system
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Deleting a locale in use
|
||||
Given the store has a product "T-Shirt banana"
|
||||
And this product is named "Banana T-Shirt with Minions" in the "English (United States)" locale
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Browsing orders
|
|||
And the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Seeing a new order in the list
|
||||
When I browse orders
|
||||
Then I should see a single order from customer "john.doe@gmail.com"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Seeing the currency in which all orders have been placed
|
|||
And there is a customer "Satin" identified by an email "satin@teamlucifer.com" and a password "pswd"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Seeing an order placed in the base currency
|
||||
Given there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And the customer bought a single "Angel T-Shirt"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Seeing order's payment amount including all fees
|
|||
And the customer chose "DHL" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Seeing total payment
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have 2 items
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Seeing orders' total in their currency
|
|||
And there is a customer account "customer@example.com" identified by "sylius"
|
||||
And I am logged in as "customer@example.com"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: List of orders from only one channel
|
||||
Given I changed my current channel to "United States"
|
||||
And I have product "Angel T-Shirt" in the cart
|
||||
|
|
@ -26,7 +26,7 @@ Feature: Seeing orders' total in their currency
|
|||
And I confirm my order
|
||||
Then the administrator should see the order with total "$20.00" in order list
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: List of orders from different channels
|
||||
Given I changed my current channel to "United States"
|
||||
And I have product "Angel T-Shirt" in the cart
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Sequential order number generation
|
|||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Verifying that orders has correct numbers
|
||||
When I browse orders
|
||||
Then I should see an order with "#000000001" number
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@ Feature: Sorting orders by their number
|
|||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Orders are sorted by descending numbers by default
|
||||
When I browse orders
|
||||
Then I should see an order with "#000000001" number
|
||||
But the first order should have number "#000000003"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Changing the number sorting order
|
||||
Given I am browsing orders
|
||||
When I switch the way orders are sorted by number
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Shipments are in the state "ready" after checkout
|
|||
And the customer chose "Free" shipping method with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Checking shipment state of a placed order
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have shipment in state "Ready"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Shipping an order
|
|||
And the customer chose "Free" shipping method with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Finalizing order's shipment
|
||||
Given I view the summary of the order "#00000666"
|
||||
When specify its tracking code as "#00044"
|
||||
|
|
@ -23,13 +23,13 @@ Feature: Shipping an order
|
|||
Then I should be notified that the order has been successfully shipped
|
||||
And it should have shipment in state shipped
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Unable to finalize shipped order's shipment
|
||||
Given this order has already been shipped
|
||||
When I view the summary of the order "#00000666"
|
||||
Then I should not be able to ship this order
|
||||
|
||||
@ui @api
|
||||
@api @ui
|
||||
Scenario: Checking the shipment state of a completed order
|
||||
Given this order has already been shipped
|
||||
When I browse orders
|
||||
|
|
|
|||
|
|
@ -24,6 +24,17 @@ Feature: Modifying a customer billing address after an order has been placed
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this order should have "Lucifer Morningstar", "Seaside Fwy", "90802", "Los Angeles", "United States" as its billing address
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
Scenario: Being able to choose only provinces of the selected country
|
||||
Given the store also has country "Poland"
|
||||
And this country has the "Malopolska" province with "ML" code
|
||||
And this country has the "Slaskie" province with "SL" code
|
||||
When I view the summary of the order "#00000001"
|
||||
And I want to modify a customer's billing address of this order
|
||||
And I change the billing country to "Poland"
|
||||
Then I should be able to choose the "Malopolska" province for the billing address
|
||||
And I should be able to choose the "Slaskie" province for the billing address
|
||||
|
||||
@api @ui
|
||||
Scenario: Modifying a customer's billing address when a product's price has been changed
|
||||
Given the product "Suit" changed its price to "$300.00"
|
||||
|
|
|
|||
|
|
@ -25,6 +25,17 @@ Feature: Modifying a customer shipping address after an order has been placed
|
|||
Then I should be notified that it has been successfully edited
|
||||
And this order should be shipped to "Lucifer Morningstar", "Seaside Fwy", "90802", "Los Angeles", "United States"
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
Scenario: Being able to choose only provinces of the selected country
|
||||
Given the store also has country "Poland"
|
||||
And this country has the "Malopolska" province with "ML" code
|
||||
And this country has the "Slaskie" province with "SL" code
|
||||
When I view the summary of the order "#00000001"
|
||||
And I want to modify a customer's shipping address of this order
|
||||
And I change the shipping country to "Poland"
|
||||
Then I should be able to choose the "Malopolska" province for the shipping address
|
||||
And I should be able to choose the "Slaskie" province for the shipping address
|
||||
|
||||
@api @ui
|
||||
Scenario: Modifying a customer's shipping address when a product's price has been changed
|
||||
Given the product "Suit" changed its price to "$300.00"
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ Feature: Being unable to see details of a cart
|
|||
And the customer added "PHP T-Shirt" product to the cart
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Being unable to see the details of a cart
|
||||
When I try to view the summary of the customer's latest cart
|
||||
Then I should be informed that the order does not exist
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Seeing basic information about an order
|
|||
And the customer chose "Free" shipping method with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing basic information about an order
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have been placed by the customer "lucy@teamlucifer.com"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Seeing aggregated discounts of an order
|
|||
And there is a customer "robin.hood@sherwood.com" that placed an order "#00000006"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipping and order promotions, but the shipping promotion is not aggregated in summary's promotion total
|
||||
Given the customer bought 2 "Longbow" products
|
||||
And the customer chose "DHL" shipping method to "United States" with "Cash on Delivery" payment
|
||||
|
|
@ -28,7 +28,7 @@ Feature: Seeing aggregated discounts of an order
|
|||
And the order's shipping total should be "$5.00"
|
||||
And the order's total should be "$285.00"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing multiple order promotions aggregated in summary
|
||||
Given there is a promotion "Big order discount"
|
||||
And it gives "$70.00" discount to every order with quantity at least 3
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ Feature: Seeing aggregated taxes of an order
|
|||
And there is a customer "charles.the.great@medieval.com" that placed an order "#00000001"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing aggregated taxes of products and shipping
|
||||
Given the customer bought a single "Composite bow"
|
||||
And the customer chose "DHL" shipping method to "United States" with "Offline" payment
|
||||
|
|
@ -31,7 +31,7 @@ Feature: Seeing aggregated taxes of an order
|
|||
And the order's tax total should be "$25.30"
|
||||
And the order's total should be "$135.30"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing aggregated taxes of multiple products from different tax rates and shipping
|
||||
Given the customer bought a single "Composite bow"
|
||||
And the customer bought a "Claymore" and a "Bastard sword"
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ Feature: Seeing the currency an order has been placed in on it's details page
|
|||
And there is a customer "Satin" identified by an email "satin@teamlucifer.com" and a password "pswd"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: All prices are in the base currency when the client haven't chosen any other
|
||||
Given there is a customer "satin@teamlucifer.com" that placed an order "#00000666"
|
||||
And the customer bought a single "Angel T-Shirt"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing discounts of an order
|
|||
And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing promotion discount on order while buying at least 3 items
|
||||
Given the promotion gives "$15.00" discount to every order with quantity at least 3
|
||||
And the customer bought 4 "Angel T-Shirt" products
|
||||
|
|
@ -26,7 +26,7 @@ Feature: Seeing discounts of an order
|
|||
And the order's promotion discount should be "-$15.00" from "Holiday promotion" promotion
|
||||
And the order's total should be "$141.00"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing promotion discount on order's items while buying a product from a promoted taxon
|
||||
Given the promotion gives "$10.00" off on every product classified as "T-Shirts"
|
||||
And the customer bought a single "Angel T-Shirt"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Feature: Seeing order item detailed data
|
|||
And the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing details of item in one row
|
||||
Given I view the summary of the order "#00000666"
|
||||
When I check "Marvel T-Shirt" data
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing included in price taxes of order items
|
|||
And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing included in price taxes of order items are not counted in taxes total
|
||||
Given the customer bought 2 "Winchester M1866" products
|
||||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing taxes of order items
|
|||
And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing taxes of order items
|
||||
Given the customer bought a "PHP T-Shirt" and a "Symfony2 T-Shirt"
|
||||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing order items with proper names
|
|||
And the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing order items with proper names
|
||||
Given the product "Angel T-Shirt" was renamed to "Devil Cardigan"
|
||||
And the product "Angel Mug" was renamed to "Devil Glass"
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Feature: Placing an order
|
|||
And there is a customer "sylius@example.com" that placed an order "#00000022"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Verifying that order has new state right after checkout
|
||||
Given the customer bought 3 "Iron Maiden T-Shirt" products
|
||||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Feature: Seeing payment state as paid after checkout steps if order total is zer
|
|||
And the customer chose "Free" shipping method
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing payment state as paid on orders list
|
||||
When I browse orders
|
||||
Then the order "#00000666" should have order payment state "Paid"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Seeing payment state as paid after checkout steps if order total is zer
|
|||
And the customer chose "Free" shipping method
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing payment state as paid on orders list
|
||||
When I browse orders
|
||||
Then the order "#00000666" should have order payment state "Paid"
|
||||
|
|
@ -26,7 +26,7 @@ Feature: Seeing payment state as paid after checkout steps if order total is zer
|
|||
When I view the summary of the order "#00000666"
|
||||
Then I should be informed that there are no payments
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Seeing payment state as paid on order's summary
|
||||
When I view the summary of the order "#00000666"
|
||||
Then I should be informed that there are no payments
|
||||
|
|
|
|||
|
|
@ -15,18 +15,18 @@ Feature: Seeing shipping states of an order after checkout steps
|
|||
And the customer chose "Free" shipping method with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing ready order shipping state
|
||||
When I browse orders
|
||||
Then order "#00000666" should have shipment state "ready"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipped order shipping state
|
||||
Given this order has already been shipped
|
||||
When I browse orders
|
||||
Then order "#00000666" should have shipment state "shipped"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing cancelled order shipping state
|
||||
Given the customer cancelled this order
|
||||
When I browse orders
|
||||
|
|
|
|||
|
|
@ -16,12 +16,12 @@ Feature: Seeing shipping states of an order as shipped if there are no shipments
|
|||
And the customer chose "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipping state as shipped on orders list
|
||||
When I browse orders
|
||||
Then the order "#00000666" should have order shipping state "Shipped"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipping state as shipped on order's summary
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have order's shipping state "Shipped"
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Seeing shipping fees of an order
|
|||
And the customer bought a single "Angel T-Shirt"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing Free shipping of an order
|
||||
Given the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
When I view the summary of the order "#00000666"
|
||||
|
|
@ -24,7 +24,7 @@ Feature: Seeing shipping fees of an order
|
|||
And the order's shipping total should be "$0.00"
|
||||
And the order's total should be "$39.00"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipping fee of an order
|
||||
Given the customer chose "DHL" shipping method to "United States" with "Offline" payment
|
||||
When I view the summary of the order "#00000666"
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Seeing taxes of an order
|
|||
And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing taxes of order items and shipping
|
||||
Given the customer bought a single "Symfony2 T-Shirt"
|
||||
And the customer chose "DHL" shipping method to "United States" with "Offline" payment
|
||||
|
|
@ -28,7 +28,7 @@ Feature: Seeing taxes of an order
|
|||
And the order's tax total should be "$34.50"
|
||||
And the order's total should be "$184.50"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing taxes of items and shipping from paid order
|
||||
Given the customer bought a single "Symfony2 T-Shirt"
|
||||
And the customer chose "DHL" shipping method to "United States" with "Offline" payment
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Feature: Seeing shipping total with applied promotion and taxes
|
|||
And the customer bought a single "Gryffindor scarf"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing taxes of order items and shipping with applied promotion
|
||||
Given the customer chose "Owl post" shipping method to "United States" with "Offline" payment
|
||||
When I view the summary of the order "#00000777"
|
||||
|
|
@ -30,7 +30,7 @@ Feature: Seeing shipping total with applied promotion and taxes
|
|||
And the order's tax total should be "$24.15"
|
||||
And the order's total should be "$129.15"
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing taxes of order items and multiple shipments with applied promotion
|
||||
Given the store has "Pigeon post" shipping method with "$16.00" fee within the "US" zone
|
||||
And shipping method "Pigeon post" belongs to "Shipping Services" tax category
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Seeing order with different promotions
|
|||
And there is a customer "lucy@teamlucifer.com" that placed an order "#00000666"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing prices and discount prices of order item
|
||||
Given the customer bought 2 "PHP T-Shirt" products
|
||||
And the customer bought a single "Symfony Mug"
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing an order with its items
|
|||
And the customer chose "Free" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing order items
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have 2 items
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ Feature: Seeing an order without shipping address
|
|||
And the customer chose "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing basic information about an order
|
||||
When I view the summary of the order "#00000666"
|
||||
Then it should have been placed by the customer "lucy@teamlucifer.com"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Feature: Seeing province created manually on order summary page
|
|||
And the customer chose "DHL" shipping method with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing manually definied province on order summary page
|
||||
When I view the summary of the order "#00000666"
|
||||
Then I should see "East of England" as province in the shipping address
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Seeing shipment shipping date
|
|||
And it is "20-02-2020 10:30:05" now
|
||||
And I am logged in as an administrator
|
||||
|
||||
@api @ui
|
||||
@api @todo @ui
|
||||
Scenario: Seeing shipped at date
|
||||
When I view the summary of the order "#00000777"
|
||||
And I ship this order
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ Feature: Filtering orders by a channel
|
|||
And this customer has also placed an order "#00000003" on a channel "Web-US"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by a chosen channel
|
||||
When I browse orders
|
||||
And I choose "Web-EU" as a channel filter
|
||||
|
|
@ -23,7 +23,7 @@ Feature: Filtering orders by a channel
|
|||
And I should see an order with "#00000002" number
|
||||
But I should not see an order with "#00000003" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by an another channel
|
||||
When I browse orders
|
||||
And I choose "Web-US" as a channel filter
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Feature: Filtering orders
|
|||
And this customer has also placed an order "#00000003" at "2016-12-06 10:00"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by date from
|
||||
When I browse orders
|
||||
And I specify filter date from as "2016-12-05 08:30"
|
||||
|
|
@ -22,7 +22,7 @@ Feature: Filtering orders
|
|||
And I should see an order with "#00000003" number
|
||||
But I should not see an order with "#00000001" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by date to
|
||||
When I browse orders
|
||||
And I specify filter date to as "2016-12-05 09:30"
|
||||
|
|
@ -32,7 +32,7 @@ Feature: Filtering orders
|
|||
And I should see an order with "#00000002" number
|
||||
But I should not see an order with "#00000003" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by date from to
|
||||
When I browse orders
|
||||
And I specify filter date from as "2016-12-05 08:30"
|
||||
|
|
@ -43,7 +43,7 @@ Feature: Filtering orders
|
|||
But I should not see an order with "#00000001" number
|
||||
And I should not see an order with "#00000003" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by date from without time
|
||||
When I browse orders
|
||||
And I specify filter date from as "2016-12-05"
|
||||
|
|
@ -54,7 +54,7 @@ Feature: Filtering orders
|
|||
And I should see an order with "#00000003" number
|
||||
But I should not see an order with "#00000001" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders placed at midnight or just before midnight
|
||||
Given this customer has placed an order "#00000004" at "2016-12-10 00:00"
|
||||
And this customer has also placed an order "#00000005" at "2016-12-11 23:59"
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ Feature: Filtering orders by products
|
|||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api @javascript
|
||||
@todo @ui @api @javascript
|
||||
Scenario: Filtering orders by product
|
||||
When I browse orders
|
||||
And I filter by product "Galaxy T-Shirt"
|
||||
|
|
@ -25,7 +25,7 @@ Feature: Filtering orders by products
|
|||
And I should see an order with "#0000001" number
|
||||
And I should see an order with "#0000003" number
|
||||
|
||||
@ui @api @mink:chromedriver
|
||||
@todo @ui @api @mink:chromedriver
|
||||
Scenario: Filtering orders by multiple products
|
||||
When I browse orders
|
||||
And I filter by products "Galaxy T-Shirt" and "Space Dress"
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ Feature: Filtering orders by a shipping method
|
|||
And the customer chose "DHL" shipping method to "United States" with "Offline" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by DHL shipping method
|
||||
When I browse orders
|
||||
And I choose "DHL" as a shipping method filter
|
||||
|
|
@ -32,7 +32,7 @@ Feature: Filtering orders by a shipping method
|
|||
And I should see an order with "#000001338" number
|
||||
And I should not see an order with "#000001337" number
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by an another shipping method
|
||||
When I browse orders
|
||||
And I choose "Free" as a shipping method filter
|
||||
|
|
|
|||
|
|
@ -18,14 +18,14 @@ Feature: Filtering orders by total in different currencies
|
|||
And I am logged in as an administrator
|
||||
And I am browsing orders
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by currency alone
|
||||
When I choose "British Pound" as the filter currency
|
||||
And I filter
|
||||
Then I should see 3 orders in the list
|
||||
But I should not see any orders with currency "USD"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders with total greater than specified amount
|
||||
When I choose "US Dollar" as the filter currency
|
||||
And I specify filter total being greater than 100
|
||||
|
|
@ -36,7 +36,7 @@ Feature: Filtering orders by total in different currencies
|
|||
But I should not see an order with "#00000001" number
|
||||
And I should not see any orders with currency "GBP"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders with total less than specified amount
|
||||
When I choose "US Dollar" as the filter currency
|
||||
And I specify filter total being less than 200
|
||||
|
|
@ -47,7 +47,7 @@ Feature: Filtering orders by total in different currencies
|
|||
But I should not see an order with "#00000002" number
|
||||
And I should not see any orders with currency "GBP"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering order with total from a specified range
|
||||
When I choose "British Pound" as the filter currency
|
||||
And I specify filter total being greater than 150.50
|
||||
|
|
@ -59,7 +59,7 @@ Feature: Filtering orders by total in different currencies
|
|||
And I should not see an order with "#00000006" number
|
||||
And I should not see any orders with currency "USD"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Filtering orders by total in given range but with no currency provided
|
||||
When I specify filter total being greater than 150
|
||||
And I specify filter total being less than 200
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ Feature: Filtering orders by variants
|
|||
And the customer chose "Free" shipping method to "United States" with "Offline" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api @javascript
|
||||
@todo @ui @api @javascript
|
||||
Scenario: Filtering orders by variant
|
||||
When I browse orders
|
||||
And I filter by variant "Sundress"
|
||||
|
|
@ -34,7 +34,7 @@ Feature: Filtering orders by variants
|
|||
And I should see an order with "#0000002" number
|
||||
And I should see an order with "#0000003" number
|
||||
|
||||
@ui @api @mink:chromedriver
|
||||
@todo @ui @api @mink:chromedriver
|
||||
Scenario: Filtering orders by multiple variants of the same product
|
||||
When I browse orders
|
||||
And I filter by variants "Nebula Top" and "Neutron Sleeveless"
|
||||
|
|
@ -42,7 +42,7 @@ Feature: Filtering orders by variants
|
|||
And I should see an order with "#0000001" number
|
||||
And I should see an order with "#0000002" number
|
||||
|
||||
@ui @api @javascript
|
||||
@todo @ui @api @javascript
|
||||
Scenario: Filtering orders by multiple variants of different products
|
||||
When I browse orders
|
||||
And I filter by variants "Neutron Sleeveless" and "Sundress"
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Feature: Being redirected to previous filtered page
|
|||
And this payment method has been disabled
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
@todo @ui @no-api
|
||||
Scenario: Being redirected to previous filtered page after cancelling creating a new payment method
|
||||
When I browse payment methods
|
||||
And I choose enabled filter
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ Feature: Browsing payment methods
|
|||
Background:
|
||||
Given I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Browsing defined payment methods
|
||||
Given the store has a payment method "Offline" with a code "OFF"
|
||||
And the store has a payment method "PayPal Express Checkout" with a code "PAYPAL" and Paypal Express Checkout gateway
|
||||
And the store has a payment method "PayPal Express Checkout" with a code "PAYPAL" and "Paypal Express Checkout" gateway
|
||||
When I browse payment methods
|
||||
Then I should see 2 payment methods in the list
|
||||
And the payment method "PayPal Express Checkout" should be in the registry
|
||||
|
|
|
|||
|
|
@ -7,10 +7,10 @@ Feature: Deleting multiple payment methods
|
|||
Background:
|
||||
Given the store has a payment method "Offline" with a code "Offline"
|
||||
And the store has also a payment method "Bank transfer" with a code "transfer"
|
||||
And the store has also a payment method "PayPal Express Checkout" with a code "paypal" and Paypal Express Checkout gateway
|
||||
And the store has also a payment method "PayPal Express Checkout" with a code "paypal" and "Paypal Express Checkout" gateway
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @mink:chromedriver @no-api
|
||||
@todo @ui @mink:chromedriver @no-api
|
||||
Scenario: Deleting multiple payment methods at once
|
||||
When I browse payment methods
|
||||
And I check the "Offline" payment method
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ Feature: Deleting payment methods
|
|||
Given the store has a payment method "Offline" with a code "Offline"
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Deleted payment method should disappear from the registry
|
||||
When I delete the "Offline" payment method
|
||||
Then I should be notified that it has been successfully deleted
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ Feature: Editing payment methods
|
|||
And I rename it to "Cash on delivery" in "English (United States)"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And this payment method name should be "Cash on delivery"
|
||||
And this payment method "Name" should be "Cash on delivery"
|
||||
|
||||
@ui @api
|
||||
Scenario: Disabling payment method
|
||||
|
|
|
|||
|
|
@ -0,0 +1,54 @@
|
|||
@managing_payment_methods
|
||||
Feature: Editing payment method configured with a PayPal Express Checkout gateway
|
||||
In order to change configuration of a payment method
|
||||
As an Administrator
|
||||
I want to be able to edit payment method with a PayPal Express Checkout gateway
|
||||
|
||||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
And the store has a payment method "PayPal Express Checkout" with a code "paypal" and "Paypal Express Checkout" gateway
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing gateway username
|
||||
When I want to modify the "PayPal Express Checkout" payment method
|
||||
And I update its "Username" with "new_username"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And its gateway configuration "Username" should be "new_username"
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing gateway password
|
||||
When I want to modify the "PayPal Express Checkout" payment method
|
||||
And I update its "Password" with "new_password"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And its gateway configuration "Password" should be "new_password"
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing gateway signature
|
||||
When I want to modify the "PayPal Express Checkout" payment method
|
||||
And I update its "Signature" with "new_signature"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And its gateway configuration "Signature" should be "new_signature"
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing gateway sandbox mode
|
||||
When I want to modify the "PayPal Express Checkout" payment method
|
||||
And I enable sandbox mode
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And this payment method should be in sandbox mode
|
||||
|
||||
@api @ui
|
||||
Scenario: Changing whole gateway configuration
|
||||
When I want to modify the "PayPal Express Checkout" payment method
|
||||
And I set its "Username" as "new_username", "Password" as "new_password" and "Signature" as "new_signature"
|
||||
And I enable sandbox mode
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And its gateway configuration "Username" should be "new_username"
|
||||
And its gateway configuration "Password" should be "new_password"
|
||||
And its gateway configuration "Signature" should be "new_signature"
|
||||
And this payment method should be in sandbox mode
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
@managing_payment_methods
|
||||
Feature: Editing payment method configured with a Stripe Checkout gateway
|
||||
In order to change which payment methods are available in my store
|
||||
As an Administrator
|
||||
I want to be able to edit payment method
|
||||
|
||||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
And the store has a payment method "Stripe Checkout" with a code "stripe" and "Stripe Checkout" gateway
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing Stripe Checkout gateway publishable key
|
||||
When I want to modify the "Stripe Checkout" payment method
|
||||
And I update its "Publishable key" with "some_publishable_key"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And this payment method "Publishable key" should be "some_publishable_key"
|
||||
|
||||
@ui @no-api
|
||||
Scenario: Changing Stripe Checkout gateway secret key
|
||||
When I want to modify the "Stripe Checkout" payment method
|
||||
And I update its "Secret key" with "some_secret_key"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And this payment method "Secret key" should be "some_secret_key"
|
||||
|
||||
@api @ui
|
||||
Scenario: Changing whole gateway configuration
|
||||
When I want to modify the "Stripe Checkout" payment method
|
||||
And I set its "Publishable key" as "new_publishable_key" and "Secret key" as "new_secret_key"
|
||||
And I save my changes
|
||||
Then I should be notified that it has been successfully edited
|
||||
And its gateway configuration "Publishable key" should be "new_publishable_key"
|
||||
And its gateway configuration "Secret key" should be "new_secret_key"
|
||||
|
|
@ -78,9 +78,9 @@ Feature: Payment method validation
|
|||
When I want to create a new payment method with "Stripe Checkout" gateway factory
|
||||
And I name it "Stripe Checkout" in "English (United States)"
|
||||
And I specify its code as "SC"
|
||||
And I configure it with only "publishable key"
|
||||
And I configure it with only "Publishable key"
|
||||
And I add it
|
||||
Then I should be notified that I have to specify stripe "secret key"
|
||||
Then I should be notified that I have to specify stripe "Secret key"
|
||||
And the payment method with code "PEC" should not be added
|
||||
|
||||
@ui @api
|
||||
|
|
@ -88,9 +88,9 @@ Feature: Payment method validation
|
|||
When I want to create a new payment method with "Stripe Checkout" gateway factory
|
||||
And I name it "Stripe Checkout" in "English (United States)"
|
||||
And I specify its code as "SC"
|
||||
And I configure it with only "secret key"
|
||||
And I configure it with only "Secret key"
|
||||
And I add it
|
||||
Then I should be notified that I have to specify stripe "publishable key"
|
||||
Then I should be notified that I have to specify stripe "Publishable key"
|
||||
And the payment method with code "PEC" should not be added
|
||||
|
||||
@no-ui @api
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Feature: Prevent deletion of used payment method
|
|||
And the customer chose "DHL Express" shipping method to "United States" with "Cash on Delivery" payment
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Being unable to delete a payment method which is in use
|
||||
When I try to delete the "Cash on Delivery" payment method
|
||||
Then I should be notified that it is in use
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Feature: Sorting listed payment methods
|
|||
Background:
|
||||
Given the store operates on a single channel in "United States"
|
||||
And that channel allows to shop using "English (United States)" and "Polish (Poland)" locales
|
||||
And the store has a payment method "PayPal Express Checkout" with a code "PAYPAL" and Paypal Express Checkout gateway
|
||||
And the store has a payment method "PayPal Express Checkout" with a code "PAYPAL" and "Paypal Express Checkout" gateway
|
||||
And this payment method is named "Ekspresowy Paypal" in the "Polish (Poland)" locale
|
||||
And the store has a payment method "Offline" with a code "Offline"
|
||||
And this payment method is named "Płatność Offline" in the "Polish (Poland)" locale
|
||||
|
|
@ -15,14 +15,14 @@ Feature: Sorting listed payment methods
|
|||
And this payment method is named "Płatność Przy Odbiorze" in the "Polish (Poland)" locale
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment methods can be sorted by their codes
|
||||
Given I am browsing payment methods
|
||||
When I start sorting payment methods by code
|
||||
Then I should see 3 payment methods in the list
|
||||
And the first payment method on the list should have code "cash_on_delivery"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Changing the order of sorting payment methods by their codes
|
||||
Given I am browsing payment methods
|
||||
And the payment methods are already sorted by code
|
||||
|
|
@ -30,14 +30,14 @@ Feature: Sorting listed payment methods
|
|||
Then I should see 3 payment methods in the list
|
||||
And the first payment method on the list should have code "PAYPAL"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment methods can be sorted by their names
|
||||
Given I am browsing payment methods
|
||||
When I start sorting payment methods by name
|
||||
Then I should see 3 payment methods in the list
|
||||
And the first payment method on the list should have name "Cash on Delivery"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Changing the order of sorting payment methods by their names
|
||||
Given I am browsing payment methods
|
||||
And the payment methods are already sorted by name
|
||||
|
|
@ -45,7 +45,7 @@ Feature: Sorting listed payment methods
|
|||
Then I should see 3 payment methods in the list
|
||||
And the first payment method on the list should have name "PayPal Express Checkout"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment methods are always sorted in the default locale
|
||||
Given I change my locale to "Polish (Poland)"
|
||||
And I am browsing payment methods
|
||||
|
|
|
|||
|
|
@ -11,20 +11,20 @@ Feature: Sorting listed payment methods by position
|
|||
And the store allows paying with "Offline" at position 1
|
||||
And I am logged in as an administrator
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment methods are sorted by position in ascending order by default
|
||||
When I browse payment methods
|
||||
Then I should see 3 payment methods in the list
|
||||
And the first payment method on the list should have name "Paypal Express Checkout"
|
||||
And the last payment method on the list should have name "Cash on Delivery"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment method added at no position is added as the last one
|
||||
Given the store allows paying with "Credit Card"
|
||||
When I browse payment methods
|
||||
Then the last payment method on the list should have name "Credit Card"
|
||||
|
||||
@ui @api
|
||||
@todo @ui @api
|
||||
Scenario: Payment method added at position 0 is added as the first one
|
||||
Given the store also allows paying with "Credit Card" at position 0
|
||||
When I browse payment methods
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@managing_payments
|
||||
Feature: Browsing payments
|
||||
In order to manage all payments regardlessly of orders
|
||||
In order to manage all payments regardless of orders
|
||||
As an Administrator
|
||||
I want to browse all payments in the system
|
||||
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue