Acceptance Tests

This commit is contained in:
Paminger
2016-04-10 18:11:09 +02:00
parent 5b3d3c401d
commit 3b39752ab7
659 changed files with 59893 additions and 54 deletions
@@ -0,0 +1,16 @@
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('test the Search-Feature of VileSci');
$I->wantTo('test the left nav-frame');
$I->amOnPage('/vilesci/left.php?categorie=Personen');
$I->seeElement('.left_nav');
$I->click('a');
$I->wantTo('test the searchPerson Page');
$I->amOnPage('/vilesci/personen/suche.php');
$I->seeElement('[name=search]');
$I->fillField('searchstr', 'Vicenta');
$I->click('[type=submit]');
$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');
?>