public function createCategory($title, $extension = '')
	{
		$this->debug('Category creation in /administrator/');
		$this->doAdministratorLogin();

		if (!empty($extension))
		{
			$extension = '&extension=' . $extension;
		}

		$this->amOnPage('administrator/index.php?option=com_categories' . $extension);

		$this->waitForElement(array('class' => 'page-title'));
		$this->checkForPhpNoticesOrWarnings();

		$this->debug('Click new category button');
		$this->click($this->locator->adminToolbarButtonNew);

		$this->waitForElement(array('class' => 'page-title'));

		$this->checkForPhpNoticesOrWarnings();
		$this->fillField(array('id' => 'jform_title'), $title);

		$this->debug('Click new category apply button');
		$this->click($this->locator->adminToolbarButtonApply);

		$this->debug('see a success message after saving the category');

		$this->see('Category saved', '#system-message-container');
		$this->checkForPhpNoticesOrWarnings();
	}