1
0
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:
Cameron
2018-02-16 13:34:08 -08:00
parent c62186cc7d
commit 1d5a70ab4b
3 changed files with 14 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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');
}
}