test(gui): enable syncing tests#889
Draft
prashant-gurung899 wants to merge 2 commits intotest/port-to-appiumfrom
Draft
test(gui): enable syncing tests#889prashant-gurung899 wants to merge 2 commits intotest/port-to-appiumfrom
prashant-gurung899 wants to merge 2 commits intotest/port-to-appiumfrom
Conversation
00c6560 to
60cbb3e
Compare
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
60cbb3e to
aaf2be5
Compare
Contributor
|
My findings: IssueWhen testing the selective sync folder selection in the OpenCloud Desktop client, Appium could not toggle the checkboxes in the Qt tree widget. The test would fail with: Root CauseThe Qt Investigation showed:
What We Tried
SolutionUse xdotool - a command-line X11 automation tool that interacts directly with the X window system, bypassing AT-SPI limitations. # After Appium click fails, use xdotool:
subprocess.run(['xdotool', 'mousemove', str(x), str(y)], check=True)
subprocess.run(['xdotool', 'click', '1'], check=True)Where ImplementationThe fix was added to
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.