diff --git a/apps/remix-ide/test-browser/commands/checkElementStyle.js b/apps/remix-ide/test-browser/commands/checkElementStyle.js index 0e400439b8..4fb00f0495 100644 --- a/apps/remix-ide/test-browser/commands/checkElementStyle.js +++ b/apps/remix-ide/test-browser/commands/checkElementStyle.js @@ -18,7 +18,7 @@ function checkStyle (browser, cssSelector, styleProperty, expectedResult, callba }, [cssSelector, styleProperty], function (result) { const value = result.value - browser.assert.equal(value.trim(), expectedResult) + browser.assert.equal(value.trim().toLowerCase(), expectedResult.toLowerCase()) callback() }) }