diff --git a/RoboFile.php b/RoboFile.php index 7ce02a5a8f..08d4e0f54d 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -381,6 +381,15 @@ public function runTests($opts = ['use-htaccess' => false, 'env' => 'desktop']) ->run() ->stopOnFail(); + $this->taskCodecept($pathToCodeception) + ->arg('--steps') + ->arg('--debug') + ->arg('--fail-fast') + ->arg('--env ' . $opts['env']) + ->arg($this->testsPath . 'acceptance/extensions.feature') + ->run() + ->stopOnFail(); + $this->taskCodecept($pathToCodeception) ->arg('--steps') ->arg('--debug') diff --git a/tests/codeception/acceptance/administrator/UserCest.php b/tests/codeception/acceptance/administrator/UserCest.php deleted file mode 100644 index ccc365bfbf..0000000000 --- a/tests/codeception/acceptance/administrator/UserCest.php +++ /dev/null @@ -1,66 +0,0 @@ -faker = Faker\Factory::create(); - $this->name = 'User' . $this->faker->randomNumber(); - $this->username = 'uname' . $this->faker->randomNumber(); - $this->email = 'test@joomla.org'; - $this->password = 'test'; - } - - /** - * Create User in the Backend - * - * @param AcceptanceTester $I The AcceptanceTester Object - * - * @since __DEPLOY_VERSION__ - * - * @return void - */ - public function administratorCreateUser(\AcceptanceTester $I) - { - $I->am('Administrator'); - $I->wantToTest('Creating a user'); - - $I->doAdministratorLogin(); - $I->amGoingTo('Navigate to Users page in /administrator/'); - $I->amOnPage('administrator/index.php?option=com_users&view=users'); - - $I->expectTo('see Users page'); - $I->checkForPhpNoticesOrWarnings(); - - $I->amGoingTo('try to save a user with a filled name, email, username and password'); - $I->clickToolbarButton('New'); - - $I->waitForText('Users: New', '30', ['css' => 'h1']); - $I->checkForPhpNoticesOrWarnings(); - - $I->fillField(['id' => 'jform_name'], $this->name); - $I->fillField(['id' => 'jform_username'], $this->username); - $I->fillField(['id' => 'jform_email'], $this->email); - $I->fillField(['id' => 'jform_password'], $this->password); - $I->fillField(['id' => 'jform_password2'], $this->password); - - $I->clickToolbarButton('Save & Close'); - - $I->waitForText('Users', '30', ['css' => 'h1']); - $I->expectTo('see a success message and the user added after saving the user'); - $I->see('User successfully saved', ['id' => 'system-message-container']); - } -} \ No newline at end of file diff --git a/tests/codeception/acceptance/frontend/UserLoginCest.php b/tests/codeception/acceptance/frontend/UserLoginCest.php deleted file mode 100644 index 64a39706c5..0000000000 --- a/tests/codeception/acceptance/frontend/UserLoginCest.php +++ /dev/null @@ -1,11 +0,0 @@ -