     editor.sendKeys(protractor.Key.RETURN)
     expectedDelta = { ops: [{ retain: 31 }, { insert: '\n' }] }
     expect(deltaOutput.getText()).toEqual(JSON.stringify(expectedDelta))
-    expect(editor.getInnerHtml().then(cleanLines)).toEqual([
+    expect(editor.getInnerHtml()).toEqual([
       '<div>The Whale</div>'
       '<div><br></div>'
       "<div>#{text}</div>"

    editor.sendKeys(protractor.Key.chord(protractor.Key.META, 'b'))
    updateEditor()
    lines = element.all(By.css('.ql-editor div'))
    expect(lines.get(1).getOuterHtml().then(cleanLines)).toEqual(
      '<div><b>Chapter 1. Loomings.</b></div>'
    )
    expectedDelta = {

describe('Editing text', ->
  browser.get('/test/fixtures/e2e.html')
  startRange = element(By.id('start-range'))
