diff --git a/apps/remix-ide-e2e/src/helpers/init.ts b/apps/remix-ide-e2e/src/helpers/init.ts index ba6266be54..1064018f63 100644 --- a/apps/remix-ide-e2e/src/helpers/init.ts +++ b/apps/remix-ide-e2e/src/helpers/init.ts @@ -5,7 +5,7 @@ require('dotenv').config() export default function (browser: NightwatchBrowser, callback: VoidFunction, url?: string, preloadPlugins = true): void { browser .url(url || 'http://127.0.0.1:8080') - .pause(5000) + .pause(10000) .switchBrowserTab(0) .waitForElementVisible('[id="remixTourSkipbtn"]') .click('[id="remixTourSkipbtn"]') diff --git a/apps/remix-ide-e2e/src/tests/plugin_api.ts b/apps/remix-ide-e2e/src/tests/plugin_api.ts index 2ad4d82144..ba1cab26ee 100644 --- a/apps/remix-ide-e2e/src/tests/plugin_api.ts +++ b/apps/remix-ide-e2e/src/tests/plugin_api.ts @@ -112,6 +112,7 @@ const clickAndCheckLog = async (browser: NightwatchBrowser, buttonText: string, if (methodResult && typeof methodResult !== 'string') { methodResult = JSON.stringify(methodResult) } if (eventResult && typeof eventResult !== 'string') { eventResult = JSON.stringify(eventResult) } if (buttonText) { + console.log('this is buttonText in this test', buttonText) await clickButton(browser, buttonText) } await debugValues(browser, 'methods', methodResult) diff --git a/apps/remix-ide/src/app/components/side-panel.js b/apps/remix-ide/src/app/components/side-panel.js index b3c723caec..0cc09d84d4 100644 --- a/apps/remix-ide/src/app/components/side-panel.js +++ b/apps/remix-ide/src/app/components/side-panel.js @@ -103,7 +103,7 @@ export class SidePanel extends AbstractPanel { addView (profile, view) { super.addView(profile, view) - setTimeout(() => this.verticalIcons.linkContent(profile), 150) + this.verticalIcons.linkContent(profile) } /** diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx index dfe8c47764..c3c5c472ba 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/components/Chevron.tsx @@ -9,7 +9,7 @@ export interface ChevronProps { function Chevron (props: ChevronProps) { return ( <> - { props.divElementRef.current && props.divElementRef.current.scrollHeight > 600 + { props.divElementRef.current && props.divElementRef.current.scrollHeight > props.divElementRef.current.clientHeight ? : null } )