From ef17ba298162b63a18984b8b936e8edd9936cd50 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Fri, 24 Sep 2021 00:19:14 +0530 Subject: [PATCH] comment added --- apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts b/apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts index 59f8b8d050..da986f4898 100644 --- a/apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts +++ b/apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts @@ -104,6 +104,8 @@ module.exports = { .click('*[data-id="tests/compilationError_test.sol"]') .pause(1000) .getEditorValue((content) => browser.assert.ok(content.indexOf('contract failOnCompilation {') !== -1)) + // Verify that compilation error is still present after a file is opened + // usually, tests result is cleared on opening a new file .verify.elementPresent('*[data-id="tests/compilationError_test.sol"]') },