-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automate tap action on an element in an iframe #17260
Conversation
jgraham@ when I tried to run this test, I got an error, |
So, there seems to be something wrong with this PR; it looks like you're adding files rather than updating them. The |
jgraham@ could you please take a look, thank you. |
jgraham@ is it possible to add platform condition in .ini file, I tired platform=='', it does not work? |
Navid, could you please take a look, thank you? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this code work if in the same sequence we have a target in iframe1 and another target in iframe2? It doesn't seem it does but maybe just add a comment in terms of what it can and cannot do. We can always improve it later as this is already an improvement to the current state.
@@ -6,4 +6,5 @@ | |||
[TestDriver actions: actions with key pressed] | |||
expected: | |||
if product == "firefox": FAIL | |||
if os == "mac": FAIL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be specific to chrome? If not any reason it fails for all browsers on mac?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fails on mac for chrome .
NavidZ@ Navid, please take a look, thank you. |
@gsnedders, @jgraham, @jugglinmike could you please take a look, thank you. |
Please let us know when this is ready for review |
@gsnedders, @jgraham, @jugglinmike now all the checks are passed, please take a look. |
@gsnedders, @jgraham, @jugglinmike could you please take a look, thank you. |
@LukeZielinski can you take over this review? |
@LukeZielinski please take a look, thank you. |
|
These errors don't seem related to the change, will rebase and retry, see if that helps |
dbc3399
to
e124447
Compare
Still seeing the python3.7 tox errors, which are clearly unrelated to this change. Py3.7 runs seem to have been introduced recently and has its own problems. There is an expectation problem in elementPosition test on MacOs, which should be addressed in #17670 |
A large number of tests in webdriver directory are currently failing, due to a change in the parameters of Find.css method by PR #17260, which broke any tests that still supply the old parameters. This commit changes the parameter order and uses default parameter value to make the parameter list compatible with the old one.
A large number of tests in webdriver directory are currently failing, due to a change in the parameters of Find.css method by PR web-platform-tests#17260, which broke any tests that still supply the old parameters. This commit changes the parameter order and uses default parameter value to make the parameter list compatible with the old one.
First find the iframe that contains the element, and switch to that iframe, and then find the coordinated of that element in the iframe.