No sort
-
Given the input parameters are
|
name |
value |
|---|---|
|
query |
nike air max 98 |
-
When the client perform a GET on /api/public/search/offers with the input parameters
-
Then I get a response with status 200
-
And Search is called for country fr with arguments
|
name |
value |
|---|---|
|
q |
nike+air+max+98 |
|
start |
0 |
|
rows |
20 |
Sort by price - DESC default
-
Given the input parameters are
|
name |
value |
|---|---|
|
query |
nike air max 98 |
|
sortBy |
price |
-
When the client perform a GET on /api/public/search/offers with the input parameters
-
Then I get a response with status 200
-
And Search is called for country fr with arguments
|
name |
value |
|---|---|
|
q |
nike+air+max+98 |
|
sort |
price+desc |
|
start |
0 |
|
rows |
20 |
Sort by price - ASC explicit
-
Given the input parameters are
|
name |
value |
|---|---|
|
query |
nike air max 98 |
|
sortBy |
price |
|
sortDirection |
asc |
-
When the client perform a GET on /api/public/search/offers with the input parameters
-
Then I get a response with status 200
-
And Search is called for country fr with arguments
|
name |
value |
|---|---|
|
q |
nike+air+max+98 |
|
sort |
price+asc |
|
start |
0 |
|
rows |
20 |
Sort by price - DESC explicit
-
Given the input parameters are
|
name |
value |
|---|---|
|
query |
nike air max 98 |
|
sortBy |
price |
|
sortDirection |
desc |
-
When the client perform a GET on /api/public/search/offers with the input parameters
-
Then I get a response with status 200
-
And Search is called for country fr with arguments
|
name |
value |
|---|---|
|
q |
nike+air+max+98 |
|
sort |
price+desc |
|
start |
0 |
|
rows |
20 |