Codeception / lib-innerbrowser

InnerBrowser
MIT License
79 stars 19 forks source link

[InnerBrowser] Make seeCurrentUrlEquals match a complete URL #28

Open Naktibalda opened 8 years ago

Naktibalda commented 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.

FelikZ commented 8 years ago

:+1: