Need advice on how to refactor my driver instantiation to work with device farm #1121
Unanswered
alex-osuna
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am currently using the following architecture to instantiate drivers and pass them to the tests. This allows me to run tests in parallel with 6 devices. I am looking for a way to handle the tests when only 5 devices or less are available. I think device farm fits the bill, but I am looking for ideas on how to refactor the driver instantiation to make it work. I appreciate any advice
My conftest.py looks like this:
The NewDriver() class which is in a separate file has the appium driver implementation. I am using this implementation https://github.com/testdevlab/Py-TestUI
I pass those drivers to the tests:
Beta Was this translation helpful? Give feedback.
All reactions