Move CodeceptionTests for PHPCI-Compatibility

This commit is contained in:
Paminger
2016-04-27 21:03:59 +02:00
parent 4bea2abf70
commit eb141cec67
23 changed files with 8 additions and 8 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,6 @@
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('CIS Startseite Testen');
//$I->amOnPage('/cis/index.html');
//$I->see('Powered by FH Complete');
?>
@@ -0,0 +1,11 @@
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('Test the Search-Feature of VileSci');
$I->amOnPage('/vilesci/personen/suche.php');
$I->lookForwardTo('Personensuche');
$I->seeElement('input[name="searchstr"]');
$I->seeElement('input[type=submit][value=Suchen]');
$I->fillField('searchstr', 'Vicenta');
$I->click('Suchen');
$I->see('McKenzie');
@@ -0,0 +1,26 @@
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('test the Startpage of VileSci');
$I->wantTo('test this over vilesci/index.php');
$I->amOnPage('/vilesci/index.php');
$I->See('This application works only with');
$I->seeElement('#frameset-vilesci');
$I->wantTo('and now over index.ci.php');
$I->amOnPage('/index.ci.php');
$I->See('This application works only with');
$I->seeElement('#frameset-vilesci');
$I->wantTo('test the top menu');
$I->amOnPage('/vilesci/top.php');
$I->seeElement('.logo');
$I->wantTo('test the left nav-frame');
$I->amOnPage('/vilesci/left.php');
$I->seeElement('.left_nav');
$I->wantTo('test the main-frame');
$I->amOnPage('/vilesci/main.php');
$I->seeElement('img');
?>
@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests