Комментарии:
I spent so much time on the docs, StackOverflow, chatgpt but didn't get any valid solution and you explained it in a really easy way. It resolved my issue.
Thank you so much!
Excellent! I wonder which Cypress version is it? I'm trying to introduce cy.session() in my tests using v10.11 and there are several challenges. Keep isolation:false, experimentalSessionAndOrigin:true, but I can't restore the session in the next spec file. Cypress create a new one. I would appreciate whatever opinion on this. Thanks!!!
ОтветитьI wonder, the url redirect after login, how to handle the visit? we couldn't use cy.visit('/')
ОтветитьThank you, this helped. I had over 600 tests, and now I'm saving a ton of time simply because of cy.session(). Thanks again!
Ответитьthanks for this!
ОтветитьExactly what i was looking for, it was hard to understand the docs about this. You explained it very well ❤❤
ОтветитьGreat explanation! Thank you very much!
Ответить❤
ОтветитьHow am I not seeing any Describe block in the code ?
ОтветитьCan u share me code
ОтветитьTks for the video! But how is session () possible when logging in via API? Because I don't use visit() on my tests.
ОтветитьGreat video and explanation! Thank you!
ОтветитьThanks!
ОтветитьThankyou for this great effort !!
ОтветитьI got this error "experimentalSessionSupport is not enabled. You must enable the experimentalSessionSupport flag in order to use Cypress session commands"
ОтветитьHey great but how is having the username and password readable as string in the codebase considered good practice ? Anyone that gains access to your git repo for any reason (pentest or stuff like that) will have those credentials. Any way to get around this issue ?
ОтветитьGreat job, it helped me a lot!
Thanks :)
Thank you so much for this video really helpful. I have a question currently i am using bdd page object model in cypress in typescript and i am passing username in feature file i want that all users which i am goanna use should login first and save the session before any tests run is this something possible ?
Ответитьhey i don't know why but this isn't working for me, in 'it' block i am adding cy.visit('/') it goes back to login page if i dont add it, it doesn't go anywhere.. help me resolve this
ОтветитьThis is high quality content, good job, it helped me a lot!
Ответить