Commit graph

4044 commits

Author SHA1 Message Date
Michał Pysiak
7d6b4d6e5b
Adjust behat tests 2024-10-29 10:44:59 +01:00
Michał Pysiak
b847995f96
Add tests 2024-10-29 10:44:59 +01:00
Grzegorz Sadowski
6a8c441f4e
Merge branch '1.13' into 1.14
* 1.13:
  Revert "[Behat] Temporarily add todo tag to problematic scenarios"
  Replace deprecated DOMNodeInserted event with MutationObserver
2024-10-17 14:16:31 +02:00
kulczy
012f2e56e3 Revert "[Behat] Temporarily add todo tag to problematic scenarios"
This reverts commit 7fd5f1d691.
2024-10-17 13:22:14 +02:00
Grzegorz Sadowski
a7bb9cd32b
Merge branch '1.13' into 1.14
* 1.13:
  [Behat] Temporarily add todo tag to problematic scenarios
  [Behat] Make scenario for adding a promotion in different language non javascript
  [Behat] Make scenario for adding a promotion with too long label non javascript
2024-10-17 07:49:41 +02:00
Grzegorz Sadowski
7fd5f1d691
[Behat] Temporarily add todo tag to problematic scenarios 2024-10-17 06:58:54 +02:00
Grzegorz Sadowski
970820243e
[Behat] Make scenario for adding a promotion in different language non javascript 2024-10-17 06:55:24 +02:00
Grzegorz Sadowski
b19cd53a86
[Behat] Make scenario for adding a promotion with too long label non javascript 2024-10-17 06:55:23 +02:00
zairigimad
996fe93c58 make it possible to resend order confirmation after fulfilled state 2024-09-08 12:43:09 +01:00
Kamil Grygierzec
736c65dd8c
Cover the scenario for allowing access for only correctly logged in users 2024-09-06 10:22:37 +02:00
Grzegorz Sadowski
797e10e58a
[Behat] Switch another random JS failed scenarios to Chromedriver 2024-09-02 13:27:54 +02:00
Grzegorz Sadowski
e0cd54b0df
[Behat] Switch another random JS failed scenarios to Chromedriver 2024-09-02 12:51:30 +02:00
Grzegorz Sadowski
8ebb064557
[Behat] Switch random JS failed scenarios to Chromedriver 2024-09-02 12:28:14 +02:00
Rafikooo
0182292e5b
[Behat] Enable accessing product edit page from show page scenarios 2024-07-09 13:43:25 +02:00
Grzegorz Sadowski
a59b1b7472
Merge branch '1.12' into 1.13
* 1.12:
  [CS][DX] Refactor
  Apply Review fixes
  fix the build
  fallback order item test
  add contract tests
  Filter order items collection for visitors and shop users
  Add voter for the adjustments subresources
  Resolve createdByGuest on order fixtures
2024-06-06 15:03:59 +02:00
Kamil Grygierzec
dd39c91755
fix the build 2024-06-06 01:34:47 +02:00
Grzegorz Sadowski
44b32ea3e1
Merge branch '1.12' into 1.13
* 1.12:
  [Behat] Adjust scenario and feature names for finalizing payment with item that has become tracked
  [Inventory] Introduce custom exceptions for inventory operations
  [Behat] Cover scenarios for finalizing order's payment in API
  Add spec for PaymentPreCompleteListener with minor improvements
  [Behat] Refactor scenarios for finalizing order's payment
  Fix unexpected error about not enough stocks while completing the payment in the Admin Panel
2024-06-03 13:05:02 +02:00
Grzegorz Sadowski
12455fdf12
[Behat] Adjust scenario and feature names for finalizing payment with item that has become tracked 2024-05-28 07:46:31 +02:00
Grzegorz Sadowski
bb103762f1
[Behat] Cover scenarios for finalizing order's payment in API 2024-05-24 13:43:31 +02:00
Grzegorz Sadowski
9d2c65aa52
[Behat] Refactor scenarios for finalizing order's payment 2024-05-24 10:25:51 +02:00
Jacob Tobiasz
536f1ae2c8
Fix unexpected error about not enough stocks while completing the payment in the Admin Panel 2024-05-23 14:49:43 +02:00
Grzegorz Sadowski
3bc21174cf
Merge branch '1.12' into 1.13
* 1.12:
  [Behat] Minor scenarios improvements
  Fixes after CR
  Test adding similar products
  Test adding new simple product
  Test adding new taxon
  [Behat] Minor scenarios improvements after code review
  [Checkout] Add scenario for preventing from a potential XSS attack
  [AddressBook] Add scenario for preventing from a potential XSS attack
  Use function from UIBundle
  Add sanitizer function to UIBundle
  Add js sanitizeInput function
  Fix product-auto-complete
  Use function from UIBundle
  Fix potential xss in admin panel
  [Maintenance] Remove unnecessary line
  [Maintenance] Update docker docs
