mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 01:12:17 +00:00
Acceptance Tests
This commit is contained in:
@@ -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');
|
||||
?>
|
||||
Reference in New Issue
Block a user