Commit graph

31496 commits

Author SHA1 Message Date
Jacob Tobiasz
60192b8807
Reorganize scenarios in the features/ directory
(cherry picked from commit 42598c52ae)
2024-01-11 17:27:04 +01:00
Jacob Tobiasz
bed178c13f
[UPMERGE] 1.13 -> 2.0 (#15703)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2024-01-05 08:27:42 +01:00
Jan Góralski
69c1349c3d
minor #15695 [TestApi] Add new way of assert violations (Wojdylak)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT

Currently, we assert violations by comparing the entire file. This checks not only the violations but also their order. Sometimes, the order is different, causing the test to fail. Therefore, the purpose of this PR is to introduce a new way of asserting violations without checking their order.

Commits
-------
  [TestApi] Add new way of assert violations
  [TestApi] Add assertions for code and header in assertResponseViolations
  [TestApi] Remove parameter status code in assertResponseViolations
2024-01-04 11:00:21 +01:00
Wojdylak
2dd549b031
[TestApi] Remove parameter status code in assertResponseViolations 2024-01-04 09:43:35 +01:00
Wojdylak
c1e8ef009b
[TestApi] Add assertions for code and header in assertResponseViolations 2024-01-04 09:34:38 +01:00
Jacob Tobiasz
1a7f4faf07
[UPMERGE] 1.13 -> 2.0 (#15694)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2024-01-04 09:04:13 +01:00
Wojdylak
97c5230ffa
[TestApi] Add new way of assert violations 2024-01-04 08:11:14 +01:00
Jan Góralski
c08f0a6fd6
[UPMERGE] 1.12 -> 1.13 (#15691)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/1.13 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2024-01-03 15:00:47 +01:00
Jan Góralski
23b3e98bdd
bugfix #15690 [Behat] Update test steps to use dynamic date (Wojdylak)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | N/A
| License         | MIT


Commits
-------
  [Behat] Update test steps to use dynamic date
2024-01-02 11:05:28 +01:00
Wojdylak
3db23c2daf
[Behat] Update test steps to use dynamic date 2024-01-02 10:36:47 +01:00
Jacob Tobiasz
5b8a5f65cb
docs #15687 Fix Typo fixtures.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no/yes                                                       |
| New feature?    | no/yes                                                       |
| BC breaks?      | no/yes                                                       |
| Deprecations?   | no/yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes #X, partially #Y, mentioned in #Z                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-------
  Fix Typo fixtures.rst
2024-01-02 08:48:52 +01:00
Zairig Imad
fe559b3b24
Fix Typo fixtures.rst 2023-12-29 18:21:34 +01:00
Jacob Tobiasz
2e667f9f63
[UPMERGE] 1.13 -> 2.0 (#15685)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-27 10:51:05 +01:00
Jacob Tobiasz
9d6088fe0c
[UPMERGE] 1.13 -> 2.0 (#15683)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-26 09:32:39 +01:00
Jacob Tobiasz
9e0d60a315
[UPMERGE] 1.12 -> 1.13 (#15684)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/1.13 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-26 09:32:17 +01:00
Jacob Tobiasz
dcac160013
[UPMERGE] 1.13 -> 2.0 (#15679)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-25 13:14:44 +01:00
Jacob Tobiasz
75a9cb5834
Resolve conflicts between 1.13 and 2.0 2023-12-25 12:31:02 +01:00
Jacob Tobiasz
24bd5786a5 Define permissions for all workflows
Co-authored-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2023-12-25 12:29:13 +01:00
Sylius Bot
7327c74439 [CS][DX] Refactor 2023-12-25 12:28:08 +01:00
Jacob Tobiasz
6fc2880870
[UPMERGE] 1.13 -> 2.0 (#15673)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-24 09:09:04 +01:00
Jacob Tobiasz
502c817630
[UPMERGE] 1.12 -> 1.13 (#15674)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/1.13 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-24 09:08:20 +01:00
Jacob Tobiasz
8f5a40215a
Resolve conflicts between 1.13 and 2.0 2023-12-24 08:39:59 +01:00
Sylius Bot
245c6fc3ea [CS][DX] Refactor 2023-12-24 08:38:45 +01:00
Sylius Bot
1487f5a1c6 [CS][DX] Refactor 2023-12-24 08:38:27 +01:00
Jacob Tobiasz
26cec53ed0
Resolve conflicts between 1.12 and 1.13 2023-12-24 08:37:42 +01:00
Jacob Tobiasz
520d030fba
[UPMERGE] 1.12 -> 1.13 (#15671)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/1.13 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.12 and 1.13
```
2023-12-22 16:37:59 +01:00
Jacob Tobiasz
d76c641b85
Replace @javascript with @mink:chromedriver in failing scenarios 2023-12-22 15:29:21 +01:00
Jacob Tobiasz
e63fea8f2f
Update product associations feature test tag 2023-12-22 15:21:23 +01:00
Jacob Tobiasz
7c55c4a69f
[UPMERGE] 1.13 -> 2.0 (#15670)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-22 15:18:43 +01:00
Jacob Tobiasz
cb7b6898f6
docs #13777 [Locale] Change language negotiation to RFC 4647 based (gseric)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | 1.11
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

Following this PR: #13708 

Commits
-------
  [Locale] Change language negotiation from simple string comparison to RFC 4647 based
  [Locale] Add some more tests for header languange negotiation
  [Unit] Fix JsonApiTestCase constructor arguments
  [Behat][API] Allow setting no accept-language in header
2023-12-22 15:04:58 +01:00
Jacob Tobiasz
17ca7e0756
Remove non-existing Sylius\Calendar\Tests\Behat\Context\Setup\CalendarContext entry 2023-12-22 14:52:20 +01:00
Jacob Tobiasz
de0eaf8442
Resolve conflicts between 1.13 and 2.0 2023-12-22 14:33:57 +01:00
Jacob Tobiasz
cd207b6eb4
Remove duplicated translation entries 2023-12-22 14:20:23 +01:00
Jacob Tobiasz
9dccd3cfe4
Allow to install lower version of stripe/stripe-php 2023-12-22 13:57:22 +01:00
Jacob Tobiasz
66d6a047d8
Resolve conflicts between 1.12 and 1.13 2023-12-22 13:53:00 +01:00
Jan Goralski
0ceb7db697
[Behat][API] Allow setting no accept-language in header
[Locale] Prepend default channel locale when resolving by header
2023-12-22 13:31:55 +01:00
Jan Góralski
57ef590dce
minor #15664 Move validation groups parameters to appropriate bundle configs (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         |  1.13 <!-- see the comment below -->                  |
| Bug fix?        | no                                                     |
| New feature?    | no                                                     |
| BC breaks?      | no                                                       |
| Deprecations?   | no <!-- don't forget to update the UPGRADE-*.md file --> |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-->
To make it load by default we should add it to our bundle config files instead of _sylius file itself

Commits
-------
  Move validation groups parameters to appropriate bundle configs
  Adjust gateway config validation groups parameter definition to changes
  Improve the new CHANGELOG.md entry
2023-12-22 13:02:57 +01:00
Jacob Tobiasz
d508915428
docs #15672 Typo cart-flow.rst (zairigimad)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12 or 1.13 <!-- see the comment below -->                  |
| Bug fix?        | no/yes                                                       |
| New feature?    | no/yes                                                       |
| BC breaks?      | no/yes                                                       |
| Deprecations?   | no/yes <!-- don't forget to update the UPGRADE-*.md file --> |
| Related tickets | fixes #X, partially #Y, mentioned in #Z                      |
| License         | MIT                                                          |

<!--
 - Bug fixes must be submitted against the 1.12 branch
 - Features and deprecations must be submitted against the 1.13 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
-------
  Typo cart-flow.rst
2023-12-22 09:54:03 +01:00
Zairig Imad
02c9b7428b
Typo cart-flow.rst 2023-12-22 09:51:48 +01:00
Jan Goralski
d896de175d
[Unit] Fix JsonApiTestCase constructor arguments 2023-12-22 09:11:03 +01:00
Jacob Tobiasz
d0b82fd975
[UPMERGE] 1.13 -> 2.0 (#15666)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/1.13/.github/workflows/upmerge_pr.yaml).

**Remember!** The upmerge should always be merged with using `Merge pull
request` button.

In case of conflicts, please resolve them manually with usign the
following commands:
```
git fetch upstream
gh pr checkout 
git merge upstream/2.0 --no-commit
```

If you use other name for the upstream remote, please replace `upstream`
with the name of your remote pointing to the `Sylius/Sylius` repository.

Once the conflicts are resolved, please run `git merge --continue` and
change the commit title to
```
Resolve conflicts between 1.13 and 2.0
```
2023-12-21 19:12:36 +01:00
Jacob Tobiasz
5e714820e8
Replace the DateTimeProvider with the Clock 2023-12-21 18:35:58 +01:00
Jan Goralski
e002d791d9
[Locale] Add some more tests for header languange negotiation 2023-12-21 18:17:20 +01:00
gseric
3d5da057b8
[Locale] Change language negotiation from simple string comparison to RFC 4647 based 2023-12-21 18:11:44 +01:00
Jacob Tobiasz
c49e3682c7
Improve the new CHANGELOG.md entry
Co-authored-by: Jan Góralski <jan.wojciech.goralski@gmail.com>
2023-12-21 18:03:10 +01:00
Jan Góralski
61923954bb
minor #15617 Switch JS session Behat driver to the Symfony Panther (jakubtobiasz)
This PR was merged into the 1.12 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.12
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | reactivated #13796
| License         | MIT


Commits
-------
  Add a support for Symfony Panther in the JS-based Behats
  Fix PHPSpec scenario
  Add support for Panther to CookieSetter service
  Run failing scenarios on Panther with using chromedriver
  Bring back the "chrome_headless_second_session" mink session
2023-12-21 15:21:57 +01:00
Jan Goralski
dc300fb0da [Documentation] Update mailer configuration 2023-12-21 15:14:16 +01:00
arti0090
dbbea4689f PR comment fix 2023-12-21 15:14:16 +01:00
arti0090
e4fdf671de [WIP][DOCS] Add info about mailer to 1.12 2023-12-21 15:14:16 +01:00
Jacob Tobiasz
c9c1ec8291
Bring back the "chrome_headless_second_session" mink session 2023-12-21 14:51:22 +01:00