Closed ryan-roemer closed 9 years ago
@Maciek416 -- Just as a head's up, my guess is you'll want this bug resolved for eventual use in Sauce Labs land. It's not an issue currently if only one client (corresponding to a SL) session is spawned during a test, but is otherwise currently...
Is this is to update sauce itself on success/failure?
Yes. Currently, if you set the adapter to spawn a new client on each test (beforeEach
instead of before
-- the "upload to sauce" status is lost).
There is a separate issue with doing per test client in that you're incurring a new SL session every test... But we could update status as an aggregating "they all pass at this point for all the clients I've seen so far" type thing...
Need additional status setting in the following situations:
perTest: true
. Need status after each test.adapter.refreshClient()
. Need status after each call (this may be weird to set).UPDATE: On thinking through this more, the most correct plan of action is probably: