From 15642ba6612d4082e1e13571b92f060ba28b37c2 Mon Sep 17 00:00:00 2001 From: Paul Kaplan <pkaplan@media.mit.edu> Date: Wed, 6 Feb 2019 14:21:20 -0500 Subject: [PATCH] There is no loading screen for blocks example, dont wait for it --- test/integration/examples.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/examples.test.js b/test/integration/examples.test.js index 189cb16d5..aa867b041 100644 --- a/test/integration/examples.test.js +++ b/test/integration/examples.test.js @@ -62,7 +62,7 @@ describe('blocks example', () => { test('Load a project by ID', async () => { const projectId = '96708228'; await loadUri(`${uri}#${projectId}`); - await waitUntilGone(findByText('Loading')); + await new Promise(resolve => setTimeout(resolve, 2000)); await clickXpath('//img[@title="Go"]'); await new Promise(resolve => setTimeout(resolve, 2000)); await clickXpath('//img[@title="Stop"]'); -- GitLab