/**
  * @When 點選「還書」按鈕
  */
 public function clickReturnButton()
 {
     $button = $this->currentBookNode->findButton('還書');
     $button->click();
 }
Beispiel #2
0
 /**
  * @Given /^(collection "[^"]*") should have "([^"]*)" button$/
  */
 public function collectionShouldHaveButton(NodeElement $collection, $buttonName)
 {
     expect($collection->findButton($buttonName))->toNotBeNull();
 }