Skip to content
Snippets Groups Projects
Unverified Commit cab0bc77 authored by Linda's avatar Linda Committed by GitHub
Browse files

Merge pull request #3255 from LiFaytheGoblin/2981/no-welcome-modal

welcome modal doesn't appear when a project is loaded directly
parents 673745c2 4c75dcac
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@ const HashParserHOC = function (WrappedComponent) {
render () {
return (
<WrappedComponent
hideIntro={this.state.projectId && this.state.projectId !== 0}
projectId={this.state.projectId}
{...this.props}
/>
......
......@@ -71,7 +71,6 @@ describe('Loading scratch gui', () => {
const projectId = '96708228';
await loadUri(`${uri}#${projectId}`);
await clickXpath('//button[@title="Try It"]');
await new Promise(resolve => setTimeout(resolve, 3000));
await clickXpath('//img[@title="Go"]');
await new Promise(resolve => setTimeout(resolve, 2000));
......@@ -93,7 +92,6 @@ describe('Loading scratch gui', () => {
.setSize(1920, 1080);
const projectId = '96708228';
await loadUri(`${uri}#${projectId}`);
await clickXpath('//button[@title="Try It"]');
await new Promise(resolve => setTimeout(resolve, 2000));
await clickXpath('//img[@title="Full Screen Control"]');
await clickXpath('//img[@title="Go"]');
......
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