From fb74c0923703929734a2b77f2caeb253ebfc9724 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 30 Dec 2021 23:18:21 +0100 Subject: [PATCH] fix editor test --- apps/remix-ide-e2e/src/tests/editor.test.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/editor.test.ts b/apps/remix-ide-e2e/src/tests/editor.test.ts index 7b714a432b..6a42542b83 100644 --- a/apps/remix-ide-e2e/src/tests/editor.test.ts +++ b/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) {