diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index 91b5b67ca..511f27e62 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -384,6 +384,9 @@ Given("there is an annoying user called {string}", name => { id: "annoying-user", name, ...termsAndConditionsAgreedVersion + + + }); }); diff --git a/webapp/store/search.js b/webapp/store/search.js index 0d0172a98..bf6448131 100644 --- a/webapp/store/search.js +++ b/webapp/store/search.js @@ -69,7 +69,7 @@ export const actions = { .then(res => { commit('SET_QUICK_RESULTS', res.data.findPosts || []) }) - .catch(() => { + .catch(_err => { commit('SET_QUICK_RESULTS', []) }) .finally(() => {