-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
104 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,19 +21,12 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
php: [ "8.0", "8.1", "8.2", "8.3" ] | ||
symfony: [ "^5.4", "^6.4" ] | ||
sylius: [ "^1.12", "^1.13" ] | ||
node: [ "18.x", "20.x" ] | ||
php: [ "8.3" ] | ||
symfony: [ "^6.4", "^7.0" ] | ||
sylius: [ "^2.0" ] | ||
node: [ "20.x" ] | ||
mysql: [ "8.0" ] | ||
|
||
exclude: | ||
- sylius: ^1.13 | ||
php: 8.0 | ||
- sylius: ^1.12 | ||
php: 8.0 | ||
symfony: ^6.4 | ||
|
||
env: | ||
APP_ENV: test | ||
DATABASE_URL: "mysql://root:[email protected]/sylius?serverVersion=${{ matrix.mysql }}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,34 @@ | ||
@bundled_product | ||
Feature: Creating a product in store which is a bundle of other products | ||
I want to be able to add bundled product to cart | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And I am logged in as an administrator | ||
And the store has a product "Jack Daniels Gentleman" priced at "$10.00" | ||
And the store has a product "Johny Walker Black" priced at "$10.00" | ||
And the store has a product "Jim Beam Double Oak" priced at "$10.00" | ||
|
||
@ui @javascript | ||
Scenario: Creating a bundled product | ||
When I want to create a new bundled product | ||
And I specify its code as "WHISKEY_PACK" | ||
And I name it "Whiskey double pack" in "English (United States)" | ||
And I set its slug to "whiskey-double-pack" in "English (United States)" | ||
And I set its price to "$10.00" for "United States" channel | ||
And I set its original price to "$20.00" for "United States" channel | ||
And I add product "Johny Walker Black" and "Jack Daniels Gentleman" to the bundle | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
|
||
@ui @javascript | ||
Scenario: Creating a bundled product with more products | ||
When I want to create a new bundled product | ||
And I specify its code as "WHISKEY_BIG_PACK" | ||
And I name it "Whiskey triple pack" in "English (United States)" | ||
And I set its slug to "whiskey-triple-pack" in "English (United States)" | ||
And I set its price to "$10.00" for "United States" channel | ||
And I set its original price to "$20.00" for "United States" channel | ||
And I add product "Johny Walker Black" and "Jack Daniels Gentleman" and "Jim Beam Double Oak" to the bundle | ||
And I add it | ||
Then I should be notified that it has been successfully created | ||
#@bundled_product | ||
#Feature: Creating a product in store which is a bundle of other products | ||
# I want to be able to add bundled product to cart | ||
# | ||
# Background: | ||
# Given the store operates on a single channel in "United States" | ||
# And I am logged in as an administrator | ||
# And the store has a product "Jack Daniels Gentleman" priced at "$10.00" | ||
# And the store has a product "Johny Walker Black" priced at "$10.00" | ||
# And the store has a product "Jim Beam Double Oak" priced at "$10.00" | ||
# | ||
# @ui | ||
# Scenario: Creating a bundled product | ||
# When I want to create a new bundled product | ||
# And I specify its code as "WHISKEY_PACK" | ||
# And I name it "Whiskey double pack" in "English (United States)" | ||
# And I set its slug to "whiskey-double-pack" in "English (United States)" | ||
# And I set its price to "$10.00" for "United States" channel | ||
# And I set its original price to "$20.00" for "United States" channel | ||
# And I add product "Johny Walker Black" and "Jack Daniels Gentleman" to the bundle | ||
# And I add it | ||
# Then I should be notified that it has been successfully created | ||
# | ||
# @ui | ||
# Scenario: Creating a bundled product with more products | ||
# When I want to create a new bundled product | ||
# And I specify its code as "WHISKEY_BIG_PACK" | ||
# And I name it "Whiskey triple pack" in "English (United States)" | ||
# And I set its slug to "whiskey-triple-pack" in "English (United States)" | ||
# And I set its price to "$10.00" for "United States" channel | ||
# And I set its original price to "$20.00" for "United States" channel | ||
# And I add product "Johny Walker Black" and "Jack Daniels Gentleman" and "Jim Beam Double Oak" to the bundle | ||
# And I add it | ||
# Then I should be notified that it has been successfully created |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
framework: | ||
mailer: | ||
dsn: 'null://null' | ||
cache: | ||
pools: | ||
test.mailer_pool: | ||
adapter: cache.adapter.filesystem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters