Codeception / Codeception/lib-innerbrowser

[InnerBrowser] Make seeCurrentUrlEquals match a complete URL

Open
#28 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
87
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.