~loic.molinari/ubuntu-ui-toolkit/ubuntu-ui-toolkit-batched-renderer-support-for-ubuntushape2

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntuuitoolkit/_custom_proxy_objects/_mainview.py

  • Committer: Tarmac
  • Author(s): Zsombor Egri
  • Date: 2014-07-31 13:03:32 UTC
  • mfrom: (1140.1.4 textinput-contextmenu)
  • Revision ID: tarmac-20140731130332-tfco8o0d24kqrc5w
Text input context menu facelift.

Approved by PS Jenkins bot, Christian Dywan.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        return self.wait_select_single(
173
173
            popups.ActionSelectionPopover, objectName=object_name)
174
174
 
 
175
    def get_text_input_context_menu(self, object_name):
 
176
        """Return a TextInputContextMenu emulator.
 
177
 
 
178
        :parameter object_name: The QML objectName property of the popover.
 
179
 
 
180
        """
 
181
        return self.wait_select_single(
 
182
            popups.TextInputPopover, objectName=object_name)
 
183
 
175
184
    @autopilot_logging.log_action(logger.info)
176
185
    def go_back(self):
177
186
        """Go to the previous page."""