             expandButton.tap()
         }
     }
-    
+
+    @discardableResult
     func addList(type: String) -> EditorPage {
         toolbarButtonTap(locator: elementStringIDs.unorderedlistButton)
         var listType = ""

    /**
     Common method to type in different text fields
     */
    func enterText(text: String) -> EditorPage {
        textView.typeText(text)
        return self

    /**
     Tapping on toolbar button. And swipes if needed.
     */
    @discardableResult
    func toolbarButtonTap(locator: String) -> EditorPage {
        let elementsQuery = app.scrollViews.otherElements
        let button = elementsQuery.buttons[locator]
