Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhpBrowser tests have inconsistent case sensitivity #3007

Closed
jasny opened this issue Apr 19, 2016 · 1 comment
Closed

PhpBrowser tests have inconsistent case sensitivity #3007

jasny opened this issue Apr 19, 2016 · 1 comment

Comments

@jasny
Copy link
Contributor

jasny commented Apr 19, 2016

Some tests are case sensitive where others are case insensitive, this gives very unexpected result.

How to reproduce

$I->amOnPage('/');
$I->see('MoRe InFo');
$I->click('MoRe InFo');

$I->see() will pass, where $I->click() will fail (rather unexpectedly).

@DavertMik
Copy link
Member

I see is a very general assertion which checks for everything on a page. It is as wide as possible that's probably why it is case insensitive. However, click requires precise text to match a link.
Yeah probably you are right and this inconsistency should be solved by I don't see big problem with that for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants