]> git.r.bdr.sh - rbdr/forum/blobdiff - src/components/topic/topic.test.js
Add blink test + coverage improvements
[rbdr/forum] / src / components / topic / topic.test.js
index 83eeba3cbc611e4f04267a26d549c1cf6abeca79..ca1abfbaa4958e8a3a518f1c9bed1cb7c3e2119f 100644 (file)
@@ -105,6 +105,14 @@ describe('Topic component', () => {
       .toBeVisible();
   });
 
+  test('Should send index and countt to posts', () => {
+
+    expect(internals.results.getByTitle('Post 1 of 2 by past_user'))
+      .toBeVisible();
+    expect(internals.results.getByTitle('Post 2 of 2 by future_user'))
+      .toBeVisible();
+  });
+
   describe('Forum link', () => {
 
     test('Should show forum if the post has one', () => {