From 1474a72182f0904c55740336a158d45fb91a2113 Mon Sep 17 00:00:00 2001
From: Chris Beer <cabeer@stanford.edu>
Date: Mon, 11 Feb 2019 15:01:40 -0800
Subject: [PATCH] Actually have the mirador plugin test request a manifest

---
 __tests__/integration/mirador/plugins.test.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/__tests__/integration/mirador/plugins.test.js b/__tests__/integration/mirador/plugins.test.js
index ab5334fa7..ec675c17a 100644
--- a/__tests__/integration/mirador/plugins.test.js
+++ b/__tests__/integration/mirador/plugins.test.js
@@ -8,7 +8,8 @@ describe('Mirador plugin use', () => {
     await expect(page).toClick('#fetchBtn');
     // TODO: Refactor the app so we get rid of the wait
     await page.waitFor(1000);
-    await expect(page).toClick('.mirador-manifest-list-item');
+    await expect(page).toMatchElement('li', { text: 'http://localhost:5000/api/sn904cj3439' });
+    await expect(page).toClick('li button');
   });
   it('displays "Share Button" plugin', async () => {
     await expect(page).toMatchElement('button', { text: 'Share' });
-- 
GitLab