Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Using within() to limit DOM search for link click()
->within('th a', function() { $this->click('Register'); })
->seeRouteIs('history.index', ['sort' => '5', 'sorttype' => 'asc']);
Copy link

vinayakkulkarni commented Dec 27, 2016

Test for Example: http://localhost/history?sort=5&sorttype=asc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment