fix editor test

pull/1857/head
filip mertens 3 years ago
parent 53333ef8a0
commit fb74c09237
  1. 8
      apps/remix-ide-e2e/src/tests/editor.test.ts

@ -16,18 +16,18 @@ module.exports = {
.openFile('contracts')
.openFile('contracts/1_Storage.sol')
.waitForElementVisible('#editorView')
.checkElementStyle('.view-lines', 'font-size', '14px')
.click('*[data-id="tabProxyZoomIn"]')
.checkElementStyle('.view-lines', 'font-size', '13px')
.click('*[data-id="tabProxyZoomIn"]')
.checkElementStyle('.view-lines', 'font-size', '16px')
.checkElementStyle('.view-lines', 'font-size', '14px')
},
'Should zoom out editor #group1': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('#editorView')
.checkElementStyle('.view-lines', 'font-size', '16px')
.checkElementStyle('.view-lines', 'font-size', '14px')
.click('*[data-id="tabProxyZoomOut"]')
.click('*[data-id="tabProxyZoomOut"]')
.checkElementStyle('.view-lines', 'font-size', '14px')
.checkElementStyle('.view-lines', 'font-size', '12px')
},
'Should display compile error in editor #group1': function (browser: NightwatchBrowser) {

Loading…
Cancel
Save