[gnome-boxes] tests: Update "Rename via lable" for new UI structure
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] tests: Update "Rename via lable" for new UI structure
- Date: Thu, 18 Jun 2015 21:05:59 +0000 (UTC)
commit ce2aa02fb79c1eb8472a2abaff84b637d2c38fc3
Author: Vladimir Benes <benesv email cz>
Date: Thu Jun 18 15:10:40 2015 +0200
tests: Update "Rename via lable" for new UI structure
Fix "Rename via label" test for the new UI structure.
https://bugzilla.gnome.org/show_bug.cgi?id=751161
tests/steps/general.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/steps/general.py b/tests/steps/general.py
index bc0d68e..73c5b06 100644
--- a/tests/steps/general.py
+++ b/tests/steps/general.py
@@ -131,7 +131,8 @@ def rename_vm(context, machine, name, way):
context.app.child(machine, roleName='push button').click()
sleep(0.5)
if way == 'label':
- context.app.child('Name').parent.children[-2].child(roleName='push button').click()
+ context.app.child('General').child('Name').parent.child(roleName='text').click()
+ keyCombo('<Ctrl><a>')
typeText(name)
pressKey('Enter')
sleep(0.5)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]