29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-05-28 07:53:37 +00:00
cms/tests/Codeception/_support/Page/Acceptance/Administrator/MenuFormPage.php
Allon Moritz 967d6552fd
[4.2] Convert tests to PSR-12 (#38161)
* Convert tests to psr 12 where possible

* fix rules

* revert ignore
2022-06-28 09:43:33 +02:00

62 lines
1.2 KiB
PHP

<?php
/**
* @package Joomla.Tests
* @subpackage AcceptanceTester.Page
*
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Page\Acceptance\Administrator;
/**
* Acceptance Page object for menu form pages.
*
* @package Page\Acceptance\Administrator
*
* @since 4.0.0
*/
class MenuFormPage extends AdminFormPage
{
/**
* Url to menu create page.
*
* @var string
* @since 4.0.0
*/
public static $url = "administrator/index.php?option=com_menus&view=menu&layout=edit";
/**
* Page title for adding a menu.
*
* @var string
* @since 4.0.0
*/
public static $pageTitleText = 'Menus: Add';
/**
* Title field.
*
* @var array
* @since 4.0.0
*/
public static $fieldTitle = ['id' => 'jform_title'];
/**
* Type field.
*
* @var array
* @since 4.0.0
*/
public static $fieldMenuType = ['id' => 'jform_menutype'];
/**
* Optional Description field.
*
* @var array
* @since 4.0.0
*/
public static $fieldMenuDescription = ['id' => 'jform_menudescription'];
}