~ubuntu-branches/ubuntu/vivid/qtcreator-plugin-ubuntu/vivid

« back to all changes in this revision

Viewing changes to tests/autopilot/qtcreator_plugin_ubuntu/tests/test_qtcreator_plugin_functionality.py

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Benjamin Zeller
  • Date: 2015-01-30 06:05:59 UTC
  • mfrom: (1.1.81)
  • Revision ID: package-import@ubuntu.com-20150130060559-1kirdtmm6bl6eb26
Tags: 3.1.1+15.04.20150130-0ubuntu1
[ Benjamin Zeller ]
Refactoring of the publish Tab

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
        """ Change to the Devices mode and click on the add new emulator button """
84
84
        kbd = Keyboard.create("X11")
85
85
        kbd.press_and_release('Ctrl+9')
86
 
        devices_quickview = self.ide.wait_select_single('QQuickView', source='file:///usr/share/qtcreator/ubuntu/devicespage/main.qml')
 
86
        devices_quickview = self.ide.wait_select_single('QQuickView', source='file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml')
87
87
        add_emulator_button = devices_quickview.select_single('Button', text='Add Emulator')
88
88
        add_emulator_button.visible.wait_for(True)
89
89
        """ The simple click_object() moves the pointer to the center of the button, but in some environment the responsive area of the button is smaller """
107
107
        """ Change to the Devices mode, select the TestX86Emulator and deploy it """
108
108
        kbd = Keyboard.create("X11")
109
109
        kbd.press_and_release('Ctrl+9')
110
 
        devices_quickview = self.ide.wait_select_single('QQuickView', source='file:///usr/share/qtcreator/ubuntu/devicespage/main.qml')
 
110
        devices_quickview = self.ide.wait_select_single('QQuickView', source='file:///usr/share/qtcreator/ubuntu/qml/devicespage.qml')
111
111
        devices_ubuntulistview = devices_quickview.wait_select_single('UbuntuListView', objectName = 'devicesList')
112
112
        while True:
113
113
            if(devices_ubuntulistview.visible): break;