Skip to content

Move MouseClick to a separate interaction for simple instance editor#1212

Merged
kitchoi merged 4 commits intoui-tester-updates-InstanceEditorfrom
ui-tester-nested-ui-instance-editor
Sep 15, 2020
Merged

Move MouseClick to a separate interaction for simple instance editor#1212
kitchoi merged 4 commits intoui-tester-updates-InstanceEditorfrom
ui-tester-nested-ui-instance-editor

Conversation

@kitchoi
Copy link
Contributor

@kitchoi kitchoi commented Sep 14, 2020

Targeting #1208

This PR is intended to accompany my review comments... it does not need to be merged but if @aaronayres35 is happy with this to be merged to #1208, please feel free to review and I will address review comments accordingly.

instance = tester.find_by_name(ui, "inst")
instance.perform(command.MouseClick())

value_txt = tester.find_by_name(ui, "inst").find_by_name("value")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we do value_txt =instance.find_by_name("value") here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we can!

Copy link
Contributor

@aaronayres35 aaronayres35 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM! Just one small comment

@kitchoi kitchoi merged commit 831e39c into ui-tester-updates-InstanceEditor Sep 15, 2020
@kitchoi kitchoi deleted the ui-tester-nested-ui-instance-editor branch September 15, 2020 12:37
aaronayres35 added a commit that referenced this pull request Sep 15, 2020
* initial instance editor implementations (just find nested uis).  Note that I had to make a change to wx isntance editor itself to access ui - this idea was taken from Kits draft branch

* replacing one old test

* update test - we need ui_base to do a full replacement

* adding more tests

* flake8

* adding docstrings

* fix netsed typo

* Move MouseClick to a separate interaction for simple instance editor (#1212)

* Move MouseClick to a separate interaction for simple instance editor

* Reuse the wrapper already available

Co-authored-by: aaronayres35 <36972686+aaronayres35@users.noreply.github.com>

* making suggested change

* flake8

Co-authored-by: Kit Choi <kitchoi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants