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

Add strict CSS locator example for see() #3755

Merged
merged 3 commits into from Nov 20, 2016

Conversation

Projects
None yet
3 participants
@weshooper
Copy link
Contributor

weshooper commented Nov 17, 2016

It works, just isn't documented.

Add strict CSS locator example for see()
It works, just isn't documented.
@@ -59,6 +59,7 @@ public function see($text, $selector = null);
* $I->dontSee('Login'); // I can suppose user is already logged in
* $I->dontSee('Sign Up','h1'); // I can suppose it's not a signup page
* $I->dontSee('Sign Up','//body/h1'); // with XPath
* I->see('Sign Up', ['css' => 'body h1']); // with strict CSS locator

This comment has been minimized.

@DavertMik

This comment has been minimized.

@weshooper

weshooper Nov 18, 2016

Contributor

@DavertMik oops, fixed that - thanks!

weshooper and others added some commits Nov 18, 2016

@Naktibalda Naktibalda merged commit 4c06915 into Codeception:2.2 Nov 20, 2016

3 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
semaphoreci The build passed on Semaphore.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment