From 1d5a70ab4bdcad65960e23fb6a461247a87a3d7f Mon Sep 17 00:00:00 2001 From: Cameron Date: Fri, 16 Feb 2018 13:34:08 -0800 Subject: [PATCH] Install Step1-to-Step2 test. --- config.sample.yml | 2 ++ tests/_bootstrap.php | 2 +- tests/acceptance/InstallCest.php | 13 +++++++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/config.sample.yml b/config.sample.yml index 09a4c536f..1d7f89e26 100644 --- a/config.sample.yml +++ b/config.sample.yml @@ -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 diff --git a/tests/_bootstrap.php b/tests/_bootstrap.php index b446f48da..6d3edc0bc 100644 --- a/tests/_bootstrap.php +++ b/tests/_bootstrap.php @@ -1,3 +1,3 @@ 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'); } }