-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuying.feature
33 lines (29 loc) · 1.26 KB
/
buying.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Feature: Checking out
Background:
Given products are in shopping cart
And the user is at the Checkout page
Scenario: Checkout with being logged in
Given the user is logged in
When the user selects which address he wants to use
And selects the flat rate
And selects the payment method
And the user clicks on confirm order button
Then his order will be placed
And the user will be redirected to a site telling him so
Scenario: Checkout as a guest
Given the user is not logged in
When the user selects guest checkout
* the user fills in the details
* the user selects the flat rate
* the user selects the payment method
* the user clicks on confirm order button
Then his order will be placed
And the user will be redirected to a site telling him so
Scenario: Checkout and registering new account
Given the user is not logged in
When the user selects register account
* the user fills in the details
* the user checks that he read and agrees to the Privacy Policy checkbox
* the user clicks on continue button
Then he can not proceed the checkout
But his account will be created