pauseTestObject
public
Pauses the current test - this is useful for debugging while testing or for test-driving. It allows you to inspect the state of your application at any point. Example (The test will pause before clicking the button): javascript
visit('/')
return pauseTest();
click('.btn');
Returns:
-
Object
- A promise that will never resolve
Please login to continue.