@@ -5,17 +5,17 @@ Feature: CSS-Accept-DB - Workflow
5
5
6
6
@css
7
7
Scenario : Customer Self-Service Auth - api call
8
- Given as a insurance user perform login api action
9
- And add content type with given header params
8
+ Given a user perform a api action
9
+ And add request with given header params
10
10
| contentType | application /json |
11
- And create login information with given input
11
+ And create api with given input
12
12
| password | [password ] |
13
13
| email | [email ] |
14
- When logging in using post application/json in /auth resource on css
14
+ When a user post application/json in /auth resource on css
15
15
Then the status code is 200
16
- And verify user email information includes following in the response
16
+ And verify across response includes following in the response
17
17
| email | [email ] |
18
- And store token as key and api's token as value
18
+ And store the token value of the key as token
19
19
20
20
@css
21
21
Scenario : GetCustomerByLogin - api call
@@ -27,9 +27,9 @@ Feature: CSS-Accept-DB - Workflow
27
27
Then the status code is 200
28
28
And verify across response includes following in the response
29
29
| email | [email ] |
30
- And store customerId as key and api's customerId as value
31
- And evaluate key as expiryDate and SUBSTITUTE(TEXT(NOW()+365, "yyyy-mm-dd HH:mm:ss" ), " " , "T" ) as function value
32
- And evaluate key as startDate and TEXT(TODAY(),"yyyy-mm-dd" ) as function value
30
+ And store the customerId value of the key as customerId
31
+ And evaluate the SUBSTITUTE(TEXT(NOW()+365, "yyyy-mm-dd HH:mm:ss" ), " " , "T" ) function value of the key as expiryDate
32
+ And evaluate the TEXT(TODAY(),"yyyy-mm-dd" ) function value of the key as startDate
33
33
34
34
@css
35
35
Scenario : GetCustomerInfoByCustomerId - api call
@@ -41,12 +41,12 @@ Feature: CSS-Accept-DB - Workflow
41
41
Then the status code is 200
42
42
And verify across response includes following in the response
43
43
| firstname | Max |
44
- And store customerId as key and api's customerId as value
45
- And store firstname as key and api's firstname as value
46
- And store lastname as key and api's lastname as value
47
- And store streetAddress as key and api's streetAddress as value
48
- And store postalCode as key and api's postalCode as value
49
- And store city as key and api's city as value
44
+ And store the customerId value of the key as customerId
45
+ And store the firstname value of the key as firstname
46
+ And store the lastname value of the key as lastname
47
+ And store the streetAddress value of the key as streetAddress
48
+ And store the postalCode value of the key as postalCode
49
+ And store the city value of the key as city
50
50
51
51
@css
52
52
Scenario : CreateInsuranceQuote - api call
@@ -70,7 +70,7 @@ Feature: CSS-Accept-DB - Workflow
70
70
| insuranceOptions .startDate | 2021 -06 -20 |
71
71
When a user post application/json in /insurance-quote-requests resource on css
72
72
Then the status code is 200
73
- And store quoteId as key and api's id as value
73
+ And store the id value of the key as quoteId
74
74
75
75
@quote
76
76
Scenario : ReceiveInsuranceQuote - api call
@@ -108,11 +108,11 @@ Feature: CSS-Accept-DB - Workflow
108
108
109
109
@css
110
110
Scenario : InsuranceQuoteByDB - database action
111
- Given as a user perform sql query action
112
- When read details on the given query on css
111
+ Given as a user perform sql verify record action
112
+ When select details with the given sql verify record on css
113
113
| select iqr .id , iq .insurance_premium_amount , iq .insurance_premium_currency , iq .policy_limit_amount from insurancequotes iq INNER JOIN insurancequoterequests iqr on iq .id = iqr .insurance_quote_id and iqr .id = [quoteId ] |
114
- Then validate information on the given details on css
114
+ Then verify details with the given sql verify record on css
115
115
| select iqr .id , iq .insurance_premium_amount , iq .insurance_premium_currency , iq .policy_limit_amount from insurancequotes iq INNER JOIN insurancequoterequests iqr on iq .id = iqr .insurance_quote_id and iqr .id = [quoteId ] |
116
116
| id ,insurance_premium_amount , insurance_premium_currency , policy_limit_amount |
117
117
| i ~[quoteId ],d ~500 .00 ,CHF ,d ~50000 .00 |
118
- And store policy_limit_amount as key and query 's [0].policy_limit_amount as value
118
+ And store-sql 's [0].policy_limit_amount value of the key as policy_limit_amount
0 commit comments