check editor value

pull/3493/head
bunsenstraat 2 years ago committed by bunsenstraat
parent 0060910a81
commit f96fdd26d2
  1. 5
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -55,6 +55,11 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo
timeout: 60000 timeout: 60000
}) })
.setEditorValue(content.content) .setEditorValue(content.content)
.getEditorValue((result) => {
if(result != content.content) {
browser.setEditorValue(content.content)
}
})
.perform(function () { .perform(function () {
done() done()
}) })

Loading…
Cancel
Save