Skip to content

Commit fe958dd

Browse files
authored
Merge pull request #6108 from ethereum/fix-flaky-ens
Fix Flaky E2E
2 parents 58d3075 + 7400812 commit fe958dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-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
@@ -71,7 +71,7 @@ module.exports = {
7171
.clearValue('*[data-id="ganache-providerModalDialogModalBody-react"] input')
7272
.setValue('*[data-id="ganache-providerModalDialogModalBody-react"] input', 'https://scroll-rpc.publicnode.com')
7373
.modalFooterOKClick('ganache-provider')
74-
.pause(100)
74+
.pause(1000)
7575
.waitForElementPresent({ selector: `[data-id="selected-provider-ganache-provider"]`, timeout: 5000 })
7676
.pause(1000)
7777
},

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function runTemplateChecks(
185185
} else {
186186
browser
187187
.useXpath()
188-
.waitForElementVisible(`//div[contains(@data-id, "dropdown-content") and contains(., "${displayName}")]`, 5000)
188+
.waitForElementVisible(`//div[contains(@data-id, "dropdown-content") and contains(., "${displayName}")]`, 10000)
189189
.useCss()
190190

191191
checkSelectors.forEach(selector => {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ module.exports = {
261261
}) // wait for the udapp to load the list of accounts
262262
.click('*[data-id="0xdD870fA1b7C4700F2BD7f44238821C26f7392148"]')
263263
.selectContract('MyResolver')
264+
.pause(5000)
264265
.createContract('')
265266
.clickInstance(0)
266267
.getAddressAtPosition(0, (address) => {

0 commit comments

Comments
 (0)