Codeception / Codeception/lib-innerbrowser

[InnerBrowser] Make seeCurrentUrlEquals match a complete URL

Offen
#28 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
PHP
Sterne
87
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.