for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of AppName.
*
* (c) Monofony
* 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;
class CreatePage extends BaseCreatePage
{
/**
* {@inheritdoc}
public function specifyTitle(?string $title)
$this->getElement('title')->setValue($title);
}
protected function getDefinedElements()
return array_merge(parent::getDefinedElements(), [
'title' => '#app_article_title',
]);