Refactor Error Tracking Spec to Use Matchers
Refactor to use matchers instead of custom code.
Also update to use let_it_be instead of set based on this guideline:
https://docs.gitlab.com/ee/development/testing_guide/best_practices.html#set-variables
Edited by Allison Browne