Request new features or modifications


Post by rengine »

I'd like this feature mainly for maintaining cookies so I don't have to run a login script each time I want to run a specific test. With this feature, I can just run the login script once and then individually run my tests after.

Additional flags?

--maintain-session or --keep-cookies
--run-clean
QA guy

Post by nickolay »

If I'm correct cookies should be already kept between the test files. The only exception is that every 10 tests browser is restarted (to release the memory) and cookies are cleared in the new browser instance.

You should check for the presence of the authorization cookie and only run the login script if its not found. Also need to take into account the case where the cookie is invalid (login expired).

BTW - will be better to post these suggestions to regular Siesta forum (which is monitored better :))

Post Reply