diff --git a/apps/remix-ide-e2e/src/commands/addFile.ts b/apps/remix-ide-e2e/src/commands/addFile.ts index 4eeca25002..71baf1d117 100644 --- a/apps/remix-ide-e2e/src/commands/addFile.ts +++ b/apps/remix-ide-e2e/src/commands/addFile.ts @@ -22,7 +22,7 @@ function addFile (browser: NightwatchBrowser, name: string, content: NightwatchC // .scrollAndClick('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items') .sendKeys('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items', name) .sendKeys('*[data-id="treeViewLitreeViewItembrowser/blank"] .remixui_items', browser.Keys.ENTER) - .pause(2000) + .pause(5000) .waitForElementVisible(`li[data-id="treeViewLitreeViewItembrowser/${name}"]`) .click(`li[data-id="treeViewLitreeViewItembrowser/${name}"]`) .setEditorValue(content.content) diff --git a/apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts b/apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts index e215e6c24d..e32e0ac7eb 100644 --- a/apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts +++ b/apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts @@ -8,6 +8,7 @@ class JournalLastChildIncludes extends EventEmitter { command (this: NightwatchBrowser, val: string): NightwatchBrowser { this.api .waitForElementVisible('*[data-id="terminalJournal"] > div:last-child', 10000) + .pause(5000) .getText('*[data-id="terminalJournal"] > div:last-child', (result) => { console.log('JournalLastChildIncludes', result.value) if (typeof result.value === 'string' && result.value.indexOf(val) === -1) return this.api.assert.fail(`wait for ${val} in ${result.value}`) diff --git a/apps/remix-ide-e2e/src/commands/testContracts.ts b/apps/remix-ide-e2e/src/commands/testContracts.ts index 7b7192348e..a11e499d7c 100644 --- a/apps/remix-ide-e2e/src/commands/testContracts.ts +++ b/apps/remix-ide-e2e/src/commands/testContracts.ts @@ -18,6 +18,7 @@ function testContracts (browser: NightwatchBrowser, fileName: string, contractCo .clickLaunchIcon('solidity') .addFile(fileName, contractCode) .pause(1000) + .pause(50000) .verifyContracts(compiledContractNames) .perform(() => { callback()