I see login is hard, but this can help https://git...
# e2e-testing
m
I see login is hard, but this can help https://github.com/lirantal/cypress-social-logins I haven't had to use it
b
Yeah I tried this ... But I have a concern
I was able to do the same login test automation with Selenium and logged in successfully
But when using Cypress, I am getting issues with cookies
Do you know the reason why that is happening ?
m
Cypress clears cookies between it blocks. Stateless, idempotent tests are first class citizens. There are ways to work around it There's gotta be a recipe somewhere https://github.com/cypress-io/cypress-example-recipes#logging-in-recipes
I'd start with a simple repo first, get what you need done, then you can reproduce internally in a much easier way
b
Okie cool, Thanks Murat
Do you have any ideas to this though ?
m
no, but we can look it together if you can reproduce in a simple repo
b
Okie cools, alright noted