fix contract_flattener flaky test

pull/5370/head
Joseph Izang 1 year ago
parent 2a0408cdd6
commit 3fcd76c4aa
  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