Skip to content

Testing Manual

Jeroen Vermeulen edited this page Jul 25, 2014 · 22 revisions

Introduction

  • Make sure the test environment is updated to the version you wish to test
  • During all tests monitor the PHP error log, var/log/system.log and var/log/exception.log
  • During all tests monitor the JavaScript console
  • Start with a clean Magento cache
  • Make sure you enabled all features via System > Configuration > CATALOG > Solarium search > Search Results

General flow

  • Admin: System > Configuration > CATALOG > Solarium search > Solr Server > Test Connection
    • Must return Success.
  • Admin: System > Configuration > CATALOG > Solarium search > Solr Server > Self Test
    • Must return all Success.
  • Admin: System > Index Management > Catalog Search Index > Reindex Data
  • Frontend: Search with small typo
    • The search must return results, correcting the typo

Auto Complete: Use Products

  • Frontend: Type the first 3 letters of longer word from a product title
    • It must show a box suggesting the product with picture
  • Click on a suggestion
    • It must take you directly to the product

Auto Complete: Use Terms

  • Backend: System > Configuration > CATALOG > Solarium search > Search Results
    • Disable: Show Products as Autocomplete, Save Config
  • Frontend: Type the first 3 letters of longer word from a product title
    • It must show a box suggesting the whole word
  • Frontend: Type a whole word and then one letter from a product title
    • It must show a box suggesting multiple words, with amounts of results
  • Click on a suggestion
    • It must search with the right amount of results

Product Save

  • Change the title of a single product to some new unique string, save
  • Search for the unique string in the frontend
    • It must return the product

Product Delete

  • Pick a single product
  • Remember the title
  • Search for the title in the frontend
  • The search must return the product
  • Delete the product in the backend
  • Search for the title in the frontend again
    • It must no longer return the product

Searching for words which are apart

  • Search for two words which are in a product title but not next to each other
  • The Auto Complete will not work, but searching must return results

Autocorrect of typos

  • Search for a word from a product title, but with one typo
  • It must show results for the right word, and notice you it searched for the this word instead

Did you mean

  • To test this you need to have a word in the index which is very popular, example: digital
  • You need another word which differs only one letter, and has very few results, example: digit
  • When you search for the word with very few results
    • It must show the few results
    • It must show Did you mean: [the more popular word]