mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 14:17:49 +02:00
Install Step1-to-Step2 test.
This commit is contained in:
@@ -22,6 +22,8 @@ manual:
|
||||
# URL to the app that you deployed manually; needed for acceptance tests
|
||||
url: 'http://set-this-if-running-acceptance-tests-manually.local'
|
||||
|
||||
dir: '/e107'
|
||||
|
||||
# Only MySQL/MariaDB is supported
|
||||
db:
|
||||
# Hostname or IP address; use 'localhost' for a local server
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<?php
|
||||
|
||||
define('APP_PATH', realpath(codecept_root_dir()."/e107"));
|
||||
define('APP_PATH', realpath(codecept_root_dir()."/e107")); // TODO use 'dir' value from config.yml
|
||||
|
@@ -15,7 +15,16 @@ class InstallCest
|
||||
public function installWelcomePageContainsExpectedContent(AcceptanceTester $I)
|
||||
{
|
||||
$I->amOnPage('/install.php');
|
||||
$I->see("e107 Installation :: Step 1");
|
||||
$I->see("Language Selection");
|
||||
$I->see("e107 Installation :: Step 1");
|
||||
$I->see("Language Selection");
|
||||
}
|
||||
|
||||
public function installStep1ToStep2(AcceptanceTester $I)
|
||||
{
|
||||
$I->amOnPage('/install.php');
|
||||
$I->wantTo("Verify Proceed to Step 1 of the Installation");
|
||||
$I->selectOption("language", 'English');
|
||||
$I->click('start');
|
||||
$I->see("MySQL Server Details", 'h3');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user