Skip to content

Commit

Permalink
added few comment for coordinates
Browse files Browse the repository at this point in the history
  • Loading branch information
swoichha committed Aug 4, 2021
1 parent 606ead2 commit 65745bb
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions test/gui/shared/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,9 @@ def step(context, resource, content):


def enableVFSSupport(vfsBtnText):
# The enabling/disabling VFS button do not have it's own object
# But it is inside the "stack_folderList_QTreeView" object.
# So we are clicking at (718, 27) of "stack_folderList_QTreeView" object to enable/disable VFS
mouseClick(
waitForObjectItem(names.stack_folderList_QTreeView, "_1"),
718,
Expand All @@ -767,10 +770,13 @@ def step(context):

@Then('the "|any|" button should be available')
def step(context, btnText):
# The enabling/disabling VFS button do not have it's own object
# But it is inside the "stack_folderList_QTreeView" object.
# So we are clicking at (718, 27) of "stack_folderList_QTreeView" object to enable/disable VFS
mouseClick(
waitForObjectItem(names.stack_folderList_QTreeView, "_1"),
718,
35,
27,
Qt.NoModifier,
Qt.LeftButton,
)
Expand All @@ -784,10 +790,13 @@ def step(context):

@When("the user disables virtual file support")
def step(context):
# The enabling/disabling VFS button do not have it's own object
# But it is inside the "stack_folderList_QTreeView" object.
# So we are clicking at (718, 27) of "stack_folderList_QTreeView" object to enable/disable VFS
mouseClick(
waitForObjectItem(names.stack_folderList_QTreeView, "_1"),
733,
34,
27,
Qt.NoModifier,
Qt.LeftButton,
)
Expand Down

0 comments on commit 65745bb

Please sign in to comment.