You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see three useful ways to run tests: by passing the fixtures directory / not passing anything, by passing the fixtures/<page object> directory and by passing the fixtures/<page object>/<test case> directory. Out of these, the last use case doesn't work, instead running all test cases in fixtures/<page object>, because collect_file_hook() always returns a WebPoetFile corresponding to fixtures/<page object>. On the other hand, if WebPoetFile is like a Python file with multiple test functions and one test case is like a single test function, then the correct usage would be fixtures/<page object>::<test case>? It currenty returns "directory argument cannot contain ::".
The text was updated successfully, but these errors were encountered:
I see three useful ways to run tests: by passing the
fixtures
directory / not passing anything, by passing thefixtures/<page object>
directory and by passing thefixtures/<page object>/<test case>
directory. Out of these, the last use case doesn't work, instead running all test cases infixtures/<page object>
, becausecollect_file_hook()
always returns aWebPoetFile
corresponding tofixtures/<page object>
. On the other hand, ifWebPoetFile
is like a Python file with multiple test functions and one test case is like a single test function, then the correct usage would befixtures/<page object>::<test case>
? It currenty returns "directory argument cannot contain ::".The text was updated successfully, but these errors were encountered: