コード例 #1
0
 /**
  * Press the SAVE AND UNPUBLISH button.
  */
 protected function pressSaveAndUnpublish()
 {
     $this->helperContext->getSession()->getPage()->pressButton($this->page->getButton(self::BUTTON_SAVE_AND_UNPUBLISH));
 }
コード例 #2
0
 /**
  * Verify the links displayed on the screen.
  * @param $links
  */
 protected function verifyLinks($links)
 {
     foreach ($links as $link) {
         Assertions::assertTrue($this->helper_context->getSession()->getPage()->hasLink($link), $link . ' link not found');
     }
 }