pytest-selenium icon indicating copy to clipboard operation
pytest-selenium copied to clipboard

Session Scope Fixture CLI Option

Open garethmj opened this issue 4 years ago • 4 comments

Per the explanation on this issue: https://github.com/pytest-dev/pytest-selenium/issues/273

Driven by a need to perform a large number of regression tests on a legacy app by obtaining a cookie using Selenium and then essentially calling the app's API end-points to run actual tests I wanted to be able to have the Selenium fixture last the whole test session as it is by far the slowest part of any given test.

Hopefully folks are happy with this approach. Please let me know if there might a preferred method to solve this problem.

Thanks!

garethmj avatar Sep 25 '21 07:09 garethmj

I need to wrap my head around this. But first I need to fix CI.

BeyondEvil avatar Oct 17 '21 10:10 BeyondEvil

Could you please rebase? 🙏

BeyondEvil avatar Oct 18 '21 20:10 BeyondEvil

Hello. I will greatly appretiate this feature!

cherubrock avatar Oct 21 '21 13:10 cherubrock

Hi @BeyondEvil and @dosas.

Please accept my apologies for the delayed response to this - unfortunately I left the job where I had needed this in October so I had not really been paying attention.

I'll try to get back into this in the next week or two and have some answers to your questions and re-work as soon as I can.

Thanks for your patience and apologies again!

garethmj avatar Jan 05 '22 15:01 garethmj