Commit graph

4789 commits

Author SHA1 Message Date
Jan Góralski
bb1be130d8
[UPMERGE] 2.1 -> 2.2 (#18748)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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
push the changes to this PR.
2026-01-23 16:45:57 +01:00
TheMilek
af1b55c2d9
Fix panther build 2026-01-23 15:07:21 +01:00
Kamil Grygierzec
7ebb6fae70
[UPMERGE] 2.1 -> 2.2 (#18738)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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
push the changes to this PR.
2026-01-20 11:25:04 +01:00
Kamil Grygierzec
e7db9f691d
Bugfix/fix autocomplete in admin to be case insensitive (#18572)
This is a continuation of pull request
https://github.com/Sylius/Sylius/pull/18477
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | https://github.com/Sylius/Sylius/issues/18384
| License         | MIT

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Parent taxon autocomplete search is now case-insensitive for more
reliable results.

* **New Features**
* Admin taxon form returns richer autocomplete results for parent
selection.
  * Added UI actions to search and verify parent taxon results.
  * Support for creating taxons with explicit codes where needed.

* **Tests**
* New BDD tests covering case-insensitive parent taxon autocomplete and
related scenarios.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-20 10:50:14 +01:00
Kamil Grygierzec
ac5cb344f0
Add ternary operator to fix bug related with empty key (#18565)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | https://github.com/Sylius/Sylius/issues/17718
| License         | MIT

I reproduced error when chose nl_NL and ran command bin/console
sylius:install. Bug was caused lack translations for taxons.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Bug Fixes**
* Admin product list now correctly handles products whose main category
has no name — tooltips and category display no longer error or show
incorrect content.

* **Tests**
* Added a UI scenario and step coverage to verify browsing products with
unnamed main categories in the admin interface.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-01-20 10:49:11 +01:00
Grzegorz Sadowski
7e7a0b8fc9
Remove Gedmo sortable-position from new Zone priority field 2025-12-17 11:48:05 +01:00
Grzegorz Sadowski
d7f54ef0ca
[Behat] Adjust scenario for changing the Zone's priority 2025-12-17 10:57:08 +01:00
Rafał Jaskulski
a34f0b149f
[UPMERGE] 2.1 -> 2.2 (#18615)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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
push the changes to this PR.
2025-12-02 22:32:35 +01:00
Rafikooo
510fd6a7af
[Behat] Temporarily disable hanging cart inventory UI test 2025-12-02 14:17:15 +01:00
Karol
a0f27840ac
[Behat] Migrate shop promotion scenarios to chromedriver (#18602)
Migrates shop promotion tests from `Panther` to `ChromeDriver`. The goal
is to fully migrate to a single driver.
2025-12-01 08:18:18 +01:00
Rafikooo
8046f08c15
Replace @javascript tag with @mink:chromedriver in cart features 2025-11-30 15:07:51 +01:00
Rafikooo
ebda67c620
Resolve conflicts between 2.1 and 2.2 2025-11-28 18:09:31 +01:00
Rafikooo
9da6d2a024
[Behat] Migrate shop promotion tests to chromedriver 2025-11-28 17:39:57 +01:00
Michał Pysiak
d0531ddd00
[Behat] Migrate admin @javascript tags to @mink:chromedriver (#18576)
| Q               | A
|-----------------|-----
| Branch?         | 2.1
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | ref #18396
| License         | MIT

Migrates admin feature scenarios from `@javascript` (Panther) to
`@mink:chromedriver` tags. This is part of gradual migration to unified
Chromedriver-based testing.

Changes 20 scenarios across 8 admin feature files:
- Impersonating customers
- Managing product options
- Managing taxons (browsing, editing slugs)
- Managing countries and provinces

Ref: #18396

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Tests**
* Updated test execution infrastructure across multiple test suites to
improve automation consistency and reliability.

<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-11-28 12:18:45 +01:00
Michal Kaczmarek
2b06c6eddc Fix autocomple in admin to be case-insensitive 2025-11-27 13:08:30 +01:00
Rafał Jaskulski
bc2a0ae8cb
[UPMERGE] 2.1 -> 2.2 (#18581)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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
push the changes to this PR.
2025-11-26 16:57:15 +01:00
Rafikooo
b16caa06c0
Resolve conflicts between 1.14 and 2.1 2025-11-26 12:55:33 +01:00
Rafikooo
16ee26b052
Resolve conflicts between 2.1 and 2.2 2025-11-26 11:01:16 +01:00
Rafikooo
ee79785d15
[Behat] Migrate admin @javascript tags to @mink:chromedriver 2025-11-25 17:16:33 +01:00
Tomasz Kaliński
a062a250c1
Add channel eligibility validation during order completion 2025-11-24 17:39:32 +01:00
Rafał Jaskulski
8275ac3333
Solves the problem with changing product image (#18478)
| Q               | A
|-----------------|-----
| Branch?         | 2.0
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| License         | MIT

Fixes:


https://github.com/user-attachments/assets/f58ab45a-0277-473a-a0c9-b40d3257d42f
2025-11-24 16:09:17 +01:00
Michal Kaczmarek
2be6be0333 Add behat test 2025-11-24 12:05:19 +01:00
PiotrSzymanski2000
e19278d732 [FEATURE] add tests 2025-11-19 08:29:09 +01:00
Rafał Jaskulski
02ef1456f0
[UPMERGE] 2.1 -> 2.2 (#18511)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.2 -m "Resolve conflicts between 2.1 and 2.2"
```

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
push the changes to this PR.
2025-11-04 12:59:57 +01:00
Rafikooo
8387599207
[Behat] Remove @javascript tag from taxon slug scenarios 2025-11-01 12:52:25 +01:00
Tomasz Kaliński
52e3974a94 Add scenario for changing a product's single image in admin features 2025-10-30 10:20:36 +01:00
Tomasz Kaliński
b3f62f0217 Update migration files with license headers and adjust zone priority handling
- Added Sylius license headers to migration files.
- Removed `gedmo:sortable-position` from `priority` field in Zone ORM mapping.
- Updated Behat scenario to reflect changes in zone priority expectations.
2025-10-30 10:19:46 +01:00
Tomasz Kaliński
8dee80bb95 Add priority column to AddressingBundle SQLlite db and update related test expectations. 2025-10-30 10:19:46 +01:00
Tomasz Kaliński
fa683584db Add Behat tests for sorting zones by priority 2025-10-30 10:19:46 +01:00
Michal Kaczmarek
b0e5f0d302 Add checkout addressing context to api area for behat scenario 2025-10-21 11:56:52 +02:00
Michal Kaczmarek
db47c1144a Add behat scenario 2025-10-21 07:12:21 +02:00
Grzegorz Sadowski
be9f6a0078
[UPMERGE] 2.0 -> 2.1 (#18358)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.1 -m "Resolve conflicts between 2.0 and 2.1"
```

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
push the changes to this PR.
2025-09-09 13:09:52 +02:00
TheMilek
7f4e209b4c
Resolve conflicts between 1.14 and 2.0 2025-09-09 12:50:05 +02:00
Grzegorz Sadowski
3661102aec
Fix deleting a value from an existing select product attribute while it's in use (Postgresql issue only) (#17705)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes https://github.com/Sylius/Sylius/issues/17704
| License         | MIT
2025-09-09 12:39:58 +02:00
Grzegorz Sadowski
c628acf2c3
Merge branch '2.1' into upmerge/2.0_2.1 2025-09-09 12:02:04 +02:00
Grzegorz Sadowski
d8d81309a1
[CONFLICT][UX] Fix composer conflict for symfony/ux-live-component and mark flaky test as failing (#18331)
- Block incompatible versions of symfony/ux-live-component (2.28.0,
2.28.1, 2.29.*) in the conflict section to prevent compatibility issues.
- Resolves the issue of address data being cleared from the checkout
after logging in during the addressing step.
- The problem occurs for symfony/ux-live-components &gt; 2.28.2

| Q               | A
|---------------- -|-----
| Branch?         | 2.0 or 2.1
| Bug fix?        | no
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| License         | MIT

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- New Features
  - No user-facing feature changes in this release.

- Chores
- Updated dependency constraints to allow only patch releases of
symfony/ux-live-component 2.29, aiming to improve stability and reduce
unexpected regressions. No runtime behavior changes expected.

- Tests
- Marked a checkout sign-in scenario as failing to track a known issue
during the addressing step. This change affects test reporting only and
does not impact production functionality.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-09 11:26:35 +02:00
Tomasz Kaliński
8a96b8e998 Update symfony/ux-live-component composer conflict rules and annotate failing test scenario 2025-09-09 08:57:17 +02:00
Grzegorz Sadowski
730202f9be
[UPMERGE] 2.0 -> 2.1 (#18347)
This PR has been generated automatically.
For more details see
[upmerge_pr.yaml](/Sylius/Sylius/blob/2.1/.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 <this-pr-number>
git merge upstream/2.1 -m "Resolve conflicts between 2.0 and 2.1"
```

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
push the changes to this PR.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Corrected product and variant names shown in order item details to use
the item’s data; product images, links, and variant codes remain
unchanged.

- **New Features**
- Added zone-based shipping eligibility check to prevent selecting
shipping methods that don't match the order's shipping zone.
  - Added Behat step to change a shipping method's zone.

- **Tests**
- Added unit tests for zone eligibility and Gherkin scenarios covering
shipping-zone-related checkout behavior.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-09-09 06:55:28 +02:00
TheMilek
4cb09ee8d3
Make the test align with the default country 2025-09-08 21:52:46 +02:00
TheMilek
1245370642
Fixes to test after upmerge 2025-09-08 21:29:05 +02:00
TheMilek
606adf1701
Resolve conflicts between 1.14 and 2.0 2025-09-08 14:24:28 +02:00
Grzegorz Sadowski
2451b5b5ca
Apply suggestions from code review 2025-09-08 11:29:17 +02:00
piotrbalcerzak
2bbc2f4702 Fixed placing order with not possible zone 2025-09-05 14:12:17 +02:00
TheMilek
28ff41d514
Resolve conflicts between 2.0 and 2.1 2025-08-21 14:48:31 +02:00
TheMilek
9f729fe192
Resolve conflicts between 1.14 and 2.0 2025-08-21 12:11:48 +02:00
Kamil Grygierzec
e766988756
[Promotion] Corrects order of amounts to apply correct promotion amount (#18303)
| Q               | A
|-----------------|-----
| Branch?         | 1.14
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | fixes #17862 
| License         | MIT

This PR is based on the work of @delyriand from PR #17864 and completes
the implementation.

Prerequisites:

- Create one cart promotion with 20$ order fixed discount without rule
- Create one cart promotion with 80$ order fixed discount without rule
- Add to cart 3 items of 10.56$
- Add to cart 1 item of 60$

Before the fix:
<img width="720" height="355" alt="image"
src="https://github.com/user-attachments/assets/669ed562-1a17-4db1-b5b2-9c431a336013"
/>

After:
<img width="720" height="283" alt="image"
src="https://github.com/user-attachments/assets/50239e2a-8918-4d00-803b-03d9475668b9"
/>
2025-08-21 08:34:04 +02:00
Kacper Kubacki
9e14ab68e3 Add behat scenario 2025-08-14 11:26:09 +02:00
Grzegorz Sadowski
86dcac7869
Resolve conflicts between 2.0 and 2.1 2025-07-31 10:00:57 +02:00
Grzegorz Sadowski
ae268f5e27
Resolve conflicts between 1.14 and 2.0 2025-07-31 09:18:22 +02:00
Kacper Kubacki
486365c292 Add behat scenario 2025-07-29 07:11:19 +02:00