public function NodeElementTest::testSubmitForm in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/tests/Element/NodeElementTest.php \Behat\Mink\Tests\Element\NodeElementTest::testSubmitForm()
File
- vendor/
behat/ mink/ tests/ Element/ NodeElementTest.php, line 541
Class
Namespace
Behat\Mink\Tests\ElementCode
public function testSubmitForm() {
$node = new NodeElement('some_xpath', $this->session);
$this->driver
->expects($this
->once())
->method('submitForm')
->with('some_xpath');
$node
->submit();
}