Enable tests for placing an orders in chosen locale

This commit is contained in:
Wojdylak 2024-09-30 13:41:29 +02:00
parent eb2cec1ad2
commit d61a8e476a
No known key found for this signature in database
GPG key ID: 7509E560A6821ABE
3 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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

View file

@ -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();
}