SBoulanger/NotFlix

Testing: Team 2

Opened this issue · 1 comments

Testing: Team 2

Test Plan - Search Bar

-- Part 1: Normal Usage --

  1. input: user inputs movie title (Shrek 2) into search bar with the "movie title" search type and searches.
    output: show all movies that match with the query. (Shows Shrek 2)

  2. input: user inputs a genre into search bar with the "genre" search type and searches.
    output: show all movies that are tagged with the genre that was put in query.

  3. input: user enters query with unorthodox capitalization ("tHe INCreDIblEs") into search bar and tries to search.
    output: should still be able to show the movie matching the query regardless of capitalization errors.

-- Part 2: Error Scenarios --
4. input: user inputs a movie title into the search bar with the "genre" search type and searches.
output: should show an empty results page as there would be no matches in possible genres.

  1. input: user inputs part of a movie title ("John") into the search bar and searches.
    output: should show all movies that match with the query. (Shows John Wick & John Wick 2).
    ** Test case 5 is special, firebase is limited to matching strings starting from substring(0). Searching "Wick" will not produce "John Wick" as a search result.

  2. input: user enters extra spaces into their search query (The Incredibles) and searches.
    output: should return no matches.

  3. input: user inputs special characters ("@", "$", "%") into search bar and tries to search.
    output: should show no search results instead of breaking because the database has no movies with special characters (except for ":" but that is already accounted for).