From 71012e8e669f9927b421319d3b316b9e1869f68a Mon Sep 17 00:00:00 2001
From: Paul Kaplan <pkaplan@media.mit.edu>
Date: Wed, 23 May 2018 10:45:29 -0400
Subject: [PATCH] Make list test sensitive to "clicking clears the field" bug

---
 test/integration/blocks.test.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/integration/blocks.test.js b/test/integration/blocks.test.js
index 8b2acdc73..e7fcf0b82 100644
--- a/test/integration/blocks.test.js
+++ b/test/integration/blocks.test.js
@@ -114,6 +114,7 @@ describe('Working with the blocks', () => {
         await clickText('+', scope.monitors);
         el = await findByXpath(`//body//${scope.monitors}//input`);
         await el.sendKeys('thing2');
+        await el.click(); // Regression for "clicking active input erases value" bug.
         await clickText('list1', scope.monitors); // Blur the input to submit
 
         // Check that the list value has been propagated.
-- 
GitLab