'Runs search with `text(str)` query.'

def search(self, text):

    self.q(css='#search-notes-form    #search-notes-input').first.fill(text)
    self.q(css='#search-notes-form    .search-notes-submit').first.click()
    self.current_view = self.MAPPING['search'](self.browser)
    if text.strip():
        self.current_view.wait_for_page()
