Skip to content
Snippets Groups Projects
Commit 8dfdb342 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Add more interesting green flag test

parent 406230d1
No related branches found
No related tags found
No related merge requests found
/* 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([]));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment