Conversation
mpysiak
commented
Mar 25, 2025
| Q | A |
|---|---|
| Branch? | 2.0 |
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Related tickets | failing CI |
| License | MIT |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
9d70d63 to
04a222b
Compare
| use Behat\Mink\Element\NodeElement; | ||
| use Behat\Mink\Exception\ElementNotFoundException; | ||
| use Sylius\Behat\Page\SymfonyPage; | ||
| use Sylius\Behat\Service\DriverHelper; |
There was a problem hiding this comment.
| use Sylius\Behat\Service\DriverHelper; |
| public function selectPaymentMethod(string $paymentMethod): void | ||
| { | ||
| if (DriverHelper::isJavascript($this->getDriver())) { | ||
| $this->getSession()->wait(100, "document.body !== null"); |
There was a problem hiding this comment.
| $this->getSession()->wait(100, "document.body !== null"); | |
| DriverHelper::waitForPageToLoad($this->getSession()); |
| public function selectShippingMethod(string $shippingMethod): void | ||
| { | ||
| if (DriverHelper::isJavascript($this->getDriver())) { | ||
| $this->getSession()->wait(100, "document.body !== null"); |
There was a problem hiding this comment.
| $this->getSession()->wait(100, "document.body !== null"); | |
| DriverHelper::waitForPageToLoad($this->getSession()); |
| namespace Sylius\Behat\Element\Shop; | ||
|
|
||
| use FriendsOfBehat\PageObjectExtension\Element\Element; | ||
| use Sylius\Behat\Service\DriverHelper; |
There was a problem hiding this comment.
| use Sylius\Behat\Service\DriverHelper; |
| } | ||
|
|
||
| public static function waitForPageReload(Session $session): void | ||
| public static function waitForPageToLoad(Session $session): void |
There was a problem hiding this comment.
As it was introduced in 1.14, we should adjust the name also there
…orPageToLoad (#17773) | Q | A |-----------------|----- | Branch? | 1.14 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no<!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | after #17764 and #17771 | License | MIT <!-- - Bug fixes must be submitted against the 1.13 branch - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 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 -->
| Q | A |-----------------|----- | Branch? | 2.0 | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | #17771 | License | MIT <!-- - Bug fixes must be submitted against the 1.13 branch - Features and deprecations must be submitted against the 1.14 branch - Features, removing deprecations and BC breaks must be submitted against the 2.0 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 -->