From fcfff18426c6b5d61a0ef319bbd01b985efc589e Mon Sep 17 00:00:00 2001
From: Nikhil Jha <hi@nikhiljha.com>
Date: Fri, 1 Feb 2019 15:18:30 -0800
Subject: [PATCH] try building again

---
 test/integration/costumes.test.js | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/test/integration/costumes.test.js b/test/integration/costumes.test.js
index 3eca880f0..282ae3574 100644
--- a/test/integration/costumes.test.js
+++ b/test/integration/costumes.test.js
@@ -160,4 +160,19 @@ describe('Working with costumes', () => {
         const logs = await getLogs();
         await expect(logs).toEqual([]);
     });
+
+    test('Costumes animate on mouseover', async () => {
+        await loadUri(uri);
+        await clickXpath('//button[@aria-label="Choose a Sprite"]');
+        const searchElement = await findByXpath("//input[@placeholder='Search']");
+        await searchElement.sendKeys('abb');
+        const abbyElement = await findByXpath('//*[span[text()="Abby"]]');
+        driver.actions()
+            .mouseMove(abbyElement)
+            .perform();
+        // wait for one of Abby's alternate costumes to appear
+        await findByXpath('//img[@src="https://cdn.assets.scratch.mit.edu/internalapi/asset/b6e23922f23b49ddc6f62f675e77417c.svg/get/"]');
+        const logs = await getLogs();
+        await expect(logs).toEqual([]);
+    });
 });
-- 
GitLab