You are here

public function TestSubContext::printRegionContents in Panopoly 8.2

Same name and namespace in other branches
  1. 7 modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc \TestSubContext::printRegionContents()

Print the HTML contents of a region for debugging purposes.

@Given print the contents of the :region region

File

modules/panopoly/panopoly_test/behat/steps/panopoly_test.behat.inc, line 670
Provide Behat step-definitions for generic Panopoly tests.

Class

TestSubContext
Behat sub-context for Panopoly.

Code

public function printRegionContents($region) {
  print $this
    ->getRegion($region)
    ->getOuterHtml();
}