From 15b7043d00f83564cac7869d2db09908eda10b97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Sat, 8 Jun 2019 01:50:08 +0200 Subject: [PATCH] Write a test for "load more" button The crucial test is still missing: Write a test to check that no more than one loading spinner is visible all the time. @Tirokk FYI I wrote a page component test and made sure that the test will also fail if the implementation is broken. --- webapp/components/LoadMore.vue | 2 +- webapp/pages/profile/_id/_slug.spec.js | 93 +++++++++++++++++++++++++- 2 files changed, 92 insertions(+), 3 deletions(-) diff --git a/webapp/components/LoadMore.vue b/webapp/components/LoadMore.vue index 3d583ef50..ff8d4e6c4 100644 --- a/webapp/components/LoadMore.vue +++ b/webapp/components/LoadMore.vue @@ -1,5 +1,5 @@