Open Naktibalda opened 8 years ago
I wanted to test redirection to another site in a functional test and was surprised that there is no built-in way to do that in Codeception.
The only solution I found was http://stackoverflow.com/a/24786467/366348
It would be good to have this functionality built-in.
My proposal is to make seeCurrentUrlEquals match a complete URL if $uri begins with protocol and keep the current behaviour otherwise.
:+1:
I wanted to test redirection to another site in a functional test and was surprised that there is no built-in way to do that in Codeception.
The only solution I found was http://stackoverflow.com/a/24786467/366348
It would be good to have this functionality built-in.
My proposal is to make seeCurrentUrlEquals match a complete URL if $uri begins with protocol and keep the current behaviour otherwise.