mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
Move CodeceptionTests for PHPCI-Compatibility
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user