2024-05-10 10:28:17 +02:00
Grzegorz Sadowski
3b82e93256
[Behat] Minor scenarios improvements 2024-05-10 09:45:34 +02:00
Grzegorz Sadowski
ba4b66da5a
bug #76 Fix potential xss in admin panel (mpysiak)
This PR was merged into the 1.12 branch.

Discussion
----------

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

Fixes potential xss in admin panel (Taxons and Products)

Commits
-------

d4812f9c14 Fix potential xss in admin panel
29d18a3993 Use function from UIBundle
c11c424c1c Fix product-auto-complete
a17de6d1ed Test adding new taxon
d25edf3ff0 Test adding new simple product
63c3cf7a12 Test adding similar products
679e793521 Fixes after CR
2024-05-10 09:37:43 +02:00
Michał Pysiak
63c3cf7a12
Test adding similar products 2024-05-10 07:25:50 +02:00
Michał Pysiak
d25edf3ff0
Test adding new simple product 2024-05-10 07:24:48 +02:00
Michał Pysiak
a17de6d1ed
Test adding new taxon 2024-05-10 07:24:37 +02:00
Grzegorz Sadowski
30de6ff277
[Behat] Minor scenarios improvements after code review 2024-05-10 07:22:38 +02:00
Grzegorz Sadowski
925554057b
[Checkout] Add scenario for preventing from a potential XSS attack 2024-05-10 07:13:15 +02:00
Grzegorz Sadowski
3d66fb0672
[AddressBook] Add scenario for preventing from a potential XSS attack 2024-05-10 06:34:27 +02:00
Michał Pysiak
79e6409d23
Fix product review validation's notInRangeMessage 2024-04-30 09:28:39 +02:00
Grzegorz Sadowski
f7ba654f0c
[Behat] Use chromedrives in some scenarios 2024-04-26 21:13:31 +02:00
Wojdylak
2066882abf
[Maintenance] Use chromedrive in behat tests 2024-04-24 13:13:20 +02:00
Kamil Grygierzec
16c695ae88
Add missing validation for the customers first and last name 2024-03-28 09:04:22 +01:00
Karol
4f499b5ff7
minor #16052 Add missing customer validation (TheMilek)
This PR was merged into the 1.13 branch.

Discussion
----------

| Q               | A                                                            |
|-----------------|--------------------------------------------------------------|
| Branch?         | 1.13 <!-- see the comment below -->                  |
| Bug fix?        | a bit                                                       |
| 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
-->


Commits
-------
  Validate customer creation and edit
  Validate customer's password reset
2024-03-27 14:44:56 +01:00
Kamil Grygierzec
c263ba3a78
[Taxon][Behat] validate translations with unexisting locales 2024-03-27 09:22:45 +01:00
Kamil Grygierzec
56cc9e8979
[ShippingMethod][Behat] validate translations with unexisting locales 2024-03-27 09:22:45 +01:00
Kamil Grygierzec
9e96419ba8
[Promotion][Behat] validate translations with unexisting locales 2024-03-27 09:22:45 +01:00
Kamil Grygierzec
83006e2f48
[Product][Behat] validate translations with unexisting locales 2024-03-27 09:22:44 +01:00
Kamil Grygierzec
ca29b6bfce
[PaymentMethod][Behat] validate translations with unexisting locales 2024-03-27 09:22:44 +01:00
Kamil Grygierzec
d984f452a5
Validate customer creation and edit 2024-03-27 08:47:32 +01:00
Jacob Tobiasz
f5c877532e
minor #16044 [API] Expose TaxonImage resource in shop (NoResponseMate)
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 | -                      |
| License         | MIT                                                          |

Commits
-------
  [API] Expose TaxonImage resource in shop
  [Behat][API] TaxonImage shop tests
  [Behat] Minor improvments of viewing_taxon_image scenario
  [Api] Remove _response suffix
  [Api] Change namespace of TaxonImagesTest class
2024-03-26 16:34:33 +01:00
Jacob Tobiasz
65a6782cb4
Make the validation trait more generic 2024-03-26 15:32:12 +01:00
Wojdylak
8d82d6a38d
[Behat] Minor improvments of viewing_taxon_image scenario 2024-03-26 15:13:18 +01:00
Jacob Tobiasz
3aa50c7802
Unify code validation related steps with other scenarios 2024-03-26 10:12:38 +01:00
Jacob Tobiasz
ea6cb8548e
Unify steps related to a code validation 2024-03-26 10:12:37 +01:00
Jacob Tobiasz
05876b1f19
Cover the max code length validation in the Product bundle 2024-03-26 10:11:50 +01:00
Jacob Tobiasz
92cc51efc3
Cover the max code length validation in the Taxonomy bundle 2024-03-26 10:11:07 +01:00
Jacob Tobiasz
14ca72aeae
Cover the max code length validation in the Taxation bundle 2024-03-26 10:11:07 +01:00
Jacob Tobiasz
cab7687a4a
Cover the max code length validation in the Shipping bundle 2024-03-26 10:11:07 +01:00