From 27e7bf6279949d87eaa2325d02499d70da7ae364 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 30 Aug 2019 09:51:00 +0200 Subject: [PATCH] Cypress tests ok ,terms and conditions after hard work ready to merge --- cypress/integration/common/steps.js | 3 +++ webapp/store/search.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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(() => {