tests: uitests: newvm: Fix import tests after oslist rework

This commit is contained in:
Cole Robinson 2018-05-01 15:09:31 -04:00
parent ad12a6273d
commit ec407e8a06
3 changed files with 17 additions and 5 deletions

View File

@ -28,6 +28,8 @@ class NewVM(uiutils.UITestCase):
newvm.find_fuzzy(None,
"text", "existing storage").text = "/dev/default-pool/testvol1.img"
newvm.find_fuzzy("Forward", "button").click()
newvm.find("oslist-entry").text = "generic"
newvm.find("oslist-popover").find_fuzzy("generic").click()
newvm.find_fuzzy("Forward", "button").click()
newvm.find_fuzzy("Forward", "button").click()
newvm.find_fuzzy("Finish", "button").click()

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.4 -->
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<object class="GtkAdjustment" id="adjustment2">
@ -25,6 +25,9 @@
<property name="resizable">False</property>
<property name="type_hint">dialog</property>
<signal name="delete-event" handler="on_vmm_newcreate_delete_event" swapped="no"/>
<child type="titlebar">
<placeholder/>
</child>
<child>
<object class="GtkBox" id="vbox1">
<property name="visible">True</property>
@ -2054,6 +2057,11 @@ connections is not yet supported.&lt;/small&gt;</property>
<property name="primary_icon_sensitive">False</property>
<signal name="search-changed" handler="on_install_os_name_search_changed" swapped="no"/>
<signal name="stop-search" handler="on_install_os_name_stop_search" swapped="no"/>
<child internal-child="accessible">
<object class="AtkObject" id="install-os-name-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">oslist-entry</property>
</object>
</child>
</object>
<packing>
<property name="expand">False</property>
@ -2862,8 +2870,5 @@ connections is not yet supported.&lt;/small&gt;</property>
</child>
</object>
</child>
<child type="titlebar">
<placeholder/>
</child>
</object>
</interface>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.4 -->
<!-- Generated with glade 3.22.1 -->
<interface>
<requires lib="gtk+" version="3.14"/>
<object class="GtkPopover" id="vmm-oslist">
@ -100,5 +100,10 @@ or use the "Generic" entry.</property>
</child>
</object>
</child>
<child internal-child="accessible">
<object class="AtkObject" id="vmm-oslist-atkobject">
<property name="AtkObject::accessible-name" translatable="yes">oslist-popover</property>
</object>
</child>
</object>
</interface>