Merge pull request #5106 from ethereum/fixrundeploy

Fix run deploy test
pull/5084/head^2
bunsenstraat 3 months ago committed by GitHub
commit f913319a88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 5
      apps/remix-ide-e2e/src/tests/runAndDeploy.test.ts

@ -163,16 +163,17 @@ module.exports = {
.click('.remixui_compilerConfigSection')
.setValue('#evmVersionSelector', 'london')
.click('*[data-id="compilerContainerCompileBtn"]')
.pause(5000)
.clickLaunchIcon('udapp')
.switchEnvironment('vm-london')
.clickLaunchIcon('filePanel')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts"]')
.click('*[data-id="treeViewLitreeViewItemscripts"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts/deploy_with_web3.ts"]')
.openFile('scripts/deploy_with_web3.ts')
.click('[data-id="play-editor"]')
.waitForElementPresent('[data-id="treeViewDivDraggableItem.states/vm-london/state.json"]')
.click('[data-id="treeViewDivDraggableItem.states/vm-london/state.json"]')
.pause(100000)
.pause(1000)
.getEditorValue((content) => {
browser
.assert.ok(content.includes('"latestBlockNumber": "0x1"'), 'State is saved')

Loading…
Cancel
Save