Codeception / Codeception/lib-innerbrowser

[InnerBrowser] Make seeCurrentUrlEquals match a complete URL

Aperta
#28 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
87
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.