for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of monofony.
*
* (c) Mobizel
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
declare(strict_types=1);
namespace App\Behat\Page\Backend\Article;
use App\Behat\Page\Backend\Crud\CreatePage as BaseCreatePage;
final class CreatePage extends BaseCreatePage
{
public function specifyTitle(?string $title): void
$this->getElement('title')->setValue($title);
}
/**
* {@inheritdoc}
protected function getDefinedElements(): array
return array_merge(parent::getDefinedElements(), [
'title' => '#app_article_title',
]);