diff --git a/src/lib/hash-parser-hoc.jsx b/src/lib/hash-parser-hoc.jsx index f3ac92542808f2e6e7ee1f9acbdf3978c3b4e7c8..b5dedeeac0eac27964ab955b29883e6e7e8f2755 100644 --- a/src/lib/hash-parser-hoc.jsx +++ b/src/lib/hash-parser-hoc.jsx @@ -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} /> diff --git a/test/integration/project-loading.test.js b/test/integration/project-loading.test.js index f851188c45d705915b946b2a16e6eed5cf0f97af..09023632e8a1ac61b8c1598d7c3824c1e9a7ebed 100644 --- a/test/integration/project-loading.test.js +++ b/test/integration/project-loading.test.js @@ -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"]');