Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Session is forgotten in between steps #215

Open
cleb opened this issue Jul 30, 2017 · 5 comments
Open

Session is forgotten in between steps #215

cleb opened this issue Jul 30, 2017 · 5 comments

Comments

@cleb
Copy link

cleb commented Jul 30, 2017

Using behatch together with symfony 1.4 and knplabs/friendly-contexts. Whenever we execute a step that uses behatch, it logs out of the system (the session seems to be lost)

I think it is caused by the header reset in 4cc6cfc

@sanpii
Copy link
Member

sanpii commented Jul 31, 2017

Yes, now the headers are reset between scenarios. You need to login before each scenario, see background section.

@cleb
Copy link
Author

cleb commented Jul 31, 2017

Resetting between scenarios is the expected behavior. However, it resets between each and every step. I think this is because we are using it together with the friendly contexts - should I try to come up with a fix for this?

@sanpii
Copy link
Member

sanpii commented Jul 31, 2017

should I try to come up with a fix for this?

I can try to find the bug if you have a simple example to reproduce its.

@cleb
Copy link
Author

cleb commented Aug 3, 2017

I will try to come up with an example (I will have to write it from scratch so as not to compromise the IP of the company I work for so it might take me a while to do it)

@brice
Copy link

brice commented Feb 6, 2019

I think i encounter the same problem. Did you find a solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants