mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 09:02:12 +00:00
Enable tests for placing an orders in chosen locale
This commit is contained in:
parent
eb2cec1ad2
commit
d61a8e476a
3 changed files with 3 additions and 3 deletions
|
|
@ -19,7 +19,7 @@ Feature: Receiving confirmation email after finalizing checkout
|
|||
When I confirm my order
|
||||
Then an email with the summary of order placed by "john@example.com" should be sent to him
|
||||
|
||||
@api @todo-ui @javascript @email
|
||||
@api @ui @javascript @email
|
||||
Scenario: Receiving confirmation email after finalizing checkout in different locale than the default one
|
||||
Given I have product "Sig Sauer P226" in the cart
|
||||
And I have proceeded through checkout process in the "Polish (Poland)" locale with email "john@example.com"
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ Feature: Seeing order locale on order summary page
|
|||
Then I should be on the checkout summary step
|
||||
And my order's locale should be "English (United States)"
|
||||
|
||||
@no-api @todo-ui @javascript
|
||||
@no-api @ui @javascript
|
||||
Scenario: Seeing order locale on the order summary page after change channel locale
|
||||
Given I have product "Stark T-Shirt" in the cart
|
||||
When I proceed through checkout process in the "French (France)" locale
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ final class CheckoutCompleteContext implements Context
|
|||
* @Then I should be on the checkout complete step
|
||||
* @Then I should be on the checkout summary step
|
||||
*/
|
||||
public function iShouldBeOnTheCheckoutCompleteStep()
|
||||
public function iShouldBeOnTheCheckoutCompleteStep(): void
|
||||
{
|
||||
$this->completePage->verify();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue