Support appium#220
Conversation
|
Would you mind helping me with some pytest related warnings and how to deal with them? See this Travis build Two types of warnings:
In the tests Things I've tried:
None of these strategies worked. Please advise. :) |
|
Hi @BeyondEvil, The "unknown marks warning" are because the marks are not being registered. Now how to fix this depends on each mark:
Here are two examples: https://docs.pytest.org/en/latest/mark.html#registering-marks About the collection warning, it is happening because pytest is collecting You can fix this by either renaming the class to something else that doesn't match Let me know if you still encounter any problems. 👍 |
|
Sorry, I should've been more clear. They're used by pytest-seleniums own tests. The "public" ones are registered properly. As for fixing that. Like you saw in the link we're generating a Thanks 🙏 |
Yes, a Alternatively, you can add a |
|
Adding [pytest]
testpaths = testing
markers =
edge
safari
chrome
skip_selenium
nondestructive
phantomjsto Also, the tox command that is run is: Which gives me 8 warnings for the same issue: Known issue? |
|
Strange, As a test, can you please change your |
Yeah, even pytest itself uses that exact key and value. 🤷♂
Tried it, no difference. 🤔 |
|
Strange, I can reproduce this in my machine, seems like a bug... could you file an issue please? Meanwhile you can ignore this specific warning by using |
|
Working on docs @davehunt |
davehunt
left a comment
There was a problem hiding this comment.
Looks good, if you can get the tests passing and include some documentation updates, that would be great! Thanks!
|
I think the test that failed was a fluke (the build timed out). But it will be re-run when I add the docs. ) |
No description provided.