mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 06:38:00 +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 to the app that you deployed manually; needed for acceptance tests
|
||||||
url: 'http://set-this-if-running-acceptance-tests-manually.local'
|
url: 'http://set-this-if-running-acceptance-tests-manually.local'
|
||||||
|
|
||||||
|
dir: '/e107'
|
||||||
|
|
||||||
# Only MySQL/MariaDB is supported
|
# Only MySQL/MariaDB is supported
|
||||||
db:
|
db:
|
||||||
# Hostname or IP address; use 'localhost' for a local server
|
# Hostname or IP address; use 'localhost' for a local server
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
define('APP_PATH', realpath(codecept_root_dir()."/e107"));
|
define('APP_PATH', realpath(codecept_root_dir()."/e107")); // TODO use 'dir' value from config.yml
|
||||||
|
@@ -18,4 +18,13 @@ class InstallCest
|
|||||||
$I->see("e107 Installation :: Step 1");
|
$I->see("e107 Installation :: Step 1");
|
||||||
$I->see("Language Selection");
|
$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