fix contract_flattener flaky test

pull/3642/head
Joseph Izang 1 year ago
parent 849f320789
commit dae263091b
  1. 3
      apps/remix-ide-e2e/src/tests/contract_flattener.test.ts

@ -9,8 +9,9 @@ module.exports = {
'@sources': () => sources,
'Should flatten contract after creation': function (browser: NightwatchBrowser) {
browser.addFile('TestContract.sol', sources[0]['TestContract.sol'])
.pause(10000)
.waitForElementVisible('*[data-id="treeViewLitreeViewItemTestContract.sol"]')
.pause(7000)
.pause(3000)
.click('*[data-id="treeViewLitreeViewItemTestContract.sol"]')
.rightClick('*[data-id="treeViewLitreeViewItemTestContract.sol"]')
.click('*[id="menuitemflattenacontract"]')

Loading…
Cancel
Save