-
Type:
Technical Testing
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Git Pull Request:
Test scenarios
Test Scenarios | Test Strategy | Kind of test | Is it covered by FrontEnd ? (JS-Unit) | Is it covered by BackEnd ? (unit or integration) | Could it be covered by POSHI? |
---|---|---|---|---|---|
The page creator could see the alert info in the General panel of Applied Filters fragment | High | Manual | No | No | Yes |
The Applied Filters fragment could show applied category and keywords filters in Preview and View mode | Critial | Manual | No | No | Yes |
The Applied Filters will show the second line and Show More button when there are lots of applied filters | High | Manual | No | No | Yes |
The page creator could use Clear Filters to reset the filters | Critial | Manual | No | No | Yes |
Test Cases
Case 1:
The page creator could see the alert info in the General panel of Applied Filters fragment
- Enable the Collection Filter and Applied Filter feature
- Add three web contents
- Add a dynamic collection for All Types
- Add a collection page based on dynamic collection
- Add an Applied Filters fragment above the Container
- Add a Collection Filter fragment above the Applied Filters
- Click the body of Applied Filters > General tab
- View the following alert info shown in the General panel
- You will see this fragment on the page only after applying a filter.
Case 2:
The Applied Filters fragment could show applied category and keywords filters in Preview and View mode
- Enable the Collection Filter and Applied Filter feature
- Add a vocabulary named Size
- Add three categories named Large, Medium, Small
- Add the first web content named Levis 511 with Large
- Add the second web content named Levis 501 with Medium
- Add the third web content named Levis 510 with Small
- Add a dynamic collection for All Types
- Add the first collection page based on dynamic collection
- Click the body of Collection Display fragment > General
- Select the Bordered List as List Style
- Add an Applied Filters fragment above the Container
- View the No Active Filters shown in Applied Filters fragment
- Select the dynamic collection as Target Collection
- Add a Collection Filter fragment above the Applied Filters
- Select the dynamic collection as Target Collection
- Select the Category as Filter
- Select the Size vocabulary as Source
- Open the Preview modal
- View the Applied Filters fragment is not shown
- Select the Large in Collection Filter
- View the Large is shown in Applied Filters
- View only the Levis 511 shown in Collection Display
- Close the Preview modal
- Publish the collection page
- Navigate to collection page at view mode
- View the Applied Filters fragment is not shown
- Select the Small in Collection Filter
- View the Small is shown in Applied Filters
- View only the Levis 510 shown in Collection Display
- Add the second collection page based on dynamic collection
- Click the body of Collection Display fragment > General
- Select the Bordered List as List Style
- Add an Applied Filters fragment above the Container
- View the No Active Filters shown in Applied Filters fragment
- Select the dynamic collection as Target Collection
- Add a Collection Filter fragment above the Applied Filters
- Select the dynamic collection as Target Collection
- Select the Keywords as Filter
- Open the Preview modal
- View the Applied Filters fragment is not shown
- Type 501 in search field of Collection Filter > Press Enter
- View the 501 is shown in Applied Filters
- View only the Levis 501 shown in Collection Display
- Close the Preview modal
- Publish the second collection page
- Navigate to second collection page at view mode
- View the Applied Filters fragment is not shown
- Type 510 in search field of Collection Filter > Press Enter
- View the 510 is shown in Applied Filters
- View only the Levis 510 shown in Collection Display
Case 3:
The Applied Filters will show the second line and Show More button when there are lots of applied filters
- Enable the Collection Filter and Applied Filter feature
- Add two vocabularies named Color and Gender
- Add 2 categories named Male and Female in Gender
- Add 8 categories named Red, Brown, Black, Grey, Blue, Green, Yellow, White in Color
- Add the first web content named Levis 511 with Black, Grey, Blue, Male, Female
- Add the second web content named Levis 501 with White, Yellow, Red, Female
- Add the third web content named Levis 510 with Brown, Black, Green, Male, Female
- Add the fourth web content named Lee 709 with Black, Grey, Blue, Male
- Add a dynamic collection for All Types
- Add a collection page based on dynamic collection
- Click the body of Collection Display fragment > General
- Select the Bordered List as List Style
- Add a Grid element above the Container
- Change the Number of Modules to 4
- Add the first Collection Filter to the first module
- Select the dynamic collection as Target Collection
- Select the Keywords as Filter
- Add the second Collection Filter to the second module
- Select the dynamic collection as Target Collection
- Select the Category as Filter
- Select the Gender vocabulary as Source
- Check the Single Selection
- Add the third Collection Filter to the third module
- Select the dynamic collection as Target Collection
- Select the Category as Filter
- Select the Color vocabulary as Source
- Add an Applied Filters to the fourth module
- Select the dynamic collection as Target Collection
- Open the Preview modal
- Type Levis in search field of the first Collection Filter > Press Enter
- Select the Female in the second Collection Filter
- Select the Yellow, Whilte, Red in the third Collection Filter
- View the Levis, Female and White are shown in the first line of Applied Filters
- View the Yellow and Red are shown in the second line of Applied Filters
- View only the Levis 501 shown in Collection Display
- Select two more Green, Brown categores in the third Collection Filter
- View the Red, Green and Brown are invisible
- Click the Show More button of Applied Filters
- View the Red and Green are shown in the third line
- View the Brown is shown in the fourth line
- View only the Levis 501 and Levis 510 are shown in Collection Display
- Click the Show Less button of Applied Filters
- View the Red, Green and Brown are invisible
- View only the Levis 501 and Levis 510 are shown in Collection Display
- Close the Preview modal
- Publish the collection page
- Navigate to collection page at view mode
- Type Levis in search field of the first Collection Filter > Press Enter
- Select the Female in the second Collection Filter
- Select the Yellow, Whilte, Red in the third Collection Filter
- View the Levis, Female and White are shown in the first line of Applied Filters
- View the Yellow and Red are shown in the second line of Applied Filters
- View only the Levis 501 shown in Collection Display
- Select two more Green, Brown categores in the third Collection Filter
- View the Red, Green and Brown are invisible
- Click the Show More button of Applied Filters
- View the Red and Green are shown in the third line
- View the Brown is shown in the fourth line
- View only the Levis 501 and Levis 510 are shown in Collection Display
- Click the Show Less button of Applied Filters
- View the Red, Green and Brown are invisible
- View only the Levis 501 and Levis 510 are shown in Collection Display
Case 4:
The page creator could use Clear Filters to reset the filters
- Enable the Collection Filter and Applied Filter feature
- Add a vocabulary named Size
- Add three categories named Large, Medium, Small
- Add the first web content named Levis 511 with Large
- Add the second web content named Levis 501 with Medium
- Add the third web content named Levis 510 with Small
- Add the fourth web content named Lee 709 with Large
- Add a dynamic collection for All Types
- Add a collection page based on dynamic collection
- Click the body of Collection Display fragment > General
- Select the Bordered List as List Style
- Add an Applied Filters fragment above the Container
- Select the dynamic collection as Target Collection
- Check the Include Clear Filters Option
- View the Clear Filters button shown in Applied Filters
- Add a Grid element above the Applied Filters
- Change the Numbers of Modules to 2
- Add the first Collection Filter to the first module
- Select the Keywords as Filter
- Add the second Collection Filter to the second module
- Select the dynamic collection as Target Collection
- Select the Category as Filter
- Select the Size vocabulary as Source
- Open the Preview modal
- Type Levis in search field of the first Collection Filter > Press Enter
- Select the Large in the second Collection Filter
- View only the Levis 511 shown in Collection Display
- Click the Clear Filters button in the Applied Filters
- View the Applied Filters fragment is not shown
- View all web contents shown in Collection Display
- Close the Preview modal
- Publish the collection page
- Navigate to collection page at view mode
- Type Levis in search field of the first Collection Filter > Press Enter
- Select the Large in the second Collection Filter
- View only the Levis 511 shown in Collection Display
- Click the Clear Filters button in the Applied Filters
- View the Applied Filters fragment is not shown
- View all web contents shown in Collection Display