You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specs are run in a random order, and should be independent of each spec's state. If a spec sets a filter value (like this one for example: https://github.com/codeforamerica/ohana-web-search/blob/master/spec/features/search/filters_spec.rb#L42-44), and that value is not reset, then another spec that doesn't expect that value will fail. The most common failure will be in the VCR request which will include an extra unexpected parameter in the API call.
All specs that make changes to the web page should run a reset method at the end of the spec to make sure each spec runs with a clean default state.
The text was updated successfully, but these errors were encountered:
Specs are run in a random order, and should be independent of each spec's state. If a spec sets a filter value (like this one for example: https://github.com/codeforamerica/ohana-web-search/blob/master/spec/features/search/filters_spec.rb#L42-44), and that value is not reset, then another spec that doesn't expect that value will fail. The most common failure will be in the VCR request which will include an extra unexpected parameter in the API call.
All specs that make changes to the web page should run a reset method at the end of the spec to make sure each spec runs with a clean default state.
The text was updated successfully, but these errors were encountered: