ita-social-projects / EventsExpress

MIT License
19 stars 16 forks source link

Verify that "Clear" button returns "Age" filter to default state #1355

Open mary-pzk opened 2 years ago

mary-pzk commented 2 years ago

Date Time 06-21-2022

Priority Medium

Description The test verifies that "Clear" button returns "Age" filter to default state

Pre-requisites Steps to be fulfilled before test:

  1. Move to https://eventsexpress-test.azurewebsites.net/landing
  2. The database is filled with events: a) 'Event1', 'Event2' 'and 'Event3' (can be visited with children) b) 'Event4' (only for adults)
Test Cases S# Action Test Data Expected Result Actual Result P/F Automated
1. Click on the 'Events Express' label at the header of the page
Home page is opened. Events 'Event1', 'Event2', 'Event3' and 'Event4' are displayed.


2. Click on the arrow button on the right side of the Home page near 'Filters' label
The modal window with 'Category', 'Organizer', 'Location', 'Age', 'Calendar' filters is opened. All filters don't have preselected values (except calendar) and 'Apply' button is disabled


3. Click on the 'Age' filter
"With children" and "Only adult" checkboxes is displayed. Default value - empty


4. Click on "With children" checkbox value
"With children" value is marked with a green stick. "Only adult" value is with an empty square. The 'Apply' button has become enable.


5. Click on the 'Apply' button
Events 'Event1', 'Event2' and 'Event3' are displayed. Modal window with filters is stay opened.


6. Click on the "Clear" button
"With children" and "Only adult" value are with an empty square.


7. Click on the 'Apply' button
Events 'Event1', 'Event2', 'Event3' and 'Event4' are displayed. Modal window with filters is stay opened.


Screenshots image

Environment:

Additional context Add any other context about the test here.

User story links E.g.: "User story #982 "

Labels to be added "Test case", Priority ("pri: "), Type ("UI, "Functional"), "API" .