Skip to content

Commit 18fb733

Browse files
committed
fix execute script e2e
1 parent f80be91 commit 18fb733

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/remix-ide-e2e/src/tests/providers.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = {
8787
.waitForElementVisible({
8888
locateStrategy: 'xpath',
8989
selector: "//span[@class='text-danger' and contains(., 'exceed maximum block range')]"
90-
})
90+
}, 60000)
9191
.waitForElementPresent({ selector: `[data-id="selected-provider-ganache-provider"]`, timeout: 5000 })
9292
}
9393
}

apps/remix-ide/src/app/udapp/run-tab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ class Provider {
384384
resolve(response.result? response.result : response)
385385
}
386386
}).catch((err) => {
387-
reject(err)
387+
reject(err.error ? err.error : err)
388388
})
389389
})
390390
}

0 commit comments

Comments
 (0)