pause, embiggen and debug are sugar methods that allow for
debugging and interacting with the test container in an intermediate
step of a PageObject chain (POC).
For example, a certain acceptance test is breaking and you would like to
visually inspect the DOM within a POC. To do so:
test('it does stuff', function(assert) {
new SomePage(assert)
.login()
.embiggen()
.pause() // or debug() for a breakpoint
.doStuff();
});
pause
,embiggen
anddebug
are sugar methods that allow for debugging and interacting with the test container in an intermediate step of a PageObject chain (POC).For example, a certain acceptance test is breaking and you would like to visually inspect the DOM within a POC. To do so: