Closed MrNeo28 closed 2 years ago
The pytest.mark.skipif
is supposed to be applied to test functions. Here you are applying to the implementation of a step.
What behaviour would you expect? To skip all the tests that use this step, or that the step is not executed, but the rest of the steps are?
I suggest you to instead write your own skip logic inside the step implementation.
@pytest.mark.skipif is not working, I've read and tried this but it doesn't works for me.
Features code
Code: