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

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

    func enterTextInTitle(text: String) -> Void {
        app.textViews[titleTextField].typeText(text)
    }

    @discardableResult
    func deleteText(chars: Int) -> EditorPage {
        for _ in 1...chars {
            app.keys["delete"].tap()
