<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-latest-galleries for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-latest-galleries');
$I->amOnPage('/index.php/rsg2-latest-galleries');
$I->makeScreenshot('base-rsg2-latest-galleries');
// Where i want to be
$I->see('RSG2 latest galleries');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-thumb-scroller for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-thumb-scroller');
$I->amOnPage('/index.php/rsg2-thumb-scroller');
$I->makeScreenshot('base-rsg2-thumb-scroller');
// Where i want to be
$I->see('RSG2 thumb scroller');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-latest-images for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-image-wall');
$I->amOnPage('/index.php/rsg2-image-wall');
$I->makeScreenshot('base-rsg2-image-wall');
// Where i want to be
$I->see('RSG2 image wall');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check component for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/gallery-view-plugin');
$I->amOnPage('/index.php');
$I->makeScreenshot('base-component-galleries');
// Where i want to be
//$I->see('Test RSG2 Gallery display plugin'');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-random-images for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-random-images');
$I->amOnPage('/index.php/rsg2-random-images');
$I->makeScreenshot('base-rsg2-random-images');
// Where i want to be
$I->see('RSG2 random images');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check rsg2-latest-images for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/rsg2-latest-images');
$I->amOnPage('/index.php/rsg2-latest-images');
$I->makeScreenshot('base-rsg2-latest-images');
// Where i want to be
$I->see('RSG2 latest images');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check plugin display image for picture ');
// Direct call
//$I->amOnPage('http://127.0.0.1/Joomla3x/index.php/single-image-plugin');
$I->amOnPage('/index.php/single-image-plugin');
$I->makeScreenshot('base-single-image-plugin');
// Where i want to be
$I->see('RSG2 ????');
$I = new WebGuy($scenario);
$I->wantTo('base check modules and plugins for images');
//--- Component control panel ------------------------------
// Direct mdules URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_modules');
$I->amOnPage('/administrator/index.php?option=com_modules');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
//----------------------------------------------------------
// Modules
//----------------------------------------------------------
// Where i want to be
$I->makeScreenshot('Modules.SelectionPage');
$I->see('Modules');
//--- Image wall ----------------------------------------------
$I->click('RSGallery2 Image Wall module');
$I->makeScreenshot('Modules.ImageWall.Module');
// I see ...
$I->click('Menu Assignment');
$I->makeScreenshot('Modules.ImageWall.ModuleAssignment');
$I->click('Module Permissions');
$I->makeScreenshot('Modules.ImageWall.ModulePermissions');
$I->click('Advanced');
$I->makeScreenshot('Modules.ImageWall.Advanced');
$I->click('Close');
$I->amOnPage('/administrator/index.php?option=com_modules');
//--- Latest Images  ----------------------------------------------
$I->click('RSGallery2 Latest Images module ');
<?php

$I = new WebGuy($scenario);
$I->wantTo('base check component for picture ');
//--- Component control panel ------------------------------
// Direct install URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2');
$I->amOnPage('/administrator/index.php?option=com_rsg2');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
// Where i want to be
$I->see('Control panel');
$I->makeScreenshot('FithRsg2Component.control-panel');
//----------------------------------------------------------
// Main sections
//----------------------------------------------------------
//--- Galleries --------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsg2&view=galleries');
$I->see('Manage Galleries');
$I->makeScreenshot('FithRsg2Component.Galleries');
//--- Batch upload -----------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=uploadBatch');
$I->amOnPage('/administrator/index.php?&view=uploadBatch');
$I->see('Batch upload');
$I->makeScreenshot('FithRsg2Component.Batch-upload');
//--- Upload -----------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsg2&view=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsg2');
<?php

$I = new WebGuy($scenario);
$I->wantTo('back view main component for picture ');
//--- Component control panel ------------------------------
// Direct install URL call
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2');
// Login first
$I->fillField("#mod-login-username", 'TestAdmin');
$I->fillField("#mod-login-password", 'PassAdmin');
$I->click('Log in');
// Where i want to be
$I->makeScreenshot('Component.Control-panel');
$I->see('RSG2 Control panel');
//----------------------------------------------------------
// Main sections
//----------------------------------------------------------
//--- Galleries --------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=galleries');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=galleries');
$I->makeScreenshot('Component.Galleries');
$I->see('Manage Galleries');
//--- Batch upload -----------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=batchupload');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=batchupload');
$I->makeScreenshot('Component.Batch-upload');
$I->see('Batch upload');
//--- Upload -----------------------------------------------
//$I->amOnPage('http://127.0.0.1/Joomla3x/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=upload');
$I->amOnPage('/administrator/index.php?option=com_rsgallery2&rsgOption=images&task=upload');