blob: a218601ae2d663176286859e8400a0f263b05d0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
Feature: Search and browse across models by their defined facets
Scenario: Requesting facets across multiple models
Given Sphinx is running
When I am requesting facet results
And I want all possible attributes
Then I should have valid facet results
And I should have 8 facets
And I should have the facet Class
And the Class facet should have a "Person" key
And I should have the facet Gender
And the Gender facet should have a "female" key
And I should have the facet Country
And I should have the facet Category Name
And the Category Name facet should have a "hello" key with 10 hits
Scenario: Requesting facets across models without class results
Given Sphinx is running
When I am requesting facet results
And I want all possible attributes
And I don't want classes included
Then I should have 7 facets
And I should not have the facet Class
|