diff --git a/test/integration/test.js b/test/integration/test.js index af67281ada627781a1f040ed0441c98af2f1b7bf..9f84776519575ebea01df339b8df31a8911b88f0 100644 --- a/test/integration/test.js +++ b/test/integration/test.js @@ -1,4 +1,6 @@ /* eslint-env jest */ +/* globals Promise */ + import path from 'path'; import { clickText, @@ -59,10 +61,11 @@ describe('costumes, sounds and variables', () => { }); test('Load a project by ID', () => { - // @todo choose a more interesting project? - const projectId = '168754184'; + const projectId = '96708228'; return driver.get('file://' + uri + '#' + projectId) + .then(() => new Promise(resolve => setTimeout(resolve, 2000))) .then(() => clickXpath('//img[@title="Go"]')) + .then(() => new Promise(resolve => setTimeout(resolve, 2000))) .then(() => clickXpath('//img[@title="Stop"]')) .then(() => getLogs(errorWhitelist)) .then(logs => expect(logs).toEqual([]));